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:
authorSergey Yershov <yershov@corp.mail.ru>2014-12-15 17:21:55 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:35:25 +0300
commitb240aa5839ae1295e76899a90eebfc671af3570e (patch)
tree4e41bd4a417d95637d44b60eb2e889ff72beb518 /indexer/feature.hpp
parentebf94896845e189fc9fbab187eb88b2f2b233324 (diff)
Making mwm with additional info section
Diffstat (limited to 'indexer/feature.hpp')
-rw-r--r--indexer/feature.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indexer/feature.hpp b/indexer/feature.hpp
index c42bf7ab06..8db0e00856 100644
--- a/indexer/feature.hpp
+++ b/indexer/feature.hpp
@@ -163,6 +163,8 @@ public:
void ResetGeometry() const;
uint32_t ParseGeometry(int scale) const;
uint32_t ParseTriangles(int scale) const;
+
+ void ParseAdditionalInfo() const;
//@}
/// @name Geometry.
@@ -259,6 +261,7 @@ public:
uint8_t GetRank() const;
uint32_t GetPopulation() const;
string GetRoadNumber() const;
+ inline FeatureParams::AdditionalInfoT const & GetAdditionalInfo() const { return m_additional_info; }
double GetDistance(m2::PointD const & pt, int scale) const;
@@ -308,8 +311,9 @@ private:
typedef buffer_vector<m2::PointD, static_buffer> points_t;
mutable points_t m_points, m_triangles;
+ mutable FeatureParams::AdditionalInfoT m_additional_info;
- mutable bool m_bHeader2Parsed, m_bPointsParsed, m_bTrianglesParsed;
+ mutable bool m_bHeader2Parsed, m_bPointsParsed, m_bTrianglesParsed, m_bAdditionalInfoParsed;
mutable inner_geom_stat_t m_innerStats;