scenario_simulator_v2 C++ API
Namespaces | Typedefs | Functions | Variables
element.hpp File Reference
#include <functional>
#include <iterator>
#include <limits>
#include <openscenario_interpreter/iterator/size.hpp>
#include <openscenario_interpreter/object.hpp>
#include <openscenario_interpreter/type_traits/must_be_default_constructible.hpp>
#include <pugixml.hpp>
#include <string>
#include <type_traits>
#include <unordered_map>
#include <utility>
Include dependency graph for element.hpp:

Go to the source code of this file.

Namespaces

 openscenario_interpreter
 
 openscenario_interpreter::reader
 

Typedefs

using openscenario_interpreter::reader::Cardinality = typename std::iterator_traits< typename pugi::xml_node::iterator >::difference_type
 

Functions

template<Cardinality MinOccurs, Cardinality MaxOccurs, typename F >
auto openscenario_interpreter::reader::traverse (const pugi::xml_node &parent, const std::string &name, F &&f) -> void
 
template<typename T , typename Scope >
auto openscenario_interpreter::reader::readElement (const std::string &name, const pugi::xml_node &parent, Scope &scope)
 
template<typename T , typename U , typename Scope >
auto openscenario_interpreter::reader::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 openscenario_interpreter::reader::readElements (const std::string &name, const pugi::xml_node &node, Ts &&... xs)
 
template<typename GroupT , Cardinality MinOccurs, Cardinality MaxOccurs = unbounded, typename... Ts>
auto openscenario_interpreter::reader::readGroups (const pugi::xml_node &node, Ts &&... xs)
 
template<typename... Ts>
auto openscenario_interpreter::reader::choice (const pugi::xml_node &node, Ts &&... xs) -> decltype(auto)
 

Variables

constexpr auto openscenario_interpreter::reader::unbounded = std::numeric_limits<Cardinality>::max()