IVehicleModel::RoadAvailability BicycleModel::GetRoadAvailability(feature::TypesHolder const & types) const { if (types.Has(m_yesBicycleType)) return RoadAvailability::Available; if (types.Has(m_noBicycleType)) return RoadAvailability::NotAvailable; return RoadAvailability::Unknown; }
IVehicleModel::RoadAvailability PedestrianModel::GetRoadAvailability(feature::TypesHolder const & types) const { if (types.Has(m_yesFootType)) return RoadAvailability::Available; if (types.Has(m_noFootType)) return RoadAvailability::NotAvailable; return RoadAvailability::Unknown; }
bool VehicleModel::IsOneWay(feature::TypesHolder const & types) const { return types.Has(m_onewayType); }
bool BicycleModel::IsBicycleBidir(feature::TypesHolder const & types) const { return types.Has(m_bidirBicycleType); }