ad_map_access
Namespaces | Macros | Enumerations | Functions
TrafficSignType.hpp File Reference
#include <iostream>
#include <memory>
#include <string>
Include dependency graph for TrafficSignType.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ad
 namespace ad
 
 ad::map
 namespace map
 
 ad::map::landmark
 namespace landmark
 

Macros

#define GEN_GUARD_AD_MAP_LANDMARK_TRAFFICSIGNTYPE
 protect the definition of functions from duplicates by typedef usage within other data types
 

Enumerations

enum  ad::map::landmark::TrafficSignType : int32_t {
  ad::map::landmark::TrafficSignType::INVALID = 0, ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT = 1, ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_RIGHT = 2, ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT_RIGHT = 3,
  ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_UP_DOWN = 4, ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT_RIGHT_BICYCLE = 5, ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_UP_DOWN_BICYCLE = 6, ad::map::landmark::TrafficSignType::SUPPLEMENT_APPLIES_NEXT_N_KM_TIME = 7,
  ad::map::landmark::TrafficSignType::SUPPLEMENT_ENDS = 8, ad::map::landmark::TrafficSignType::SUPPLEMENT_RESIDENTS_ALLOWED = 9, ad::map::landmark::TrafficSignType::SUPPLEMENT_BICYCLE_ALLOWED = 10, ad::map::landmark::TrafficSignType::SUPPLEMENT_MOPED_ALLOWED = 11,
  ad::map::landmark::TrafficSignType::SUPPLEMENT_TRAM_ALLOWED = 12, ad::map::landmark::TrafficSignType::SUPPLEMENT_FORESTAL_ALLOWED = 13, ad::map::landmark::TrafficSignType::SUPPLEMENT_CONSTRUCTION_VEHICLE_ALLOWED = 14, ad::map::landmark::TrafficSignType::SUPPLEMENT_ENVIRONMENT_ZONE_YELLOW_GREEN = 15,
  ad::map::landmark::TrafficSignType::SUPPLEMENT_RAILWAY_ONLY = 16, ad::map::landmark::TrafficSignType::SUPPLEMENT_APPLIES_FOR_WEIGHT = 17, ad::map::landmark::TrafficSignType::DANGER = 18, ad::map::landmark::TrafficSignType::LANES_MERGING = 19,
  ad::map::landmark::TrafficSignType::CAUTION_PEDESTRIAN = 20, ad::map::landmark::TrafficSignType::CAUTION_CHILDREN = 21, ad::map::landmark::TrafficSignType::CAUTION_BICYCLE = 22, ad::map::landmark::TrafficSignType::CAUTION_ANIMALS = 23,
  ad::map::landmark::TrafficSignType::CAUTION_RAIL_CROSSING_WITH_BARRIER = 24, ad::map::landmark::TrafficSignType::CAUTION_RAIL_CROSSING = 25, ad::map::landmark::TrafficSignType::YIELD_TRAIN = 26, ad::map::landmark::TrafficSignType::YIELD = 27,
  ad::map::landmark::TrafficSignType::STOP = 28, ad::map::landmark::TrafficSignType::REQUIRED_RIGHT_TURN = 29, ad::map::landmark::TrafficSignType::REQUIRED_LEFT_TURN = 30, ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT = 31,
  ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT_OR_RIGHT_TURN = 32, ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT_OR_LEFT_TURN = 33, ad::map::landmark::TrafficSignType::ROUNDABOUT = 34, ad::map::landmark::TrafficSignType::PASS_RIGHT = 35,
  ad::map::landmark::TrafficSignType::PASS_LEFT = 36, ad::map::landmark::TrafficSignType::BYBICLE_PATH = 37, ad::map::landmark::TrafficSignType::FOOTWALK = 38, ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SHARED = 39,
  ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SEP_RIGHT = 40, ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SEP_LEFT = 41, ad::map::landmark::TrafficSignType::PEDESTRIAN_AREA_BEGIN = 42, ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN = 43,
  ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_TRUCKS = 44, ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_BICYCLE = 45, ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_MOTORVEHICLES = 46, ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WEIGHT = 47,
  ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WIDTH = 48, ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_HEIGHT = 49, ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WRONG_DIR = 50, ad::map::landmark::TrafficSignType::ENVIORNMENT_ZONE_BEGIN = 51,
  ad::map::landmark::TrafficSignType::ENVIORNMENT_ZONE_END = 52, ad::map::landmark::TrafficSignType::MAX_SPEED = 53, ad::map::landmark::TrafficSignType::SPEED_ZONE_30_BEGIN = 54, ad::map::landmark::TrafficSignType::SPEED_ZONE_30_END = 55,
  ad::map::landmark::TrafficSignType::HAS_WAY_NEXT_INTERSECTION = 56, ad::map::landmark::TrafficSignType::PRIORITY_WAY = 57, ad::map::landmark::TrafficSignType::CITY_BEGIN = 58, ad::map::landmark::TrafficSignType::CITY_END = 59,
  ad::map::landmark::TrafficSignType::MOTORWAY_BEGIN = 60, ad::map::landmark::TrafficSignType::MOTORWAY_END = 61, ad::map::landmark::TrafficSignType::MOTORVEHICLE_BEGIN = 62, ad::map::landmark::TrafficSignType::MOTORVEHICLE_END = 63,
  ad::map::landmark::TrafficSignType::INFO_MOTORWAY_INFO = 64, ad::map::landmark::TrafficSignType::CUL_DE_SAC = 65, ad::map::landmark::TrafficSignType::CUL_DE_SAC_EXCEPT_PED_BICYCLE = 66, ad::map::landmark::TrafficSignType::INFO_NUMBER_OF_AUTOBAHN = 67,
  ad::map::landmark::TrafficSignType::DIRECTION_TURN_TO_AUTOBAHN = 68, ad::map::landmark::TrafficSignType::DIRECTION_TURN_TO_LOCAL = 69, ad::map::landmark::TrafficSignType::DESTINATION_BOARD = 70, ad::map::landmark::TrafficSignType::FREE_TEXT = 71,
  ad::map::landmark::TrafficSignType::UNKNOWN = 72
}
 DataType TrafficSignType. More...
 

Functions

std::string toString (::ad::map::landmark::TrafficSignType const e)
 Conversion of ad::map::landmark::TrafficSignType 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::landmark::TrafficSignType fromString (std::string const &str)
 Conversion from std::string to enum type T helper. More...
 
std::ostream & ad::map::landmark::operator<< (std::ostream &os, TrafficSignType const &value)
 standard ostream operator More...
 
std::string std::to_string (::ad::map::landmark::TrafficSignType const &value)
 overload of the std::to_string for TrafficSignType
 

Detailed Description

Generated file

Generator Version : 11.0.0-1997

Function Documentation

◆ fromString() [1/2]

template<typename EnumType >
EnumType fromString ( std::string const &  str)

Conversion from std::string to enum type T helper.

Parameters
[in]str- a fully qualified string name of enum class type
Returns
T enum value
Exceptions
std::out_of_rangeexception if the given string does not match any enum type

Example usage:

auto value = fromString<SomeEnumType>("SomeEnumType::eValue");
assert(value == SomeEnumType::eValue);
// Or:
auto value = fromString<SomeEnumType>("eValue");
assert(value == SomeEnumType::eValue);

◆ fromString() [2/2]

template<>
::ad::map::landmark::TrafficSignType fromString ( std::string const &  str)

Conversion from std::string to enum type T helper.

Parameters
[in]str- a fully qualified string name of enum class type
Returns
T enum value
Exceptions
std::out_of_rangeexception if the given string does not match any enum type

Example usage:

auto value = fromString<SomeEnumType>("SomeEnumType::eValue");
assert(value == SomeEnumType::eValue);
// Or:
auto value = fromString<SomeEnumType>("eValue");
assert(value == SomeEnumType::eValue);