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

Namespaces

 openscenario_interpreter
 
 openscenario_interpreter::syntax
 

Macros

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

Functions

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

Macro Definition Documentation

◆ BOILERPLATE [1/2]

#define BOILERPLATE (   IDENTIFIER)
Value:
if (buffer == #IDENTIFIER) { \
datum = Command::IDENTIFIER; \
return is; \
}

◆ BOILERPLATE [2/2]

#define BOILERPLATE (   NAME)
Value:
case Command::NAME: \
return os << #NAME;