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:
authorMaxim Pimenov <m@maps.me>2016-01-15 14:57:38 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:16:02 +0300
commit5c9ac0e04484c80dc099d45330c317f7a83465f8 (patch)
tree274d1d14efc9b8d5c3848d6cebf907666b56a748 /indexer/ftypes_matcher.hpp
parent9e09ffcc6a3acf4182e26819cb2e76480e148fee (diff)
[search] Added villages.
Diffstat (limited to 'indexer/ftypes_matcher.hpp')
-rw-r--r--indexer/ftypes_matcher.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/indexer/ftypes_matcher.hpp b/indexer/ftypes_matcher.hpp
index 4cb7af9eed..400ef14499 100644
--- a/indexer/ftypes_matcher.hpp
+++ b/indexer/ftypes_matcher.hpp
@@ -84,6 +84,20 @@ public:
static IsStreetChecker const & Instance();
};
+class IsVillageChecker : public BaseChecker
+{
+public:
+ IsVillageChecker();
+
+ template <typename TFn>
+ void ForEachType(TFn && fn) const
+ {
+ for_each(m_types.cbegin(), m_types.cend(), forward<TFn>(fn));
+ }
+
+ static IsVillageChecker const & Instance();
+};
+
class IsOneWayChecker : public BaseChecker
{
IsOneWayChecker();