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:
authorAlex Zolotarev <alex@maps.me>2016-01-13 17:53:46 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:04:46 +0300
commit0525cb790915d8d0149d90c8cb21a7bd46db102e (patch)
tree3b7bf009cc8eed12448cd3f4b3859baa90d10f7c /indexer/ftypes_matcher.hpp
parent2d218600dd68d841b51e0717ff0601db81219fcb (diff)
Convenient feature types matcher.
Diffstat (limited to 'indexer/ftypes_matcher.hpp')
-rw-r--r--indexer/ftypes_matcher.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indexer/ftypes_matcher.hpp b/indexer/ftypes_matcher.hpp
index f6a745017c..a8e563e7ad 100644
--- a/indexer/ftypes_matcher.hpp
+++ b/indexer/ftypes_matcher.hpp
@@ -28,6 +28,8 @@ public:
bool operator() (feature::TypesHolder const & types) const;
bool operator() (FeatureType const & ft) const;
bool operator() (vector<uint32_t> const & types) const;
+ // Simple type equality comparison. No magic like in IsMatched.
+ bool HasTypeValue(uint32_t const type) const;
static uint32_t PrepareToMatch(uint32_t type, uint8_t level);
};