diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-03-01 13:48:18 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:51:12 +0300 |
commit | 77059ed4fcf2b5dd32c7c8eb15010ff2c3677e9f (patch) | |
tree | 12eec6654ac188e525661c0c65c2740a2b8d5d71 /indexer/feature_data.cpp | |
parent | 57a9e0cd90cc98e3bb7afa4207b0de2aebc07b14 (diff) |
Add editor config.
Diffstat (limited to 'indexer/feature_data.cpp')
-rw-r--r-- | indexer/feature_data.cpp | 8 |
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 //////////////////////////////////////////////////////////////////////////////////// |