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

#include <properties.hpp>

Public Member Functions

 Properties ()=default
 
 Properties (const pugi::xml_node &, Scope &)
 
template<typename T >
auto get (const String &name, const T &default_value) const -> auto
 
template<typename T >
auto get (const String &name) const -> auto
 

Public Attributes

std::unordered_map< String, Propertyproperties
 
std::list< Filefiles
 

Constructor & Destructor Documentation

◆ Properties() [1/2]

openscenario_interpreter::syntax::Properties::Properties ( )
default

◆ Properties() [2/2]

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

Member Function Documentation

◆ get() [1/2]

template<typename T >
auto openscenario_interpreter::syntax::Properties::get ( const String name) const -> auto
inline

◆ get() [2/2]

template<typename T >
auto openscenario_interpreter::syntax::Properties::get ( const String name,
const T &  default_value 
) const -> auto
inline

Member Data Documentation

◆ files

std::list<File> openscenario_interpreter::syntax::Properties::files

◆ properties

std::unordered_map<String, Property> openscenario_interpreter::syntax::Properties::properties

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