23 #include "spdlog/fmt/ostr.h"
24 #include "spdlog/spdlog.h"
40 || (input == ::ad::map::landmark::TrafficLightType::SOLID_RED_YELLOW)
42 || (input == ::ad::map::landmark::TrafficLightType::LEFT_RED_YELLOW_GREEN)
44 || (input == ::ad::map::landmark::TrafficLightType::STRAIGHT_RED_YELLOW_GREEN)
46 || (input == ::ad::map::landmark::TrafficLightType::RIGHT_STRAIGHT_RED_YELLOW_GREEN)
48 || (input == ::ad::map::landmark::TrafficLightType::BIKE_RED_GREEN)
50 || (input == ::ad::map::landmark::TrafficLightType::PEDESTRIAN_RED_YELLOW_GREEN)
52 || (input == ::ad::map::landmark::TrafficLightType::BIKE_PEDESTRIAN_RED_YELLOW_GREEN);
53 if (!inValidInputRange && logErrors)
55 spdlog::error(
"withinValidInputRange(::ad::map::landmark::TrafficLightType)>> {}, raw value: {} ",
57 static_cast<int32_t
>(input));
59 return inValidInputRange;