Go to the documentation of this file.
39 namespace restriction {
49 typedef std::shared_ptr<Restriction>
Ptr;
54 typedef std::shared_ptr<Restriction const>
ConstPtr;
103 return (negated == other.negated) && (roadUserTypes == other.roadUserTypes)
104 && (passengersMin == other.passengersMin);
131 #ifndef GEN_GUARD_AD_MAP_RESTRICTION_RESTRICTION
132 #define GEN_GUARD_AD_MAP_RESTRICTION_RESTRICTION
146 namespace restriction {
159 os <<
"Restriction(";
161 os << _value.negated;
163 os <<
"roadUserTypes:";
164 os << _value.roadUserTypes;
166 os <<
"passengersMin:";
167 os << _value.passengersMin;
182 stringstream sstream;
184 return sstream.str();
187 #endif // GEN_GUARD_AD_MAP_RESTRICTION_RESTRICTION
namespace ad
Definition: GeometryStoreItem.hpp:28
Restriction & operator=(const Restriction &other)=default
standard assignment operator
DataType Restriction.
Definition: Restriction.hpp:44
std::string to_string(::ad::map::access::GeometryStoreItem const &value)
overload of the std::to_string for GeometryStoreItem
Definition: GeometryStoreItem.hpp:183
Restriction()=default
standard constructor
uint16_t PassengerCount
DataType PassengerCount.
Definition: PassengerCount.hpp:39
std::vector<::ad::map::restriction::RoadUserType > RoadUserTypeList
DataType RoadUserTypeList.
Definition: RoadUserTypeList.hpp:42
bool operator!=(const Restriction &other) const
standard comparison operator
Definition: Restriction.hpp:114
std::shared_ptr< Restriction const > ConstPtr
Smart pointer on constant Restriction.
Definition: Restriction.hpp:54
std::shared_ptr< Restriction > Ptr
Smart pointer on Restriction.
Definition: Restriction.hpp:49
bool operator==(const Restriction &other) const
standard comparison operator
Definition: Restriction.hpp:101
~Restriction()=default
standard destructor
std::ostream & operator<<(std::ostream &os, Restriction const &_value)
standard ostream operator
Definition: Restriction.hpp:157