23 #include "spdlog/fmt/ostr.h"
24 #include "spdlog/spdlog.h"
40 || (input == ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_RIGHT)
42 || (input == ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_UP_DOWN)
44 || (input == ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_UP_DOWN_BICYCLE)
46 || (input == ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ENDS)
48 || (input == ::ad::map::landmark::TrafficSignType::SUPPLEMENT_BICYCLE_ALLOWED)
50 || (input == ::ad::map::landmark::TrafficSignType::SUPPLEMENT_TRAM_ALLOWED)
52 || (input == ::ad::map::landmark::TrafficSignType::SUPPLEMENT_CONSTRUCTION_VEHICLE_ALLOWED)
54 || (input == ::ad::map::landmark::TrafficSignType::SUPPLEMENT_RAILWAY_ONLY)
56 || (input == ::ad::map::landmark::TrafficSignType::DANGER)
58 || (input == ::ad::map::landmark::TrafficSignType::CAUTION_PEDESTRIAN)
60 || (input == ::ad::map::landmark::TrafficSignType::CAUTION_BICYCLE)
62 || (input == ::ad::map::landmark::TrafficSignType::CAUTION_RAIL_CROSSING_WITH_BARRIER)
64 || (input == ::ad::map::landmark::TrafficSignType::YIELD_TRAIN)
67 || (input == ::ad::map::landmark::TrafficSignType::REQUIRED_LEFT_TURN)
69 || (input == ::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT_OR_RIGHT_TURN)
71 || (input == ::ad::map::landmark::TrafficSignType::ROUNDABOUT)
73 || (input == ::ad::map::landmark::TrafficSignType::PASS_LEFT)
75 || (input == ::ad::map::landmark::TrafficSignType::FOOTWALK)
77 || (input == ::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SEP_RIGHT)
79 || (input == ::ad::map::landmark::TrafficSignType::PEDESTRIAN_AREA_BEGIN)
81 || (input == ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_TRUCKS)
83 || (input == ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_MOTORVEHICLES)
85 || (input == ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WIDTH)
87 || (input == ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WRONG_DIR)
89 || (input == ::ad::map::landmark::TrafficSignType::ENVIORNMENT_ZONE_END)
91 || (input == ::ad::map::landmark::TrafficSignType::SPEED_ZONE_30_BEGIN)
93 || (input == ::ad::map::landmark::TrafficSignType::HAS_WAY_NEXT_INTERSECTION)
95 || (input == ::ad::map::landmark::TrafficSignType::CITY_BEGIN)
97 || (input == ::ad::map::landmark::TrafficSignType::MOTORWAY_BEGIN)
99 || (input == ::ad::map::landmark::TrafficSignType::MOTORVEHICLE_BEGIN)
101 || (input == ::ad::map::landmark::TrafficSignType::INFO_MOTORWAY_INFO)
103 || (input == ::ad::map::landmark::TrafficSignType::CUL_DE_SAC_EXCEPT_PED_BICYCLE)
105 || (input == ::ad::map::landmark::TrafficSignType::DIRECTION_TURN_TO_AUTOBAHN)
107 || (input == ::ad::map::landmark::TrafficSignType::DESTINATION_BOARD)
109 || (input == ::ad::map::landmark::TrafficSignType::UNKNOWN);
110 if (!inValidInputRange && logErrors)
112 spdlog::error(
"withinValidInputRange(::ad::map::landmark::TrafficSignType)>> {}, raw value: {} ",
114 static_cast<int32_t
>(input));
116 return inValidInputRange;