diff options
author | Yuri Gorshenin <y@maps.me> | 2015-11-16 09:26:55 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:02:57 +0300 |
commit | f6e85a32d19989165ef4ba7726e99b0e90853014 (patch) | |
tree | 243e455d0472a929d43a705689c692566abcba95 /indexer/ftypes_matcher.cpp | |
parent | 1923f01008d7de415255638cfc5c280b94f712ab (diff) |
[search] Skeleton of a SearchQueryV2 (Geocoder).
Diffstat (limited to 'indexer/ftypes_matcher.cpp')
-rw-r--r-- | indexer/ftypes_matcher.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indexer/ftypes_matcher.cpp b/indexer/ftypes_matcher.cpp index 6dcbf8a7a1..e8fee50e22 100644 --- a/indexer/ftypes_matcher.cpp +++ b/indexer/ftypes_matcher.cpp @@ -95,6 +95,17 @@ IsFuelStationChecker const & IsFuelStationChecker::Instance() return inst; } +IsRailwayStationChecker::IsRailwayStationChecker() +{ + Classificator const & c = classif(); + m_types.push_back(c.GetTypeByPath({"railway", "station"})); +} + +IsRailwayStationChecker const & IsRailwayStationChecker::Instance() +{ + static const IsRailwayStationChecker inst; + return inst; +} IsStreetChecker::IsStreetChecker() { |