24 #include "spdlog/fmt/ostr.h"
25 #include "spdlog/spdlog.h"
41 bool inValidInputRange = (input.size() <= std::size_t(1000));
42 if (!inValidInputRange && logErrors)
44 spdlog::error(
"withinValidInputRange(::ad::rss::situation::SituationVector)>> {}, invalid input range",
48 if (inValidInputRange)
50 for (
auto const &member : input)
53 inValidInputRange = inValidInputRange && memberInValidInputRange;
54 if (!memberInValidInputRange && logErrors)
56 spdlog::error(
"withinValidInputRange(::ad::rss::situation::SituationVector)>> {}, invalid member {}",
62 return inValidInputRange;