diff options
author | vng <viktor.govako@gmail.com> | 2014-09-16 15:19:01 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:27:11 +0300 |
commit | 26a50dea3ad38596c485a4c600ba2d58659bfdf7 (patch) | |
tree | 204eca44dda5f4785a3c34d2fbe8b7505f1493a2 /indexer/feature_data.hpp | |
parent | ce32dfb4ba33084a495374cf74c29d459fcbc570 (diff) |
[generator][classificator] Factor out additional tags for highways as the separate node in classificator:
- hwtag=oneway
- hwtag=private
- hwtag=lit
Diffstat (limited to 'indexer/feature_data.hpp')
-rw-r--r-- | indexer/feature_data.hpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/indexer/feature_data.hpp b/indexer/feature_data.hpp index 032805a0df..04dc68a7ce 100644 --- a/indexer/feature_data.hpp +++ b/indexer/feature_data.hpp @@ -218,7 +218,9 @@ public: typedef vector<uint32_t> types_t; types_t m_Types; - FeatureParams() : m_geomType(0xFF) {} + bool m_reverseGeometry; + + FeatureParams() : m_geomType(0xFF), m_reverseGeometry(false) {} bool AddName(string const & lang, string const & s); bool AddHouseName(string const & s); @@ -251,11 +253,6 @@ public: /// '2' means 2-level type in classificator tree (also skip child types). void AddTypes(FeatureParams const & rhs, uint32_t skipType2); - template <class TIter> void AssignTypes(TIter b, TIter e) - { - m_Types.assign(b, e); - } - bool FinishAddingTypes(); void SetType(uint32_t t); @@ -263,8 +260,6 @@ public: bool PopExactType(uint32_t t); bool IsTypeExist(uint32_t t) const; - bool operator == (FeatureParams const & rhs) const; - bool CheckValid() const; uint8_t GetHeader() const; |