diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2015-05-08 13:30:00 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:48:00 +0300 |
commit | 6b8180e30df6ae21290c256eb75a4672b7628342 (patch) | |
tree | 0d9f8c1bfa42b242e54793e9ca846693a322baf6 /indexer/ftypes_matcher.hpp | |
parent | 4f91d61c48e8b9e6922f034fee242cfa6436cbc9 (diff) |
Refactoring. Working hightway class sieve.
Diffstat (limited to 'indexer/ftypes_matcher.hpp')
-rw-r--r-- | indexer/ftypes_matcher.hpp | 4 |
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 |