15 #ifndef OPENSCENARIO_INTERPRETER__SYNTAX__DIRECTIONAL_DIMENSION_HPP_
16 #define OPENSCENARIO_INTERPRETER__SYNTAX__DIRECTIONAL_DIMENSION_HPP_
20 inline namespace syntax
72 if (token ==
"longitudinal") {
75 }
else if (token ==
"lateral") {
78 }
else if (token ==
"vertical") {
95 return ostream <<
"longitudinal";
97 return ostream <<
"lateral";
99 return ostream <<
"vertical";
#define UNEXPECTED_ENUMERATION_VALUE_SPECIFIED(TYPE, VALUE)
Definition: error.hpp:47
#define UNEXPECTED_ENUMERATION_VALUE_ASSIGNED(TYPE, VALUE)
Definition: error.hpp:50
std::string string
Definition: junit5.hpp:26
Definition: directional_dimension.hpp:43
value_type
Definition: directional_dimension.hpp:44
@ vertical
Definition: directional_dimension.hpp:58
@ longitudinal
Definition: directional_dimension.hpp:48
@ lateral
Definition: directional_dimension.hpp:53
value_type value
Definition: directional_dimension.hpp:61
DirectionalDimension()=default
friend auto operator>>(std::istream &istream, DirectionalDimension &datum) -> std::istream &
Definition: directional_dimension.hpp:69
constexpr DirectionalDimension(value_type value)
Definition: directional_dimension.hpp:65
friend auto operator<<(std::ostream &ostream, const DirectionalDimension &datum) -> std::ostream &
Definition: directional_dimension.hpp:90