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:
authorvng <viktor.govako@gmail.com>2014-01-22 14:54:27 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:13:19 +0300
commit8e4dd0f39d3dd124b7f9a4314271e7b22cbf8751 (patch)
tree403ead2d205ad3a1e31b69b4731833960bf7a59c /indexer/feature_impl.hpp
parent8db8356f7f63599a1d98028e27b08d790ce36545 (diff)
[search] Factor out feature::IsHouseNumber to separate files.
Diffstat (limited to 'indexer/feature_impl.hpp')
-rw-r--r--indexer/feature_impl.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indexer/feature_impl.hpp b/indexer/feature_impl.hpp
index b6472bce6c..4d3b453f26 100644
--- a/indexer/feature_impl.hpp
+++ b/indexer/feature_impl.hpp
@@ -1,10 +1,13 @@
#pragma once
#include "../base/macros.hpp"
+#include "../base/assert.hpp"
#include "../std/string.hpp"
+namespace strings { class UniString; }
+
namespace feature
{
static int const g_arrWorldScales[] = { 3, 5, 7, 9 }; // 9 = scales::GetUpperWorldScale()
@@ -24,4 +27,8 @@ namespace feature
str += arrChar[ind];
return str;
}
+
+ bool IsNumber(strings::UniString const & s);
+ bool IsHouseNumber(strings::UniString const & s);
+ bool IsHouseNumber(string const & s);
}