/srv/osrm/osrm-backend/include/util
Edit: /srv/osrm/osrm-backend/include/util/conditional_restrictions.hpp (627B)
#ifndef OSRM_CONDITIONAL_RESTRICTIONS_HPP
#define OSRM_CONDITIONAL_RESTRICTIONS_HPP
#include
#include
namespace osrm::util
{
// Helper functions for OSM conditional restrictions
// http://wiki.openstreetmap.org/wiki/Conditional_restrictions
// Consitional restrictions is a vector of ConditionalRestriction
// with a restriction value and a condition string
struct ConditionalRestriction
{
std::string value;
std::string condition;
};
std::vector ParseConditionalRestrictions(const std::string &str);
} // namespace osrm::util
#endif // OSRM_CONDITIONAL_RESTRICTIONS_HPP