Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2015-05-08 13:30:00 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:48:00 +0300
commit6b8180e30df6ae21290c256eb75a4672b7628342 (patch)
tree0d9f8c1bfa42b242e54793e9ca846693a322baf6 /indexer/ftypes_matcher.hpp
parent4f91d61c48e8b9e6922f034fee242cfa6436cbc9 (diff)
Refactoring. Working hightway class sieve.
Diffstat (limited to 'indexer/ftypes_matcher.hpp')
-rw-r--r--indexer/ftypes_matcher.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indexer/ftypes_matcher.hpp b/indexer/ftypes_matcher.hpp
index 8ed7a3c0b8..7e1a552c4b 100644
--- a/indexer/ftypes_matcher.hpp
+++ b/indexer/ftypes_matcher.hpp
@@ -137,6 +137,8 @@ uint32_t GetPopulationByRadius(double r);
/// The root name ("world") is ignored
bool IsTypeConformed(uint32_t type, vector<string> const & path);
+// Highway class. The order is important.
+// The enum values follow from the biggest roads (Trunk) to the smallest ones (Service).
enum class HighwayClass
{
None = 0,
@@ -154,4 +156,4 @@ HighwayClass GetHighwayClass(feature::TypesHolder const & types);
HighwayClass GetHighwayClass(FeatureType const & ft);
//@}
-}
+} // namespace ftypes