ad_map_access
Public Types | Public Member Functions | Public Attributes | List of all members
ad::map::restriction::VehicleDescriptor Struct Reference

DataType VehicleDescriptor. More...

#include <ad/map/restriction/VehicleDescriptor.hpp>

Public Types

typedef std::shared_ptr< VehicleDescriptorPtr
 Smart pointer on VehicleDescriptor.
 
typedef std::shared_ptr< VehicleDescriptor const > ConstPtr
 Smart pointer on constant VehicleDescriptor.
 

Public Member Functions

 VehicleDescriptor ()=default
 standard constructor
 
 ~VehicleDescriptor ()=default
 standard destructor
 
 VehicleDescriptor (const VehicleDescriptor &other)=default
 standard copy constructor
 
 VehicleDescriptor (VehicleDescriptor &&other)=default
 standard move constructor
 
VehicleDescriptoroperator= (const VehicleDescriptor &other)=default
 standard assignment operator More...
 
VehicleDescriptoroperator= (VehicleDescriptor &&other)=default
 standard move operator More...
 
bool operator== (const VehicleDescriptor &other) const
 standard comparison operator More...
 
bool operator!= (const VehicleDescriptor &other) const
 standard comparison operator More...
 

Public Attributes

::ad::map::restriction::PassengerCount passengers {0}
 
::ad::map::restriction::RoadUserType type {::ad::map::restriction::RoadUserType::INVALID}
 
::ad::physics::Distance width
 
::ad::physics::Distance height
 
::ad::physics::Distance length
 
::ad::physics::Weight weight
 

Detailed Description

DataType VehicleDescriptor.

Member Function Documentation

◆ operator!=()

bool ad::map::restriction::VehicleDescriptor::operator!= ( const VehicleDescriptor other) const
inline

standard comparison operator

Parameters
[in]otherOther VehicleDescriptor.
Returns
true if both VehicleDescriptor are different

◆ operator=() [1/2]

VehicleDescriptor& ad::map::restriction::VehicleDescriptor::operator= ( const VehicleDescriptor other)
default

standard assignment operator

Parameters
[in]otherOther VehicleDescriptor
Returns
Reference to this VehicleDescriptor.

◆ operator=() [2/2]

VehicleDescriptor& ad::map::restriction::VehicleDescriptor::operator= ( VehicleDescriptor &&  other)
default

standard move operator

Parameters
[in]otherOther VehicleDescriptor
Returns
Reference to this VehicleDescriptor.

◆ operator==()

bool ad::map::restriction::VehicleDescriptor::operator== ( const VehicleDescriptor other) const
inline

standard comparison operator

Parameters
[in]otherOther VehicleDescriptor
Returns
true if both VehicleDescriptor are equal

The documentation for this struct was generated from the following file: