maliput
api/rules/compare.h File Reference
Include dependency graph for api/rules/compare.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 maliput
 Code in this file is inspired by: https://github.com/RobotLocomotion/drake/blob/master/common/text_logging.h.
 
 maliput::api
 
 maliput::api::rules
 

Functions

common::ComparisonResult< RuleStates > IsEqual (const RuleStates &a, const RuleStates &b)
 Evaluates the equality of two RuleStates. More...
 
common::ComparisonResult< Phase > IsEqual (const Phase &a, const Phase &b)
 Evaluates the equality of two Phase. More...
 
common::ComparisonResult< PhaseRing::NextPhase > IsEqual (const PhaseRing::NextPhase &a, const PhaseRing::NextPhase &b)
 Evaluates the equality of two PhaseRing::NextPhase. More...
 
common::ComparisonResult< std::vector< PhaseRing::NextPhase > > IsEqual (const std::vector< PhaseRing::NextPhase > &a, const std::vector< PhaseRing::NextPhase > &b)
 Evaluates the equality of two std::vector<PhaseRing::NextPhase>. More...
 
common::ComparisonResult< RangeValueRule::Range > IsEqual (const RangeValueRule::Range &a, const RangeValueRule::Range &b)
 Evaluates the equality of two RangeValueRule::Range. More...
 
common::ComparisonResult< RangeValueRule > IsEqual (const RangeValueRule &a, const RangeValueRule &b)
 Evaluates the equality of two RangeValueRule. More...
 
common::ComparisonResult< std::vector< RangeValueRule::Range > > IsEqual (const std::vector< RangeValueRule::Range > &a, const std::vector< RangeValueRule::Range > &b)
 Evaluates the equality of two std::vector<RangeValueRule::Range>. More...
 
common::ComparisonResult< DiscreteValueRule::DiscreteValue > IsEqual (const DiscreteValueRule::DiscreteValue &a, const DiscreteValueRule::DiscreteValue &b)
 Evaluates the equality of two DiscreteValueRule::DiscreteValue. More...
 
common::ComparisonResult< DiscreteValueRule > IsEqual (const DiscreteValueRule &a, const DiscreteValueRule &b)
 Evaluates the equality of two DiscreteValueRule. More...
 
common::ComparisonResult< std::vector< DiscreteValueRule::DiscreteValue > > IsEqual (const std::vector< DiscreteValueRule::DiscreteValue > &a, const std::vector< DiscreteValueRule::DiscreteValue > &b)
 Evaluates the equality of two std::vector<DiscreteValueRule::DiscreteValue>. More...
 
common::ComparisonResult< std::unordered_map< Rule::Id, DiscreteValueRule::DiscreteValue > > IsEqual (const std::unordered_map< Rule::Id, DiscreteValueRule::DiscreteValue > &a, const std::unordered_map< Rule::Id, DiscreteValueRule::DiscreteValue > &b)
 Evaluates the equality of two std::unordered_map<Rule::Id, DiscreteValueRule::DiscreteValue>. More...
 
common::ComparisonResult< DirectionUsageRule::State::Type > IsEqual (DirectionUsageRule::State::Type a, DirectionUsageRule::State::Type b)
 Evaluates the equality of two DirectionUsageRule::State::Type. More...
 
common::ComparisonResult< DirectionUsageRule::State::Severity > IsEqual (DirectionUsageRule::State::Severity a, DirectionUsageRule::State::Severity b)
 Evaluates the equality of two DirectionUsageRule::State::Severity. More...
 
common::ComparisonResult< DirectionUsageRule::State > IsEqual (const DirectionUsageRule::State &a, const DirectionUsageRule::State &b)
 Evaluates the equality of two DirectionUsageRule::State. More...
 
common::ComparisonResult< std::unordered_map< DirectionUsageRule::State::Id, DirectionUsageRule::State > > IsEqual (const std::unordered_map< DirectionUsageRule::State::Id, DirectionUsageRule::State > &a, const std::unordered_map< DirectionUsageRule::State::Id, DirectionUsageRule::State > &b)
 Evaluates the equality of two std::unordered_map<DirectionUsageRule::State::Id, DirectionUsageRule::State>. More...
 
common::ComparisonResult< DirectionUsageRule > IsEqual (const DirectionUsageRule &a, const DirectionUsageRule &b)
 Evaluates the equality of two DirectionUsageRule. More...
 
common::ComparisonResult< RightOfWayRule::ZoneType > IsEqual (RightOfWayRule::ZoneType a, RightOfWayRule::ZoneType b)
 Evaluates the equality of two RightOfWayRule::ZoneType. More...
 
common::ComparisonResult< RightOfWayRule::State::Type > IsEqual (RightOfWayRule::State::Type a, RightOfWayRule::State::Type b)
 Evaluates the equality of two RightOfWayRule::State::Type. More...
 
common::ComparisonResult< std::vector< RightOfWayRule::Id > > IsEqual (const std::vector< RightOfWayRule::Id > &a, const std::vector< RightOfWayRule::Id > &b)
 Evaluates the equality of two std::vector<RightOfWayRule::Id>. More...
 
common::ComparisonResult< RightOfWayRule::State > IsEqual (const RightOfWayRule::State &a, const RightOfWayRule::State &b)
 Evaluates the equality of two RightOfWayRule::State. More...
 
common::ComparisonResult< std::unordered_map< RightOfWayRule::State::Id, RightOfWayRule::State > > IsEqual (const std::unordered_map< RightOfWayRule::State::Id, RightOfWayRule::State > &a, const std::unordered_map< RightOfWayRule::State::Id, RightOfWayRule::State > &b)
 Evaluates the equality of two std::unordered_map<RightOfWayRule::State::Id, RightOfWayRule::State>. More...
 
common::ComparisonResult< RightOfWayRule > IsEqual (const RightOfWayRule &a, const RightOfWayRule &b)
 Evaluates the equality of two RightOfWayRule. More...
 
common::ComparisonResult< RightOfWayRuleStateProvider::RightOfWayResult > IsEqual (const RightOfWayRuleStateProvider::RightOfWayResult &a, const RightOfWayRuleStateProvider::RightOfWayResult &b)
 Evaluates the equality of two RightOfWayRuleStateProvider::RightOfWayResult. More...
 
common::ComparisonResult< SpeedLimitRule::Severity > IsEqual (SpeedLimitRule::Severity a, SpeedLimitRule::Severity b)
 Evaluates the equality of two SpeedLimitRule::Severity. More...
 
common::ComparisonResult< SpeedLimitRule > IsEqual (const SpeedLimitRule &a, const SpeedLimitRule &b)
 Evaluates the equality of two SpeedLimitRule. More...
 
common::ComparisonResult< std::unordered_map< TrafficLight::Id, std::vector< BulbGroup::Id > > > IsEqual (const std::unordered_map< TrafficLight::Id, std::vector< BulbGroup::Id >> &a, const std::unordered_map< TrafficLight::Id, std::vector< BulbGroup::Id >> &b)
 Evaluates the equality of two std::unordered_map<TrafficLight::Id, std::vector<BulbGroup::Id>>. More...
 
common::ComparisonResult< BulbColor > IsEqual (const BulbColor &a, const BulbColor &b)
 Evaluates the equality of two BulbColor. More...
 
common::ComparisonResult< BulbType > IsEqual (const BulbType &a, const BulbType &b)
 Evaluates the equality of two BulbType. More...
 
common::ComparisonResult< BulbState > IsEqual (const BulbState &a, const BulbState &b)
 Evaluates the equality of two BulbState. More...
 
common::ComparisonResult< std::optional< BulbStates > > IsEqual (const std::optional< BulbStates > &a, const std::optional< BulbStates > &b)
 Evaluates the equality of two std::optional<BulbStates>. More...
 
common::ComparisonResult< std::optional< double > > IsEqual (const std::optional< double > &a, const std::optional< double > &b)
 Evaluates the equality of two std::optional<double>. More...
 
common::ComparisonResult< Bulb::BoundingBox > IsEqual (const Bulb::BoundingBox &a, const Bulb::BoundingBox &b)
 Evaluates the equality of two Bulb::BoundingBox. More...
 
common::ComparisonResult< Bulb > IsEqual (const Bulb *a, const Bulb *b)
 Evaluates the equality of two Bulb. More...
 
common::ComparisonResult< std::vector< const Bulb * > > IsEqual (const char *a_expression, const char *b_expression, const std::vector< const Bulb * > &a, const std::vector< const Bulb * > &b)
 Evaluates the equality of two std::vector<const Bulb*>. More...
 
common::ComparisonResult< BulbGroup > IsEqual (const BulbGroup *a, const BulbGroup *b)
 Evaluates the equality of two BulbGroup. More...
 
common::ComparisonResult< TrafficLight > IsEqual (const TrafficLight *a, const TrafficLight *b)
 Evaluates the equality of two TrafficLight. More...