ad_map_access
|
#include <iostream>
#include <memory>
#include <string>
Go to the source code of this file.
Namespaces | |
ad | |
namespace ad | |
ad::map | |
namespace map | |
ad::map::intersection | |
namespace intersection | |
Macros | |
#define | GEN_GUARD_AD_MAP_INTERSECTION_TURNDIRECTION |
protect the definition of functions from duplicates by typedef usage within other data types | |
Enumerations | |
enum | ad::map::intersection::TurnDirection : int32_t { ad::map::intersection::TurnDirection::Unknown = 0, ad::map::intersection::TurnDirection::Right = 1, ad::map::intersection::TurnDirection::Straight = 2, ad::map::intersection::TurnDirection::Left = 3, ad::map::intersection::TurnDirection::UTurn = 4 } |
DataType TurnDirection. More... | |
Functions | |
std::string | toString (::ad::map::intersection::TurnDirection const e) |
Conversion of ad::map::intersection::TurnDirection to std::string helper. | |
template<typename EnumType > | |
EnumType | fromString (std::string const &str) |
Conversion from std::string to enum type T helper. More... | |
template<> | |
::ad::map::intersection::TurnDirection | fromString (std::string const &str) |
Conversion from std::string to enum type T helper. More... | |
std::ostream & | ad::map::intersection::operator<< (std::ostream &os, TurnDirection const &value) |
standard ostream operator More... | |
std::string | std::to_string (::ad::map::intersection::TurnDirection const &value) |
overload of the std::to_string for TurnDirection | |
Generated file
Generator Version : 11.0.0-1997
EnumType fromString | ( | std::string const & | str | ) |
Conversion from std::string to enum type T helper.
[in] | str | - a fully qualified string name of enum class type |
std::out_of_range | exception if the given string does not match any enum type |
Example usage:
::ad::map::intersection::TurnDirection fromString | ( | std::string const & | str | ) |
Conversion from std::string to enum type T helper.
[in] | str | - a fully qualified string name of enum class type |
std::out_of_range | exception if the given string does not match any enum type |
Example usage: