ad_map_access
Namespaces | Functions
RestrictionOperation.hpp File Reference
#include "ad/map/restriction/RestrictionValidInputRange.hpp"
#include "ad/map/restriction/RestrictionsValidInputRange.hpp"
#include "ad/map/restriction/VehicleDescriptorValidInputRange.hpp"
Include dependency graph for RestrictionOperation.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ad
 namespace ad
 
 ad::map
 namespace map
 
 ad::map::restriction
 namespace restriction
 

Functions

bool ad::map::restriction::isValid (VehicleDescriptor const &descriptor, bool const logErrors=true)
 checks if the given VehicleDescriptor is valid More...
 
bool ad::map::restriction::isValid (Restriction const &restriction, bool const logErrors=true)
 checks if the given Restriction is valid More...
 
bool ad::map::restriction::isValid (Restrictions const &restrictions, bool const logErrors=true)
 checks if the given Restrictions is valid More...
 
bool ad::map::restriction::isAccessOk (Restriction const &restriction, VehicleDescriptor const &vehicle)
 Checks if restriction allows vehicle at this object. More...
 
bool ad::map::restriction::isAccessOk (Restrictions const &restrictions, VehicleDescriptor const &vehicle)
 Checks if vehicle fits the restriction criteria. More...
 
PassengerCount ad::map::restriction::getHOV (Restrictions const &restrictions)