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

#include <open_scenario.hpp>

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

Public Member Functions

 OpenScenario (const boost::filesystem::path &)
 
auto evaluate () -> Object
 
auto load (const boost::filesystem::path &) -> const pugi::xml_node &
 
- 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 Attributes

const boost::filesystem::path pathname
 
pugi::xml_document script
 
const FileHeader file_header
 
const OpenScenarioCategory category
 
std::size_t frame = 0
 
- Public Attributes inherited from openscenario_interpreter::Scope
const std::string name
 
std::list< Entityactors
 
double seed
 

Constructor & Destructor Documentation

◆ OpenScenario()

openscenario_interpreter::syntax::OpenScenario::OpenScenario ( const boost::filesystem::path &  pathname)
explicit

Member Function Documentation

◆ evaluate()

auto openscenario_interpreter::syntax::OpenScenario::evaluate ( ) -> Object

◆ load()

auto openscenario_interpreter::syntax::OpenScenario::load ( const boost::filesystem::path &  filepath) -> const pugi::xml_node &

Member Data Documentation

◆ category

const OpenScenarioCategory openscenario_interpreter::syntax::OpenScenario::category

◆ file_header

const FileHeader openscenario_interpreter::syntax::OpenScenario::file_header

◆ frame

std::size_t openscenario_interpreter::syntax::OpenScenario::frame = 0

◆ pathname

const boost::filesystem::path openscenario_interpreter::syntax::OpenScenario::pathname

◆ script

pugi::xml_document openscenario_interpreter::syntax::OpenScenario::script

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