scenario_simulator_v2 C++ API
Public Member Functions | List of all members
openscenario_interpreter::syntax::EntitySelection Struct Reference

#include <entity_selection.hpp>

Inheritance diagram for openscenario_interpreter::syntax::EntitySelection:
Inheritance graph
[legend]
Collaboration diagram for openscenario_interpreter::syntax::EntitySelection:
Collaboration graph
[legend]

Public Member Functions

 EntitySelection (const pugi::xml_node &, Scope &)
 
auto objects () const -> std::set< Entity >
 
auto objectTypes () const -> std::set< ObjectType::value_type >
 
- Public Member Functions inherited from openscenario_interpreter::Scope
 Scope ()=delete
 
 Scope (const Scope &)=default
 
 Scope (Scope &&)=default
 
 Scope (const OpenScenario *const)
 
 Scope (const std::string &, const Scope &)
 
auto dirname () const -> std::string
 
template<typename... Ts>
auto ref (Ts &&... xs) const -> decltype(auto)
 
template<typename T , typename... Ts>
auto ref (Ts &&... xs) const -> decltype(auto)
 
auto global () const -> const ScenarioDefinition &
 
auto global () -> ScenarioDefinition &
 
auto local () const noexcept -> const Scope &
 
auto local () noexcept -> Scope &
 
auto insert (const Name &, const Object &) -> void
 
- Public Member Functions inherited from openscenario_interpreter::syntax::SelectedEntities
 SelectedEntities (const pugi::xml_node &, Scope &)
 
- Public Member Functions inherited from openscenario_interpreter::Pointer< Expression >
decltype(auto) rebind (Ts &&... xs)
 
decltype(auto) binding () const
 
auto type () const -> const std::type_info &
 
auto is () const -> bool
 
auto is_also () const
 
auto as () const -> U &
 
decltype(auto) evaluate (Ts &&... xs) const
 
decltype(auto) accomplished (Ts &&... xs) const
 
decltype(auto) description (Ts &&... xs) const
 

Additional Inherited Members

- Static Public Member Functions inherited from openscenario_interpreter::Pointer< Expression >
static Pointer bind (Ts &&... xs)
 
- Public Attributes inherited from openscenario_interpreter::Scope
const std::string name
 
std::list< Entityactors
 
double seed
 
- Public Attributes inherited from openscenario_interpreter::syntax::SelectedEntities
const std::list< EntityentityRef
 
const std::list< ByTypebyType
 

Constructor & Destructor Documentation

◆ EntitySelection()

openscenario_interpreter::syntax::EntitySelection::EntitySelection ( const pugi::xml_node &  node,
Scope scope 
)
explicit

Member Function Documentation

◆ objects()

auto openscenario_interpreter::syntax::EntitySelection::objects ( ) const -> std::set<Entity>

◆ objectTypes()

auto openscenario_interpreter::syntax::EntitySelection::objectTypes ( ) const -> std::set<ObjectType::value_type>

The documentation for this struct was generated from the following files: