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:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-02-27 10:48:29 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:38:22 +0300
commit07feabd91008db106e3a8057709309894945b295 (patch)
tree23d80aa17c0107400da999990155d0e6e99cfbf0 /indexer/features_offsets_table.hpp
parent47a9725c116804c6238fb530cc523efb37e14a5a (diff)
Feature offset table backward search method
Diffstat (limited to 'indexer/features_offsets_table.hpp')
-rw-r--r--indexer/features_offsets_table.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indexer/features_offsets_table.hpp b/indexer/features_offsets_table.hpp
index 92447e19c4..ceff65f7e0 100644
--- a/indexer/features_offsets_table.hpp
+++ b/indexer/features_offsets_table.hpp
@@ -84,6 +84,10 @@ namespace feature
/// \return offset a feature
uint64_t GetFeatureOffset(size_t index) const;
+ /// \param offset offset of a feature
+ /// \return index of a feature
+ size_t GetFeatureIndexbyOffset(uint64_t offset) const;
+
/// \return number of features offsets in a table.
inline uint64_t size() const
{