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:
authorAlex Zolotarev <alex@maps.me>2016-03-17 13:28:02 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:56:43 +0300
commitb87699ccc8b9ee23690b1ded15a96378497fe7e8 (patch)
tree7e9ad57e74a7fd3c870d16033b98f11bf0046053 /search/result.hpp
parente6169abec1f57fb275b6180c05ec233bf09b3c42 (diff)
[search] Print street, house number for buildings in search results. Also print addresses.
Diffstat (limited to 'search/result.hpp')
-rw-r--r--search/result.hpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/search/result.hpp b/search/result.hpp
index 4da4d7956e..d0cec78b53 100644
--- a/search/result.hpp
+++ b/search/result.hpp
@@ -41,15 +41,10 @@ public:
/// For RESULT_FEATURE.
Result(FeatureID const & id, m2::PointD const & pt, string const & str, string const & address,
- string const & type, uint32_t featureType, Metadata const & meta);
+ string const & type, uint32_t featureType, Metadata const & meta = {});
- /// Used for generation viewport results.
- Result(FeatureID const & id, m2::PointD const & pt, string const & str,
- string const & address, string const & type);
-
- /// @param[in] type Empty string - RESULT_LATLON, building address otherwise.
- Result(m2::PointD const & pt, string const & str,
- string const & address, string const & type);
+ /// For RESULT_LATLON.
+ Result(m2::PointD const & pt, string const & latlon, string const & address);
/// For RESULT_SUGGESTION_PURE.
Result(string const & str, string const & suggest);
@@ -112,8 +107,6 @@ public:
string ToStringForStats() const;
private:
- void Init(bool metadataInitialized);
-
FeatureID m_id;
m2::PointD m_center;
string m_str, m_address, m_type;