#include <entity.hpp>
◆ Entity() [1/5]
openscenario_interpreter::syntax::Entity::Entity |
( |
| ) |
|
|
default |
◆ Entity() [2/5]
openscenario_interpreter::syntax::Entity::Entity |
( |
const ScenarioObject & |
object | ) |
|
◆ Entity() [3/5]
openscenario_interpreter::syntax::Entity::Entity |
( |
const EntitySelection & |
selection | ) |
|
◆ Entity() [4/5]
openscenario_interpreter::syntax::Entity::Entity |
( |
const String & |
name, |
|
|
const Scope & |
scope |
|
) |
| |
◆ Entity() [5/5]
openscenario_interpreter::syntax::Entity::Entity |
( |
const pugi::xml_node & |
node, |
|
|
const Scope & |
scope |
|
) |
| |
◆ apply()
template<typename Function >
auto openscenario_interpreter::syntax::Entity::apply |
( |
const Function & |
function | ) |
const |
|
inline |
◆ name()
auto openscenario_interpreter::syntax::Entity::name |
( |
| ) |
const -> String |
◆ objects()
auto openscenario_interpreter::syntax::Entity::objects |
( |
| ) |
const -> std::set<Entity> |
◆ objectTypes()
◆ operator EntityRef()
openscenario_interpreter::syntax::Entity::operator EntityRef |
( |
| ) |
const |
This function is for ScenarioObject only.
- Exceptions
-
- Note
- To iterate over all objects, use
apply
function instead.
-
To get the name of the entity, use
name
function instead.
The documentation for this struct was generated from the following files:
- openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/entity.hpp
- openscenario/openscenario_interpreter/src/syntax/entity.cpp