Go to the documentation of this file.
14 namespace validation {
20 constexpr
static const char*
name() {
return ""; }
31 constexpr
static const char*
name() {
return ""; }
41 constexpr
static const char*
name() {
return ""; }
virtual ~MapValidator()=default
virtual Issues operator()(const LaneletMap &map)=0
A routing graph validator works similar, but instead uses the routing graph of a map to detect issues...
constexpr static const char * name()
constexpr static const char * name()
virtual ~TrafficRuleValidator()=default
std::unique_ptr< MapValidator > MapValidatorUPtr
constexpr static const char * name()
std::vector< Issue > Issues
Most simple form of a validator. It gets a map once and reports errors.
std::unique_ptr< RoutingGraphValidator > RoutingGraphValidatorUPtr
std::unique_ptr< TrafficRuleValidator > TrafficRuleValidatorUPtr
std::vector< RoutingGraphValidatorUPtr > RoutingGraphValidatorUPtrs
virtual Issues operator()(const routing::RoutingGraph &graph, const traffic_rules::TrafficRules &rules)=0
The RoutingGraphValidator is called together with the rules with which it was created.
virtual ~RoutingGraphValidator()=default
std::vector< MapValidatorUPtr > MapValidatorUPtrs
std::vector< TrafficRuleValidatorUPtr > TrafficRuleValidatorUPtrs
virtual Issues operator()(const LaneletMap &map, const std::vector< traffic_rules::TrafficRulesUPtr > &rules)=0