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:
authorYuri Gorshenin <y@maps.me>2015-11-16 09:26:55 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:02:57 +0300
commitf6e85a32d19989165ef4ba7726e99b0e90853014 (patch)
tree243e455d0472a929d43a705689c692566abcba95 /indexer/ftypes_matcher.cpp
parent1923f01008d7de415255638cfc5c280b94f712ab (diff)
[search] Skeleton of a SearchQueryV2 (Geocoder).
Diffstat (limited to 'indexer/ftypes_matcher.cpp')
-rw-r--r--indexer/ftypes_matcher.cpp11
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()
{