scenario_simulator_v2 C++ API
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
openscenario_interpreter::syntax::DirectionalDimension Struct Reference

#include <directional_dimension.hpp>

Public Types

enum  value_type { longitudinal , lateral , vertical }
 

Public Member Functions

 DirectionalDimension ()=default
 
constexpr DirectionalDimension (value_type value)
 
constexpr operator value_type () const noexcept
 

Public Attributes

value_type value
 

Friends

auto operator>> (std::istream &istream, DirectionalDimension &datum) -> std::istream &
 
auto operator<< (std::ostream &ostream, const DirectionalDimension &datum) -> std::ostream &
 

Member Enumeration Documentation

◆ value_type

Enumerator
longitudinal 
lateral 
vertical 

Constructor & Destructor Documentation

◆ DirectionalDimension() [1/2]

openscenario_interpreter::syntax::DirectionalDimension::DirectionalDimension ( )
default

◆ DirectionalDimension() [2/2]

constexpr openscenario_interpreter::syntax::DirectionalDimension::DirectionalDimension ( value_type  value)
inlineconstexpr

Member Function Documentation

◆ operator value_type()

constexpr openscenario_interpreter::syntax::DirectionalDimension::operator value_type ( ) const
inlineconstexprnoexcept

Friends And Related Function Documentation

◆ operator<<

auto operator<< ( std::ostream &  ostream,
const DirectionalDimension datum 
) -> std::ostream &
friend

◆ operator>>

auto operator>> ( std::istream &  istream,
DirectionalDimension datum 
) -> std::istream &
friend

Member Data Documentation

◆ value

value_type openscenario_interpreter::syntax::DirectionalDimension::value

The documentation for this struct was generated from the following file: