Go to the documentation of this file.
26 #include "ad/physics/Distance.hpp"
27 #include "ad/physics/Weight.hpp"
41 namespace restriction {
51 typedef std::shared_ptr<VehicleDescriptor>
Ptr;
56 typedef std::shared_ptr<VehicleDescriptor const>
ConstPtr;
105 return (passengers == other.passengers) && (type == other.type) && (width == other.width)
106 && (height == other.height) && (length == other.length) && (weight == other.weight);
123 ::ad::physics::Distance width;
124 ::ad::physics::Distance height;
125 ::ad::physics::Distance length;
126 ::ad::physics::Weight weight;
136 #ifndef GEN_GUARD_AD_MAP_RESTRICTION_VEHICLEDESCRIPTOR
137 #define GEN_GUARD_AD_MAP_RESTRICTION_VEHICLEDESCRIPTOR
151 namespace restriction {
164 os <<
"VehicleDescriptor(";
166 os << _value.passengers;
196 stringstream sstream;
198 return sstream.str();
201 #endif // GEN_GUARD_AD_MAP_RESTRICTION_VEHICLEDESCRIPTOR
std::shared_ptr< VehicleDescriptor > Ptr
Smart pointer on VehicleDescriptor.
Definition: VehicleDescriptor.hpp:51
namespace ad
Definition: GeometryStoreItem.hpp:28
~VehicleDescriptor()=default
standard destructor
bool operator!=(const VehicleDescriptor &other) const
standard comparison operator
Definition: VehicleDescriptor.hpp:116
VehicleDescriptor & operator=(const VehicleDescriptor &other)=default
standard assignment operator
bool operator==(const VehicleDescriptor &other) const
standard comparison operator
Definition: VehicleDescriptor.hpp:103
std::string to_string(::ad::map::access::GeometryStoreItem const &value)
overload of the std::to_string for GeometryStoreItem
Definition: GeometryStoreItem.hpp:183
DataType VehicleDescriptor.
Definition: VehicleDescriptor.hpp:46
uint16_t PassengerCount
DataType PassengerCount.
Definition: PassengerCount.hpp:39
VehicleDescriptor()=default
standard constructor
std::shared_ptr< VehicleDescriptor const > ConstPtr
Smart pointer on constant VehicleDescriptor.
Definition: VehicleDescriptor.hpp:56
RoadUserType
DataType RoadUserType.
Definition: RoadUserType.hpp:41
std::ostream & operator<<(std::ostream &os, Restriction const &_value)
standard ostream operator
Definition: Restriction.hpp:157