diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2012-05-14 19:11:33 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:38:18 +0300 |
commit | 708e96f839a456b6f6776e8abcd1477be6fd4c16 (patch) | |
tree | 0500b500ce18ca499e96bf76090e595552741c3e /map/address_finder.cpp | |
parent | bb9a614eda7248806053d296c8d4c85689051ef9 (diff) |
Added AddressInfo::FormatTypes()
Diffstat (limited to 'map/address_finder.cpp')
-rw-r--r-- | map/address_finder.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/map/address_finder.cpp b/map/address_finder.cpp index e55c917317..76e4c9be51 100644 --- a/map/address_finder.cpp +++ b/map/address_finder.cpp @@ -426,3 +426,15 @@ string Framework::AddressInfo::FormatAddress() const } return result; } + +string Framework::AddressInfo::FormatTypes() const +{ + string result; + for (size_t i = 0; i < m_types.size(); ++i) + { + if (!result.empty()) + result += ' '; + result += m_types[i]; + } + return result; +} |