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 Magidovich <mgsergio@mapswithme.com>2016-03-01 13:48:18 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:51:12 +0300
commit77059ed4fcf2b5dd32c7c8eb15010ff2c3677e9f (patch)
tree12eec6654ac188e525661c0c65c2740a2b8d5d71 /indexer/feature_data.cpp
parent57a9e0cd90cc98e3bb7afa4207b0de2aebc07b14 (diff)
Add editor config.
Diffstat (limited to 'indexer/feature_data.cpp')
-rw-r--r--indexer/feature_data.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indexer/feature_data.cpp b/indexer/feature_data.cpp
index 435b2b824f..53492f84a9 100644
--- a/indexer/feature_data.cpp
+++ b/indexer/feature_data.cpp
@@ -166,6 +166,14 @@ void TypesHolder::SortBySpec()
(void) RemoveIfKeepValid(m_types, m_types + m_size, bind<bool>(cref(checker), _1));
}
+vector<string> TypesHolder::ToObjectNames() const
+{
+ vector<string> result;
+ for (auto type : *this)
+ result.push_back(classif().GetReadableObjectName(type));
+ return result;
+}
+
////////////////////////////////////////////////////////////////////////////////////
// FeatureParamsBase implementation
////////////////////////////////////////////////////////////////////////////////////