diff options
author | Alex Zolotarev <alex@maps.me> | 2016-01-26 13:22:04 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:14:52 +0300 |
commit | f60b3fe1aed71139ecb086c44457dad1cc26c69f (patch) | |
tree | 76e2c4b062dc14dec8ebb38f0080cb9de3e1887a /indexer/feature_decl.cpp | |
parent | deff0f5c25f0c6a2a01700e78f7e530242ebfbb0 (diff) |
DebugPrint for feature::EGeomType.
Diffstat (limited to 'indexer/feature_decl.cpp')
-rw-r--r-- | indexer/feature_decl.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indexer/feature_decl.cpp b/indexer/feature_decl.cpp index 6c1e60a238..fec8472d45 100644 --- a/indexer/feature_decl.cpp +++ b/indexer/feature_decl.cpp @@ -8,3 +8,15 @@ string DebugPrint(FeatureID const & id) ss << "{ " << DebugPrint(id.m_mwmId) << ", " << id.m_index << " }"; return ss.str(); } + +string DebugPrint(feature::EGeomType type) +{ + using feature::EGeomType; + switch (type) + { + case EGeomType::GEOM_UNDEFINED: return "GEOM_UNDEFINED"; + case EGeomType::GEOM_POINT: return "GEOM_POINT"; + case EGeomType::GEOM_LINE: return "GEOM_LINE"; + case EGeomType::GEOM_AREA: return "GEOM_AREA"; + } +} |