diff options
author | Alex Zolotarev <alex@mapswithme.com> | 2014-01-27 15:41:39 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:13:23 +0300 |
commit | 8e6b39e0917f7e6c406b45d62d776a6038369cc5 (patch) | |
tree | 26e509e06932c5e2dd1aba06a3a41afe42c28760 /indexer/feature_data.hpp | |
parent | dcf0e87bde413ad167b357d7ffdefcd3c81a2b30 (diff) |
[search] Added basic code to extract addresses for search unit tests
Diffstat (limited to 'indexer/feature_data.hpp')
-rw-r--r-- | indexer/feature_data.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indexer/feature_data.hpp b/indexer/feature_data.hpp index 9c8e47fe2b..8ca13a6da0 100644 --- a/indexer/feature_data.hpp +++ b/indexer/feature_data.hpp @@ -112,6 +112,8 @@ struct FeatureParamsBase string flats; int8_t layer; uint8_t rank; + /// We use it now only for search unit tests + string m_streetAddress; FeatureParamsBase() : layer(0), rank(0) {} @@ -125,6 +127,7 @@ struct FeatureParamsBase void AddHouseName(string const & s); void AddHouseNumber(string const & s); + void AddStreetAddress(string const & s); template <class TSink> void Write(TSink & sink, uint8_t header) const |