Go to the documentation of this file.
24 #include "ad/physics/ParametricRange.hpp"
25 #include "ad/physics/Speed.hpp"
39 namespace restriction {
49 typedef std::shared_ptr<SpeedLimit>
Ptr;
54 typedef std::shared_ptr<SpeedLimit const>
ConstPtr;
103 return (speedLimit == other.speedLimit) && (lanePiece == other.lanePiece);
118 ::ad::physics::Speed speedLimit;
119 ::ad::physics::ParametricRange lanePiece;
129 #ifndef GEN_GUARD_AD_MAP_RESTRICTION_SPEEDLIMIT
130 #define GEN_GUARD_AD_MAP_RESTRICTION_SPEEDLIMIT
144 namespace restriction {
159 os << _value.speedLimit;
162 os << _value.lanePiece;
177 stringstream sstream;
179 return sstream.str();
182 #endif // GEN_GUARD_AD_MAP_RESTRICTION_SPEEDLIMIT
namespace ad
Definition: GeometryStoreItem.hpp:28
SpeedLimit & operator=(const SpeedLimit &other)=default
standard assignment operator
std::shared_ptr< SpeedLimit > Ptr
Smart pointer on SpeedLimit.
Definition: SpeedLimit.hpp:49
bool operator!=(const SpeedLimit &other) const
standard comparison operator
Definition: SpeedLimit.hpp:113
std::string to_string(::ad::map::access::GeometryStoreItem const &value)
overload of the std::to_string for GeometryStoreItem
Definition: GeometryStoreItem.hpp:183
DataType SpeedLimit.
Definition: SpeedLimit.hpp:44
SpeedLimit()=default
standard constructor
bool operator==(const SpeedLimit &other) const
standard comparison operator
Definition: SpeedLimit.hpp:101
~SpeedLimit()=default
standard destructor
std::shared_ptr< SpeedLimit const > ConstPtr
Smart pointer on constant SpeedLimit.
Definition: SpeedLimit.hpp:54
std::ostream & operator<<(std::ostream &os, Restriction const &_value)
standard ostream operator
Definition: Restriction.hpp:157