scenario_simulator_v2 C++ API
Namespaces | Macros | Functions
condition_edge.cpp File Reference
#include <openscenario_interpreter/error.hpp>
#include <openscenario_interpreter/syntax/condition_edge.hpp>
Include dependency graph for condition_edge.cpp:

Namespaces

 openscenario_interpreter
 
 openscenario_interpreter::syntax
 

Macros

#define BOILERPLATE(IDENTIFIER)
 
#define BOILERPLATE(IDENTIFIER)
 

Functions

auto openscenario_interpreter::syntax::operator>> (std::istream &is, ConditionEdge &) -> std::istream &
 
auto openscenario_interpreter::syntax::operator<< (std::ostream &os, const ConditionEdge &) -> std::ostream &
 

Macro Definition Documentation

◆ BOILERPLATE [1/2]

#define BOILERPLATE (   IDENTIFIER)
Value:
if (buffer == #IDENTIFIER) { \
edge.value = ConditionEdge::IDENTIFIER; \
return is; \
} \
static_assert(true, "")

◆ BOILERPLATE [2/2]

#define BOILERPLATE (   IDENTIFIER)
Value:
case ConditionEdge::IDENTIFIER: \
return os << #IDENTIFIER;