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:
authorvng <viktor.govako@gmail.com>2011-05-09 02:53:49 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:17:06 +0300
commit2400357a3db3f7eaf00e8c75d7603168f441fd80 (patch)
tree4597cb81b97faf0e1d92185128d5b0bfd58c5046 /generator/statistics.cpp
parent4ec7dff6c7b847264eb0091b89fe86df1eea95d2 (diff)
Refactoring of feature structure:
- multilanguage names - separate house numbers - point feature rank - refs for linear features
Diffstat (limited to 'generator/statistics.cpp')
-rw-r--r--generator/statistics.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/generator/statistics.cpp b/generator/statistics.cpp
index 84c99ea74a..0d9da58ad7 100644
--- a/generator/statistics.cpp
+++ b/generator/statistics.cpp
@@ -13,6 +13,8 @@
#include "../base/start_mem_debug.hpp"
+using namespace feature;
+
namespace stats
{
void FileContainerStatistic(string const & fName)
@@ -88,12 +90,12 @@ namespace stats
cout << prefix << ": size = " << info.m_size << "; count = " << info.m_count << endl;
}
- string GetKey(FeatureBase::FeatureType type)
+ string GetKey(EGeomType type)
{
switch (type)
{
- case FeatureBase::FEATURE_TYPE_LINE: return "Line";
- case FeatureBase::FEATURE_TYPE_AREA: return "Area";
+ case GEOM_LINE: return "Line";
+ case GEOM_AREA: return "Area";
default: return "Point";
}
}