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:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2017-02-08 13:55:07 +0300
committerVladiMihaylenko <vxmihaylenko@gmail.com>2017-02-09 14:19:55 +0300
commitbeed2cda319ad6bc2860209c269ff36b3b704378 (patch)
treedc76ac37e51659bb632673b03a8cbe1ff23b5985 /indexer/road_shields_parser.hpp
parent3ead8da93d07802d52b23bd593b72fd80ee07758 (diff)
Review fixes
Diffstat (limited to 'indexer/road_shields_parser.hpp')
-rw-r--r--indexer/road_shields_parser.hpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/indexer/road_shields_parser.hpp b/indexer/road_shields_parser.hpp
new file mode 100644
index 0000000000..a0b8a5405e
--- /dev/null
+++ b/indexer/road_shields_parser.hpp
@@ -0,0 +1,39 @@
+#pragma once
+
+#include "indexer/feature.hpp"
+
+#include <string>
+#include <vector>
+
+namespace ftypes
+{
+enum class RoadShieldType
+{
+ Default = 0,
+ Generic_Green,
+ Generic_Blue,
+ Generic_Red,
+ Generic_Orange,
+ US_Interstate,
+ US_Highway,
+ UK_Highway,
+ Count
+};
+
+struct RoadShield
+{
+ RoadShieldType m_type;
+ std::string m_name;
+ std::string m_additionalText;
+
+ RoadShield() = default;
+ RoadShield(RoadShieldType const & type, std::string const & name)
+ : m_type(type), m_name(name)
+ {}
+ RoadShield(RoadShieldType const & type, std::string const & name, std::string const & additionalText)
+ : m_type(type), m_name(name), m_additionalText(additionalText)
+ {}
+};
+
+std::vector<RoadShield> GetRoadShields(FeatureType const & f);
+} // namespace ftypes