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-04 15:50:07 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:04:17 +0300
commit4ab632bc479dab5973327b9177a3a34a4d56ff01 (patch)
tree4eb26c51c88a88c3eacec65ada2339ee641d1bff /indexer/feature.cpp
parent075913c187213e007722e3bd451f5cdcae454dbe (diff)
Added FeatureType::ParseEverything().
Diffstat (limited to 'indexer/feature.cpp')
-rw-r--r--indexer/feature.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indexer/feature.cpp b/indexer/feature.cpp
index ce890fa570..000cabb778 100644
--- a/indexer/feature.cpp
+++ b/indexer/feature.cpp
@@ -181,6 +181,15 @@ void FeatureType::Deserialize(feature::LoaderBase * pLoader, TBuffer buffer)
m_innerStats.MakeZero();
}
+void FeatureType::ParseEverything() const
+{
+ // Also calls ParseCommon() and ParseTypes().
+ ParseHeader2();
+ ParseGeometry(FeatureType::BEST_GEOMETRY);
+ ParseTriangles(FeatureType::BEST_GEOMETRY);
+ ParseMetadata();
+}
+
void FeatureType::ParseHeader2() const
{
if (!m_bHeader2Parsed)