scenario_simulator_v2 C++ API
|
Classes | |
struct | Value |
struct | Grammar |
Typedefs | |
using | Cardinality = typename std::iterator_traits< typename pugi::xml_node::iterator >::difference_type |
Functions | |
template<typename Scope > | |
auto | substitute (std::string attribute, Scope &scope) |
template<typename T , typename Node , typename Scope > | |
auto | readAttribute (const std::string &name, const Node &node, const Scope &scope) -> T |
template<typename T , typename Node , typename Scope > | |
auto | readAttribute (const std::string &name, const Node &node, const Scope &scope, T &&value) |
template<typename T , typename Node , typename Scope > | |
auto | readAttribute (const std::string &name, const Node &node, const Scope &scope, std::nullopt_t) |
template<typename T , typename Node , typename Scope > | |
T | readContent (const Node &node, const Scope &) |
template<Cardinality MinOccurs, Cardinality MaxOccurs, typename F > | |
auto | traverse (const pugi::xml_node &parent, const std::string &name, F &&f) -> void |
template<typename T , typename Scope > | |
auto | readElement (const std::string &name, const pugi::xml_node &parent, Scope &scope) |
template<typename T , typename U , typename Scope > | |
auto | readElement (const std::string &name, const pugi::xml_node &parent, Scope &scope, U &&value) |
template<typename T , Cardinality MinOccurs, Cardinality MaxOccurs = unbounded, typename... Ts> | |
auto | readElements (const std::string &name, const pugi::xml_node &node, Ts &&... xs) |
template<typename GroupT , Cardinality MinOccurs, Cardinality MaxOccurs = unbounded, typename... Ts> | |
auto | readGroups (const pugi::xml_node &node, Ts &&... xs) |
template<typename... Ts> | |
auto | choice (const pugi::xml_node &node, Ts &&... xs) -> decltype(auto) |
std::string | evaluate (const std::string &, const Scope &) |
template<> | |
auto | Value::cast< Value::Numeric > () const -> Value |
Variables | |
constexpr auto | unbounded = std::numeric_limits<Cardinality>::max() |
using openscenario_interpreter::reader::Cardinality = typedef typename std::iterator_traits<typename pugi::xml_node::iterator>::difference_type |
auto openscenario_interpreter::reader::choice | ( | const pugi::xml_node & | node, |
Ts &&... | xs | ||
) | -> decltype(auto) |
std::string openscenario_interpreter::reader::evaluate | ( | const std::string & | expression, |
const Scope & | scope | ||
) |
auto openscenario_interpreter::reader::readAttribute | ( | const std::string & | name, |
const Node & | node, | ||
const Scope & | scope | ||
) | -> T |
auto openscenario_interpreter::reader::readAttribute | ( | const std::string & | name, |
const Node & | node, | ||
const Scope & | scope, | ||
std::nullopt_t | |||
) |
auto openscenario_interpreter::reader::readAttribute | ( | const std::string & | name, |
const Node & | node, | ||
const Scope & | scope, | ||
T && | value | ||
) |
T openscenario_interpreter::reader::readContent | ( | const Node & | node, |
const Scope & | |||
) |
auto openscenario_interpreter::reader::readElement | ( | const std::string & | name, |
const pugi::xml_node & | parent, | ||
Scope & | scope | ||
) |
auto openscenario_interpreter::reader::readElement | ( | const std::string & | name, |
const pugi::xml_node & | parent, | ||
Scope & | scope, | ||
U && | value | ||
) |
auto openscenario_interpreter::reader::readElements | ( | const std::string & | name, |
const pugi::xml_node & | node, | ||
Ts &&... | xs | ||
) |
auto openscenario_interpreter::reader::readGroups | ( | const pugi::xml_node & | node, |
Ts &&... | xs | ||
) |
auto openscenario_interpreter::reader::substitute | ( | std::string | attribute, |
Scope & | scope | ||
) |
auto openscenario_interpreter::reader::traverse | ( | const pugi::xml_node & | parent, |
const std::string & | name, | ||
F && | f | ||
) | -> void |
auto openscenario_interpreter::reader::Value::cast< Value::Numeric > | ( | ) | const -> Value |
|
constexpr |