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

Namespaces

 openscenario_interpreter
 
 openscenario_interpreter::syntax
 

Macros

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

Functions

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

Macro Definition Documentation

◆ BOILERPLATE [1/2]

#define BOILERPLATE (   ID)
Value:
case TriggeringEntitiesRule::ID: \
return os << #ID;

◆ BOILERPLATE [2/2]

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