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::lane | |
namespace lane | |
Macros | |
#define | GEN_GUARD_AD_MAP_LANE_LANETYPE |
protect the definition of functions from duplicates by typedef usage within other data types | |
Enumerations | |
enum | ad::map::lane::LaneType : int32_t { ad::map::lane::LaneType::INVALID = 0, ad::map::lane::LaneType::UNKNOWN = 1, ad::map::lane::LaneType::NORMAL = 2, ad::map::lane::LaneType::INTERSECTION = 3, ad::map::lane::LaneType::SHOULDER = 4, ad::map::lane::LaneType::EMERGENCY = 5, ad::map::lane::LaneType::MULTI = 6, ad::map::lane::LaneType::PEDESTRIAN = 7, ad::map::lane::LaneType::OVERTAKING = 8, ad::map::lane::LaneType::TURN = 9, ad::map::lane::LaneType::BIKE = 10 } |
DataType LaneType. More... | |
Functions | |
std::string | toString (::ad::map::lane::LaneType const e) |
Conversion of ad::map::lane::LaneType 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::lane::LaneType | fromString (std::string const &str) |
Conversion from std::string to enum type T helper. More... | |
std::ostream & | ad::map::lane::operator<< (std::ostream &os, LaneType const &value) |
standard ostream operator More... | |
std::string | std::to_string (::ad::map::lane::LaneType const &value) |
overload of the std::to_string for LaneType | |
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::lane::LaneType 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: