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

DataType Restriction. More...

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

Collaboration diagram for ad::map::restriction::Restriction:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< RestrictionPtr
 Smart pointer on Restriction.
 
typedef std::shared_ptr< Restriction const > ConstPtr
 Smart pointer on constant Restriction.
 

Public Member Functions

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

Public Attributes

bool negated {false}
 
::ad::map::restriction::RoadUserTypeList roadUserTypes
 
::ad::map::restriction::PassengerCount passengersMin {0}
 

Detailed Description

DataType Restriction.

Member Function Documentation

◆ operator!=()

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

standard comparison operator

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

◆ operator=() [1/2]

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

standard assignment operator

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

◆ operator=() [2/2]

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

standard move operator

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

◆ operator==()

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

standard comparison operator

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

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