23 #include "spdlog/fmt/ostr.h"
24 #include "spdlog/spdlog.h"
38 bool inValidInputRange = (input == ::ad::rss::situation::SituationType::NotRelevant)
40 || (input == ::ad::rss::situation::SituationType::OppositeDirection)
42 || (input == ::ad::rss::situation::SituationType::IntersectionObjectHasPriority)
44 || (input == ::ad::rss::situation::SituationType::Unstructured);
45 if (!inValidInputRange && logErrors)
47 spdlog::error(
"withinValidInputRange(::ad::rss::situation::SituationType)>> {}, raw value: {} ",
49 static_cast<int32_t
>(input));
51 return inValidInputRange;