Branch data Line data Source code
1 : : /* 2 : : * ----------------- BEGIN LICENSE BLOCK --------------------------------- 3 : : * 4 : : * Copyright (C) 2018-2020 Intel Corporation 5 : : * 6 : : * SPDX-License-Identifier: MIT 7 : : * 8 : : * ----------------- END LICENSE BLOCK ----------------------------------- 9 : : */ 10 : : 11 : : /** 12 : : * Generated file 13 : : * @file 14 : : * 15 : : * Generator Version : 11.0.0-1997 16 : : */ 17 : : 18 : : #include "ad/map/landmark/TrafficSignType.hpp" 19 : : #include <stdexcept> 20 : : 21 : 93 : std::string toString(::ad::map::landmark::TrafficSignType const e) 22 : : { 23 [ + + + + : 93 : switch (e) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ] 24 : : { 25 : 14 : case ::ad::map::landmark::TrafficSignType::INVALID: 26 : 14 : return std::string("::ad::map::landmark::TrafficSignType::INVALID"); // LCOV_EXCL_BR_LINE 27 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT: 28 : 1 : return std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT"); // LCOV_EXCL_BR_LINE 29 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_RIGHT: 30 : 1 : return std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_RIGHT"); // LCOV_EXCL_BR_LINE 31 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT_RIGHT: 32 : : return std::string( 33 : 1 : "::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT_RIGHT"); // LCOV_EXCL_BR_LINE 34 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_UP_DOWN: 35 : 1 : return std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_UP_DOWN"); // LCOV_EXCL_BR_LINE 36 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT_RIGHT_BICYCLE: 37 : : return std::string( 38 : 1 : "::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT_RIGHT_BICYCLE"); // LCOV_EXCL_BR_LINE 39 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_UP_DOWN_BICYCLE: 40 : : return std::string( 41 : 1 : "::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_UP_DOWN_BICYCLE"); // LCOV_EXCL_BR_LINE 42 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_APPLIES_NEXT_N_KM_TIME: 43 : : return std::string( 44 : 1 : "::ad::map::landmark::TrafficSignType::SUPPLEMENT_APPLIES_NEXT_N_KM_TIME"); // LCOV_EXCL_BR_LINE 45 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ENDS: 46 : 1 : return std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_ENDS"); // LCOV_EXCL_BR_LINE 47 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_RESIDENTS_ALLOWED: 48 : 1 : return std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_RESIDENTS_ALLOWED"); // LCOV_EXCL_BR_LINE 49 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_BICYCLE_ALLOWED: 50 : 1 : return std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_BICYCLE_ALLOWED"); // LCOV_EXCL_BR_LINE 51 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_MOPED_ALLOWED: 52 : 1 : return std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_MOPED_ALLOWED"); // LCOV_EXCL_BR_LINE 53 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_TRAM_ALLOWED: 54 : 1 : return std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_TRAM_ALLOWED"); // LCOV_EXCL_BR_LINE 55 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_FORESTAL_ALLOWED: 56 : 1 : return std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_FORESTAL_ALLOWED"); // LCOV_EXCL_BR_LINE 57 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_CONSTRUCTION_VEHICLE_ALLOWED: 58 : : return std::string( 59 : 1 : "::ad::map::landmark::TrafficSignType::SUPPLEMENT_CONSTRUCTION_VEHICLE_ALLOWED"); // LCOV_EXCL_BR_LINE 60 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ENVIRONMENT_ZONE_YELLOW_GREEN: 61 : : return std::string( 62 : 1 : "::ad::map::landmark::TrafficSignType::SUPPLEMENT_ENVIRONMENT_ZONE_YELLOW_GREEN"); // LCOV_EXCL_BR_LINE 63 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_RAILWAY_ONLY: 64 : 1 : return std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_RAILWAY_ONLY"); // LCOV_EXCL_BR_LINE 65 : 1 : case ::ad::map::landmark::TrafficSignType::SUPPLEMENT_APPLIES_FOR_WEIGHT: 66 : 1 : return std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_APPLIES_FOR_WEIGHT"); // LCOV_EXCL_BR_LINE 67 : 1 : case ::ad::map::landmark::TrafficSignType::DANGER: 68 : 1 : return std::string("::ad::map::landmark::TrafficSignType::DANGER"); // LCOV_EXCL_BR_LINE 69 : 1 : case ::ad::map::landmark::TrafficSignType::LANES_MERGING: 70 : 1 : return std::string("::ad::map::landmark::TrafficSignType::LANES_MERGING"); // LCOV_EXCL_BR_LINE 71 : 1 : case ::ad::map::landmark::TrafficSignType::CAUTION_PEDESTRIAN: 72 : 1 : return std::string("::ad::map::landmark::TrafficSignType::CAUTION_PEDESTRIAN"); // LCOV_EXCL_BR_LINE 73 : 1 : case ::ad::map::landmark::TrafficSignType::CAUTION_CHILDREN: 74 : 1 : return std::string("::ad::map::landmark::TrafficSignType::CAUTION_CHILDREN"); // LCOV_EXCL_BR_LINE 75 : 1 : case ::ad::map::landmark::TrafficSignType::CAUTION_BICYCLE: 76 : 1 : return std::string("::ad::map::landmark::TrafficSignType::CAUTION_BICYCLE"); // LCOV_EXCL_BR_LINE 77 : 1 : case ::ad::map::landmark::TrafficSignType::CAUTION_ANIMALS: 78 : 1 : return std::string("::ad::map::landmark::TrafficSignType::CAUTION_ANIMALS"); // LCOV_EXCL_BR_LINE 79 : 1 : case ::ad::map::landmark::TrafficSignType::CAUTION_RAIL_CROSSING_WITH_BARRIER: 80 : : return std::string( 81 : 1 : "::ad::map::landmark::TrafficSignType::CAUTION_RAIL_CROSSING_WITH_BARRIER"); // LCOV_EXCL_BR_LINE 82 : 1 : case ::ad::map::landmark::TrafficSignType::CAUTION_RAIL_CROSSING: 83 : 1 : return std::string("::ad::map::landmark::TrafficSignType::CAUTION_RAIL_CROSSING"); // LCOV_EXCL_BR_LINE 84 : 1 : case ::ad::map::landmark::TrafficSignType::YIELD_TRAIN: 85 : 1 : return std::string("::ad::map::landmark::TrafficSignType::YIELD_TRAIN"); // LCOV_EXCL_BR_LINE 86 : 1 : case ::ad::map::landmark::TrafficSignType::YIELD: 87 : 1 : return std::string("::ad::map::landmark::TrafficSignType::YIELD"); // LCOV_EXCL_BR_LINE 88 : 1 : case ::ad::map::landmark::TrafficSignType::STOP: 89 : 1 : return std::string("::ad::map::landmark::TrafficSignType::STOP"); // LCOV_EXCL_BR_LINE 90 : 1 : case ::ad::map::landmark::TrafficSignType::REQUIRED_RIGHT_TURN: 91 : 1 : return std::string("::ad::map::landmark::TrafficSignType::REQUIRED_RIGHT_TURN"); // LCOV_EXCL_BR_LINE 92 : 1 : case ::ad::map::landmark::TrafficSignType::REQUIRED_LEFT_TURN: 93 : 1 : return std::string("::ad::map::landmark::TrafficSignType::REQUIRED_LEFT_TURN"); // LCOV_EXCL_BR_LINE 94 : 1 : case ::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT: 95 : 1 : return std::string("::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT"); // LCOV_EXCL_BR_LINE 96 : 1 : case ::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT_OR_RIGHT_TURN: 97 : 1 : return std::string("::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT_OR_RIGHT_TURN"); // LCOV_EXCL_BR_LINE 98 : 1 : case ::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT_OR_LEFT_TURN: 99 : 1 : return std::string("::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT_OR_LEFT_TURN"); // LCOV_EXCL_BR_LINE 100 : 1 : case ::ad::map::landmark::TrafficSignType::ROUNDABOUT: 101 : 1 : return std::string("::ad::map::landmark::TrafficSignType::ROUNDABOUT"); // LCOV_EXCL_BR_LINE 102 : 1 : case ::ad::map::landmark::TrafficSignType::PASS_RIGHT: 103 : 1 : return std::string("::ad::map::landmark::TrafficSignType::PASS_RIGHT"); // LCOV_EXCL_BR_LINE 104 : 1 : case ::ad::map::landmark::TrafficSignType::PASS_LEFT: 105 : 1 : return std::string("::ad::map::landmark::TrafficSignType::PASS_LEFT"); // LCOV_EXCL_BR_LINE 106 : 1 : case ::ad::map::landmark::TrafficSignType::BYBICLE_PATH: 107 : 1 : return std::string("::ad::map::landmark::TrafficSignType::BYBICLE_PATH"); // LCOV_EXCL_BR_LINE 108 : 1 : case ::ad::map::landmark::TrafficSignType::FOOTWALK: 109 : 1 : return std::string("::ad::map::landmark::TrafficSignType::FOOTWALK"); // LCOV_EXCL_BR_LINE 110 : 1 : case ::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SHARED: 111 : 1 : return std::string("::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SHARED"); // LCOV_EXCL_BR_LINE 112 : 1 : case ::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SEP_RIGHT: 113 : 1 : return std::string("::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SEP_RIGHT"); // LCOV_EXCL_BR_LINE 114 : 1 : case ::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SEP_LEFT: 115 : 1 : return std::string("::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SEP_LEFT"); // LCOV_EXCL_BR_LINE 116 : 1 : case ::ad::map::landmark::TrafficSignType::PEDESTRIAN_AREA_BEGIN: 117 : 1 : return std::string("::ad::map::landmark::TrafficSignType::PEDESTRIAN_AREA_BEGIN"); // LCOV_EXCL_BR_LINE 118 : 1 : case ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN: 119 : 1 : return std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN"); // LCOV_EXCL_BR_LINE 120 : 1 : case ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_TRUCKS: 121 : 1 : return std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_TRUCKS"); // LCOV_EXCL_BR_LINE 122 : 1 : case ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_BICYCLE: 123 : 1 : return std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_BICYCLE"); // LCOV_EXCL_BR_LINE 124 : 1 : case ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_MOTORVEHICLES: 125 : 1 : return std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_MOTORVEHICLES"); // LCOV_EXCL_BR_LINE 126 : 1 : case ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WEIGHT: 127 : 1 : return std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WEIGHT"); // LCOV_EXCL_BR_LINE 128 : 1 : case ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WIDTH: 129 : 1 : return std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WIDTH"); // LCOV_EXCL_BR_LINE 130 : 1 : case ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_HEIGHT: 131 : 1 : return std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_HEIGHT"); // LCOV_EXCL_BR_LINE 132 : 1 : case ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WRONG_DIR: 133 : 1 : return std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WRONG_DIR"); // LCOV_EXCL_BR_LINE 134 : 1 : case ::ad::map::landmark::TrafficSignType::ENVIORNMENT_ZONE_BEGIN: 135 : 1 : return std::string("::ad::map::landmark::TrafficSignType::ENVIORNMENT_ZONE_BEGIN"); // LCOV_EXCL_BR_LINE 136 : 1 : case ::ad::map::landmark::TrafficSignType::ENVIORNMENT_ZONE_END: 137 : 1 : return std::string("::ad::map::landmark::TrafficSignType::ENVIORNMENT_ZONE_END"); // LCOV_EXCL_BR_LINE 138 : 1 : case ::ad::map::landmark::TrafficSignType::MAX_SPEED: 139 : 1 : return std::string("::ad::map::landmark::TrafficSignType::MAX_SPEED"); // LCOV_EXCL_BR_LINE 140 : 1 : case ::ad::map::landmark::TrafficSignType::SPEED_ZONE_30_BEGIN: 141 : 1 : return std::string("::ad::map::landmark::TrafficSignType::SPEED_ZONE_30_BEGIN"); // LCOV_EXCL_BR_LINE 142 : 1 : case ::ad::map::landmark::TrafficSignType::SPEED_ZONE_30_END: 143 : 1 : return std::string("::ad::map::landmark::TrafficSignType::SPEED_ZONE_30_END"); // LCOV_EXCL_BR_LINE 144 : 1 : case ::ad::map::landmark::TrafficSignType::HAS_WAY_NEXT_INTERSECTION: 145 : 1 : return std::string("::ad::map::landmark::TrafficSignType::HAS_WAY_NEXT_INTERSECTION"); // LCOV_EXCL_BR_LINE 146 : 1 : case ::ad::map::landmark::TrafficSignType::PRIORITY_WAY: 147 : 1 : return std::string("::ad::map::landmark::TrafficSignType::PRIORITY_WAY"); // LCOV_EXCL_BR_LINE 148 : 1 : case ::ad::map::landmark::TrafficSignType::CITY_BEGIN: 149 : 1 : return std::string("::ad::map::landmark::TrafficSignType::CITY_BEGIN"); // LCOV_EXCL_BR_LINE 150 : 1 : case ::ad::map::landmark::TrafficSignType::CITY_END: 151 : 1 : return std::string("::ad::map::landmark::TrafficSignType::CITY_END"); // LCOV_EXCL_BR_LINE 152 : 1 : case ::ad::map::landmark::TrafficSignType::MOTORWAY_BEGIN: 153 : 1 : return std::string("::ad::map::landmark::TrafficSignType::MOTORWAY_BEGIN"); // LCOV_EXCL_BR_LINE 154 : 1 : case ::ad::map::landmark::TrafficSignType::MOTORWAY_END: 155 : 1 : return std::string("::ad::map::landmark::TrafficSignType::MOTORWAY_END"); // LCOV_EXCL_BR_LINE 156 : 1 : case ::ad::map::landmark::TrafficSignType::MOTORVEHICLE_BEGIN: 157 : 1 : return std::string("::ad::map::landmark::TrafficSignType::MOTORVEHICLE_BEGIN"); // LCOV_EXCL_BR_LINE 158 : 1 : case ::ad::map::landmark::TrafficSignType::MOTORVEHICLE_END: 159 : 1 : return std::string("::ad::map::landmark::TrafficSignType::MOTORVEHICLE_END"); // LCOV_EXCL_BR_LINE 160 : 1 : case ::ad::map::landmark::TrafficSignType::INFO_MOTORWAY_INFO: 161 : 1 : return std::string("::ad::map::landmark::TrafficSignType::INFO_MOTORWAY_INFO"); // LCOV_EXCL_BR_LINE 162 : 1 : case ::ad::map::landmark::TrafficSignType::CUL_DE_SAC: 163 : 1 : return std::string("::ad::map::landmark::TrafficSignType::CUL_DE_SAC"); // LCOV_EXCL_BR_LINE 164 : 1 : case ::ad::map::landmark::TrafficSignType::CUL_DE_SAC_EXCEPT_PED_BICYCLE: 165 : 1 : return std::string("::ad::map::landmark::TrafficSignType::CUL_DE_SAC_EXCEPT_PED_BICYCLE"); // LCOV_EXCL_BR_LINE 166 : 1 : case ::ad::map::landmark::TrafficSignType::INFO_NUMBER_OF_AUTOBAHN: 167 : 1 : return std::string("::ad::map::landmark::TrafficSignType::INFO_NUMBER_OF_AUTOBAHN"); // LCOV_EXCL_BR_LINE 168 : 1 : case ::ad::map::landmark::TrafficSignType::DIRECTION_TURN_TO_AUTOBAHN: 169 : 1 : return std::string("::ad::map::landmark::TrafficSignType::DIRECTION_TURN_TO_AUTOBAHN"); // LCOV_EXCL_BR_LINE 170 : 1 : case ::ad::map::landmark::TrafficSignType::DIRECTION_TURN_TO_LOCAL: 171 : 1 : return std::string("::ad::map::landmark::TrafficSignType::DIRECTION_TURN_TO_LOCAL"); // LCOV_EXCL_BR_LINE 172 : 1 : case ::ad::map::landmark::TrafficSignType::DESTINATION_BOARD: 173 : 1 : return std::string("::ad::map::landmark::TrafficSignType::DESTINATION_BOARD"); // LCOV_EXCL_BR_LINE 174 : 1 : case ::ad::map::landmark::TrafficSignType::FREE_TEXT: 175 : 1 : return std::string("::ad::map::landmark::TrafficSignType::FREE_TEXT"); // LCOV_EXCL_BR_LINE 176 : 1 : case ::ad::map::landmark::TrafficSignType::UNKNOWN: 177 : 1 : return std::string("::ad::map::landmark::TrafficSignType::UNKNOWN"); // LCOV_EXCL_BR_LINE 178 : 7 : default: 179 : 7 : return std::string("UNKNOWN ENUM VALUE"); // LCOV_EXCL_BR_LINE 180 : : } 181 : : } 182 : : 183 : 147 : template <>::ad::map::landmark::TrafficSignType fromString(std::string const &str) 184 : : { 185 : 147 : if (str == std::string("::ad::map::landmark::TrafficSignType::INVALID")) // LCOV_EXCL_BR_LINE 186 : : { 187 : 1 : return ::ad::map::landmark::TrafficSignType::INVALID; 188 : : } 189 : 146 : if (str == std::string("INVALID")) // LCOV_EXCL_BR_LINE 190 : : { 191 : 1 : return ::ad::map::landmark::TrafficSignType::INVALID; 192 : : } 193 : 145 : if (str == std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT")) // LCOV_EXCL_BR_LINE 194 : : { 195 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT; 196 : : } 197 : 144 : if (str == std::string("SUPPLEMENT_ARROW_APPLIES_LEFT")) // LCOV_EXCL_BR_LINE 198 : : { 199 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT; 200 : : } 201 : 143 : if (str == std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_RIGHT")) // LCOV_EXCL_BR_LINE 202 : : { 203 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_RIGHT; 204 : : } 205 : 142 : if (str == std::string("SUPPLEMENT_ARROW_APPLIES_RIGHT")) // LCOV_EXCL_BR_LINE 206 : : { 207 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_RIGHT; 208 : : } 209 : 141 : if (str 210 : 141 : == std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT_RIGHT")) // LCOV_EXCL_BR_LINE 211 : : { 212 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT_RIGHT; 213 : : } 214 : 140 : if (str == std::string("SUPPLEMENT_ARROW_APPLIES_LEFT_RIGHT")) // LCOV_EXCL_BR_LINE 215 : : { 216 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT_RIGHT; 217 : : } 218 : 139 : if (str == std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_UP_DOWN")) // LCOV_EXCL_BR_LINE 219 : : { 220 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_UP_DOWN; 221 : : } 222 : 138 : if (str == std::string("SUPPLEMENT_ARROW_APPLIES_UP_DOWN")) // LCOV_EXCL_BR_LINE 223 : : { 224 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_UP_DOWN; 225 : : } 226 : 137 : if (str 227 [ + - + + ]: 137 : == std::string( 228 : : "::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT_RIGHT_BICYCLE")) // LCOV_EXCL_BR_LINE 229 : : { 230 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT_RIGHT_BICYCLE; 231 : : } 232 : 136 : if (str == std::string("SUPPLEMENT_ARROW_APPLIES_LEFT_RIGHT_BICYCLE")) // LCOV_EXCL_BR_LINE 233 : : { 234 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_LEFT_RIGHT_BICYCLE; 235 : : } 236 : 135 : if (str 237 [ + - + + ]: 135 : == std::string( 238 : : "::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_UP_DOWN_BICYCLE")) // LCOV_EXCL_BR_LINE 239 : : { 240 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_UP_DOWN_BICYCLE; 241 : : } 242 : 134 : if (str == std::string("SUPPLEMENT_ARROW_APPLIES_UP_DOWN_BICYCLE")) // LCOV_EXCL_BR_LINE 243 : : { 244 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ARROW_APPLIES_UP_DOWN_BICYCLE; 245 : : } 246 : 133 : if (str 247 : 133 : == std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_APPLIES_NEXT_N_KM_TIME")) // LCOV_EXCL_BR_LINE 248 : : { 249 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_APPLIES_NEXT_N_KM_TIME; 250 : : } 251 : 132 : if (str == std::string("SUPPLEMENT_APPLIES_NEXT_N_KM_TIME")) // LCOV_EXCL_BR_LINE 252 : : { 253 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_APPLIES_NEXT_N_KM_TIME; 254 : : } 255 : 131 : if (str == std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_ENDS")) // LCOV_EXCL_BR_LINE 256 : : { 257 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ENDS; 258 : : } 259 : 130 : if (str == std::string("SUPPLEMENT_ENDS")) // LCOV_EXCL_BR_LINE 260 : : { 261 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ENDS; 262 : : } 263 : 129 : if (str == std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_RESIDENTS_ALLOWED")) // LCOV_EXCL_BR_LINE 264 : : { 265 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_RESIDENTS_ALLOWED; 266 : : } 267 : 128 : if (str == std::string("SUPPLEMENT_RESIDENTS_ALLOWED")) // LCOV_EXCL_BR_LINE 268 : : { 269 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_RESIDENTS_ALLOWED; 270 : : } 271 : 127 : if (str == std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_BICYCLE_ALLOWED")) // LCOV_EXCL_BR_LINE 272 : : { 273 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_BICYCLE_ALLOWED; 274 : : } 275 : 126 : if (str == std::string("SUPPLEMENT_BICYCLE_ALLOWED")) // LCOV_EXCL_BR_LINE 276 : : { 277 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_BICYCLE_ALLOWED; 278 : : } 279 : 125 : if (str == std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_MOPED_ALLOWED")) // LCOV_EXCL_BR_LINE 280 : : { 281 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_MOPED_ALLOWED; 282 : : } 283 : 124 : if (str == std::string("SUPPLEMENT_MOPED_ALLOWED")) // LCOV_EXCL_BR_LINE 284 : : { 285 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_MOPED_ALLOWED; 286 : : } 287 : 123 : if (str == std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_TRAM_ALLOWED")) // LCOV_EXCL_BR_LINE 288 : : { 289 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_TRAM_ALLOWED; 290 : : } 291 : 122 : if (str == std::string("SUPPLEMENT_TRAM_ALLOWED")) // LCOV_EXCL_BR_LINE 292 : : { 293 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_TRAM_ALLOWED; 294 : : } 295 : 121 : if (str == std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_FORESTAL_ALLOWED")) // LCOV_EXCL_BR_LINE 296 : : { 297 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_FORESTAL_ALLOWED; 298 : : } 299 : 120 : if (str == std::string("SUPPLEMENT_FORESTAL_ALLOWED")) // LCOV_EXCL_BR_LINE 300 : : { 301 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_FORESTAL_ALLOWED; 302 : : } 303 : 119 : if (str 304 [ + - + + ]: 119 : == std::string( 305 : : "::ad::map::landmark::TrafficSignType::SUPPLEMENT_CONSTRUCTION_VEHICLE_ALLOWED")) // LCOV_EXCL_BR_LINE 306 : : { 307 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_CONSTRUCTION_VEHICLE_ALLOWED; 308 : : } 309 : 118 : if (str == std::string("SUPPLEMENT_CONSTRUCTION_VEHICLE_ALLOWED")) // LCOV_EXCL_BR_LINE 310 : : { 311 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_CONSTRUCTION_VEHICLE_ALLOWED; 312 : : } 313 : 117 : if (str 314 [ + - + + ]: 117 : == std::string( 315 : : "::ad::map::landmark::TrafficSignType::SUPPLEMENT_ENVIRONMENT_ZONE_YELLOW_GREEN")) // LCOV_EXCL_BR_LINE 316 : : { 317 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ENVIRONMENT_ZONE_YELLOW_GREEN; 318 : : } 319 : 116 : if (str == std::string("SUPPLEMENT_ENVIRONMENT_ZONE_YELLOW_GREEN")) // LCOV_EXCL_BR_LINE 320 : : { 321 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_ENVIRONMENT_ZONE_YELLOW_GREEN; 322 : : } 323 : 115 : if (str == std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_RAILWAY_ONLY")) // LCOV_EXCL_BR_LINE 324 : : { 325 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_RAILWAY_ONLY; 326 : : } 327 : 114 : if (str == std::string("SUPPLEMENT_RAILWAY_ONLY")) // LCOV_EXCL_BR_LINE 328 : : { 329 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_RAILWAY_ONLY; 330 : : } 331 : 113 : if (str == std::string("::ad::map::landmark::TrafficSignType::SUPPLEMENT_APPLIES_FOR_WEIGHT")) // LCOV_EXCL_BR_LINE 332 : : { 333 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_APPLIES_FOR_WEIGHT; 334 : : } 335 : 112 : if (str == std::string("SUPPLEMENT_APPLIES_FOR_WEIGHT")) // LCOV_EXCL_BR_LINE 336 : : { 337 : 1 : return ::ad::map::landmark::TrafficSignType::SUPPLEMENT_APPLIES_FOR_WEIGHT; 338 : : } 339 : 111 : if (str == std::string("::ad::map::landmark::TrafficSignType::DANGER")) // LCOV_EXCL_BR_LINE 340 : : { 341 : 1 : return ::ad::map::landmark::TrafficSignType::DANGER; 342 : : } 343 : 110 : if (str == std::string("DANGER")) // LCOV_EXCL_BR_LINE 344 : : { 345 : 1 : return ::ad::map::landmark::TrafficSignType::DANGER; 346 : : } 347 : 109 : if (str == std::string("::ad::map::landmark::TrafficSignType::LANES_MERGING")) // LCOV_EXCL_BR_LINE 348 : : { 349 : 1 : return ::ad::map::landmark::TrafficSignType::LANES_MERGING; 350 : : } 351 : 108 : if (str == std::string("LANES_MERGING")) // LCOV_EXCL_BR_LINE 352 : : { 353 : 1 : return ::ad::map::landmark::TrafficSignType::LANES_MERGING; 354 : : } 355 : 107 : if (str == std::string("::ad::map::landmark::TrafficSignType::CAUTION_PEDESTRIAN")) // LCOV_EXCL_BR_LINE 356 : : { 357 : 1 : return ::ad::map::landmark::TrafficSignType::CAUTION_PEDESTRIAN; 358 : : } 359 : 106 : if (str == std::string("CAUTION_PEDESTRIAN")) // LCOV_EXCL_BR_LINE 360 : : { 361 : 1 : return ::ad::map::landmark::TrafficSignType::CAUTION_PEDESTRIAN; 362 : : } 363 : 105 : if (str == std::string("::ad::map::landmark::TrafficSignType::CAUTION_CHILDREN")) // LCOV_EXCL_BR_LINE 364 : : { 365 : 1 : return ::ad::map::landmark::TrafficSignType::CAUTION_CHILDREN; 366 : : } 367 : 104 : if (str == std::string("CAUTION_CHILDREN")) // LCOV_EXCL_BR_LINE 368 : : { 369 : 1 : return ::ad::map::landmark::TrafficSignType::CAUTION_CHILDREN; 370 : : } 371 : 103 : if (str == std::string("::ad::map::landmark::TrafficSignType::CAUTION_BICYCLE")) // LCOV_EXCL_BR_LINE 372 : : { 373 : 1 : return ::ad::map::landmark::TrafficSignType::CAUTION_BICYCLE; 374 : : } 375 : 102 : if (str == std::string("CAUTION_BICYCLE")) // LCOV_EXCL_BR_LINE 376 : : { 377 : 1 : return ::ad::map::landmark::TrafficSignType::CAUTION_BICYCLE; 378 : : } 379 : 101 : if (str == std::string("::ad::map::landmark::TrafficSignType::CAUTION_ANIMALS")) // LCOV_EXCL_BR_LINE 380 : : { 381 : 1 : return ::ad::map::landmark::TrafficSignType::CAUTION_ANIMALS; 382 : : } 383 : 100 : if (str == std::string("CAUTION_ANIMALS")) // LCOV_EXCL_BR_LINE 384 : : { 385 : 1 : return ::ad::map::landmark::TrafficSignType::CAUTION_ANIMALS; 386 : : } 387 : 99 : if (str 388 : 99 : == std::string("::ad::map::landmark::TrafficSignType::CAUTION_RAIL_CROSSING_WITH_BARRIER")) // LCOV_EXCL_BR_LINE 389 : : { 390 : 1 : return ::ad::map::landmark::TrafficSignType::CAUTION_RAIL_CROSSING_WITH_BARRIER; 391 : : } 392 : 98 : if (str == std::string("CAUTION_RAIL_CROSSING_WITH_BARRIER")) // LCOV_EXCL_BR_LINE 393 : : { 394 : 1 : return ::ad::map::landmark::TrafficSignType::CAUTION_RAIL_CROSSING_WITH_BARRIER; 395 : : } 396 : 97 : if (str == std::string("::ad::map::landmark::TrafficSignType::CAUTION_RAIL_CROSSING")) // LCOV_EXCL_BR_LINE 397 : : { 398 : 1 : return ::ad::map::landmark::TrafficSignType::CAUTION_RAIL_CROSSING; 399 : : } 400 : 96 : if (str == std::string("CAUTION_RAIL_CROSSING")) // LCOV_EXCL_BR_LINE 401 : : { 402 : 1 : return ::ad::map::landmark::TrafficSignType::CAUTION_RAIL_CROSSING; 403 : : } 404 : 95 : if (str == std::string("::ad::map::landmark::TrafficSignType::YIELD_TRAIN")) // LCOV_EXCL_BR_LINE 405 : : { 406 : 1 : return ::ad::map::landmark::TrafficSignType::YIELD_TRAIN; 407 : : } 408 : 94 : if (str == std::string("YIELD_TRAIN")) // LCOV_EXCL_BR_LINE 409 : : { 410 : 1 : return ::ad::map::landmark::TrafficSignType::YIELD_TRAIN; 411 : : } 412 : 93 : if (str == std::string("::ad::map::landmark::TrafficSignType::YIELD")) // LCOV_EXCL_BR_LINE 413 : : { 414 : 1 : return ::ad::map::landmark::TrafficSignType::YIELD; 415 : : } 416 : 92 : if (str == std::string("YIELD")) // LCOV_EXCL_BR_LINE 417 : : { 418 : 1 : return ::ad::map::landmark::TrafficSignType::YIELD; 419 : : } 420 : 91 : if (str == std::string("::ad::map::landmark::TrafficSignType::STOP")) // LCOV_EXCL_BR_LINE 421 : : { 422 : 1 : return ::ad::map::landmark::TrafficSignType::STOP; 423 : : } 424 : 90 : if (str == std::string("STOP")) // LCOV_EXCL_BR_LINE 425 : : { 426 : 1 : return ::ad::map::landmark::TrafficSignType::STOP; 427 : : } 428 : 89 : if (str == std::string("::ad::map::landmark::TrafficSignType::REQUIRED_RIGHT_TURN")) // LCOV_EXCL_BR_LINE 429 : : { 430 : 1 : return ::ad::map::landmark::TrafficSignType::REQUIRED_RIGHT_TURN; 431 : : } 432 : 88 : if (str == std::string("REQUIRED_RIGHT_TURN")) // LCOV_EXCL_BR_LINE 433 : : { 434 : 1 : return ::ad::map::landmark::TrafficSignType::REQUIRED_RIGHT_TURN; 435 : : } 436 : 87 : if (str == std::string("::ad::map::landmark::TrafficSignType::REQUIRED_LEFT_TURN")) // LCOV_EXCL_BR_LINE 437 : : { 438 : 1 : return ::ad::map::landmark::TrafficSignType::REQUIRED_LEFT_TURN; 439 : : } 440 : 86 : if (str == std::string("REQUIRED_LEFT_TURN")) // LCOV_EXCL_BR_LINE 441 : : { 442 : 1 : return ::ad::map::landmark::TrafficSignType::REQUIRED_LEFT_TURN; 443 : : } 444 : 85 : if (str == std::string("::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT")) // LCOV_EXCL_BR_LINE 445 : : { 446 : 1 : return ::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT; 447 : : } 448 : 84 : if (str == std::string("REQUIRED_STRAIGHT")) // LCOV_EXCL_BR_LINE 449 : : { 450 : 1 : return ::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT; 451 : : } 452 : 83 : if (str == std::string("::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT_OR_RIGHT_TURN")) // LCOV_EXCL_BR_LINE 453 : : { 454 : 1 : return ::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT_OR_RIGHT_TURN; 455 : : } 456 : 82 : if (str == std::string("REQUIRED_STRAIGHT_OR_RIGHT_TURN")) // LCOV_EXCL_BR_LINE 457 : : { 458 : 1 : return ::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT_OR_RIGHT_TURN; 459 : : } 460 : 81 : if (str == std::string("::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT_OR_LEFT_TURN")) // LCOV_EXCL_BR_LINE 461 : : { 462 : 1 : return ::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT_OR_LEFT_TURN; 463 : : } 464 : 80 : if (str == std::string("REQUIRED_STRAIGHT_OR_LEFT_TURN")) // LCOV_EXCL_BR_LINE 465 : : { 466 : 1 : return ::ad::map::landmark::TrafficSignType::REQUIRED_STRAIGHT_OR_LEFT_TURN; 467 : : } 468 : 79 : if (str == std::string("::ad::map::landmark::TrafficSignType::ROUNDABOUT")) // LCOV_EXCL_BR_LINE 469 : : { 470 : 1 : return ::ad::map::landmark::TrafficSignType::ROUNDABOUT; 471 : : } 472 : 78 : if (str == std::string("ROUNDABOUT")) // LCOV_EXCL_BR_LINE 473 : : { 474 : 1 : return ::ad::map::landmark::TrafficSignType::ROUNDABOUT; 475 : : } 476 : 77 : if (str == std::string("::ad::map::landmark::TrafficSignType::PASS_RIGHT")) // LCOV_EXCL_BR_LINE 477 : : { 478 : 1 : return ::ad::map::landmark::TrafficSignType::PASS_RIGHT; 479 : : } 480 : 76 : if (str == std::string("PASS_RIGHT")) // LCOV_EXCL_BR_LINE 481 : : { 482 : 1 : return ::ad::map::landmark::TrafficSignType::PASS_RIGHT; 483 : : } 484 : 75 : if (str == std::string("::ad::map::landmark::TrafficSignType::PASS_LEFT")) // LCOV_EXCL_BR_LINE 485 : : { 486 : 1 : return ::ad::map::landmark::TrafficSignType::PASS_LEFT; 487 : : } 488 : 74 : if (str == std::string("PASS_LEFT")) // LCOV_EXCL_BR_LINE 489 : : { 490 : 1 : return ::ad::map::landmark::TrafficSignType::PASS_LEFT; 491 : : } 492 : 73 : if (str == std::string("::ad::map::landmark::TrafficSignType::BYBICLE_PATH")) // LCOV_EXCL_BR_LINE 493 : : { 494 : 1 : return ::ad::map::landmark::TrafficSignType::BYBICLE_PATH; 495 : : } 496 : 72 : if (str == std::string("BYBICLE_PATH")) // LCOV_EXCL_BR_LINE 497 : : { 498 : 1 : return ::ad::map::landmark::TrafficSignType::BYBICLE_PATH; 499 : : } 500 : 71 : if (str == std::string("::ad::map::landmark::TrafficSignType::FOOTWALK")) // LCOV_EXCL_BR_LINE 501 : : { 502 : 1 : return ::ad::map::landmark::TrafficSignType::FOOTWALK; 503 : : } 504 : 70 : if (str == std::string("FOOTWALK")) // LCOV_EXCL_BR_LINE 505 : : { 506 : 1 : return ::ad::map::landmark::TrafficSignType::FOOTWALK; 507 : : } 508 : 69 : if (str == std::string("::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SHARED")) // LCOV_EXCL_BR_LINE 509 : : { 510 : 1 : return ::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SHARED; 511 : : } 512 : 68 : if (str == std::string("FOOTWALK_BICYCLE_SHARED")) // LCOV_EXCL_BR_LINE 513 : : { 514 : 1 : return ::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SHARED; 515 : : } 516 : 67 : if (str == std::string("::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SEP_RIGHT")) // LCOV_EXCL_BR_LINE 517 : : { 518 : 1 : return ::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SEP_RIGHT; 519 : : } 520 : 66 : if (str == std::string("FOOTWALK_BICYCLE_SEP_RIGHT")) // LCOV_EXCL_BR_LINE 521 : : { 522 : 1 : return ::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SEP_RIGHT; 523 : : } 524 : 65 : if (str == std::string("::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SEP_LEFT")) // LCOV_EXCL_BR_LINE 525 : : { 526 : 1 : return ::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SEP_LEFT; 527 : : } 528 : 64 : if (str == std::string("FOOTWALK_BICYCLE_SEP_LEFT")) // LCOV_EXCL_BR_LINE 529 : : { 530 : 1 : return ::ad::map::landmark::TrafficSignType::FOOTWALK_BICYCLE_SEP_LEFT; 531 : : } 532 : 63 : if (str == std::string("::ad::map::landmark::TrafficSignType::PEDESTRIAN_AREA_BEGIN")) // LCOV_EXCL_BR_LINE 533 : : { 534 : 1 : return ::ad::map::landmark::TrafficSignType::PEDESTRIAN_AREA_BEGIN; 535 : : } 536 : 62 : if (str == std::string("PEDESTRIAN_AREA_BEGIN")) // LCOV_EXCL_BR_LINE 537 : : { 538 : 1 : return ::ad::map::landmark::TrafficSignType::PEDESTRIAN_AREA_BEGIN; 539 : : } 540 : 61 : if (str == std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN")) // LCOV_EXCL_BR_LINE 541 : : { 542 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN; 543 : : } 544 : 60 : if (str == std::string("ACCESS_FORBIDDEN")) // LCOV_EXCL_BR_LINE 545 : : { 546 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN; 547 : : } 548 : 59 : if (str == std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_TRUCKS")) // LCOV_EXCL_BR_LINE 549 : : { 550 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_TRUCKS; 551 : : } 552 : 58 : if (str == std::string("ACCESS_FORBIDDEN_TRUCKS")) // LCOV_EXCL_BR_LINE 553 : : { 554 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_TRUCKS; 555 : : } 556 : 57 : if (str == std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_BICYCLE")) // LCOV_EXCL_BR_LINE 557 : : { 558 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_BICYCLE; 559 : : } 560 : 56 : if (str == std::string("ACCESS_FORBIDDEN_BICYCLE")) // LCOV_EXCL_BR_LINE 561 : : { 562 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_BICYCLE; 563 : : } 564 : 55 : if (str == std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_MOTORVEHICLES")) // LCOV_EXCL_BR_LINE 565 : : { 566 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_MOTORVEHICLES; 567 : : } 568 : 54 : if (str == std::string("ACCESS_FORBIDDEN_MOTORVEHICLES")) // LCOV_EXCL_BR_LINE 569 : : { 570 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_MOTORVEHICLES; 571 : : } 572 : 53 : if (str == std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WEIGHT")) // LCOV_EXCL_BR_LINE 573 : : { 574 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WEIGHT; 575 : : } 576 : 52 : if (str == std::string("ACCESS_FORBIDDEN_WEIGHT")) // LCOV_EXCL_BR_LINE 577 : : { 578 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WEIGHT; 579 : : } 580 : 51 : if (str == std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WIDTH")) // LCOV_EXCL_BR_LINE 581 : : { 582 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WIDTH; 583 : : } 584 : 50 : if (str == std::string("ACCESS_FORBIDDEN_WIDTH")) // LCOV_EXCL_BR_LINE 585 : : { 586 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WIDTH; 587 : : } 588 : 49 : if (str == std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_HEIGHT")) // LCOV_EXCL_BR_LINE 589 : : { 590 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_HEIGHT; 591 : : } 592 : 48 : if (str == std::string("ACCESS_FORBIDDEN_HEIGHT")) // LCOV_EXCL_BR_LINE 593 : : { 594 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_HEIGHT; 595 : : } 596 : 47 : if (str == std::string("::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WRONG_DIR")) // LCOV_EXCL_BR_LINE 597 : : { 598 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WRONG_DIR; 599 : : } 600 : 46 : if (str == std::string("ACCESS_FORBIDDEN_WRONG_DIR")) // LCOV_EXCL_BR_LINE 601 : : { 602 : 1 : return ::ad::map::landmark::TrafficSignType::ACCESS_FORBIDDEN_WRONG_DIR; 603 : : } 604 : 45 : if (str == std::string("::ad::map::landmark::TrafficSignType::ENVIORNMENT_ZONE_BEGIN")) // LCOV_EXCL_BR_LINE 605 : : { 606 : 1 : return ::ad::map::landmark::TrafficSignType::ENVIORNMENT_ZONE_BEGIN; 607 : : } 608 : 44 : if (str == std::string("ENVIORNMENT_ZONE_BEGIN")) // LCOV_EXCL_BR_LINE 609 : : { 610 : 1 : return ::ad::map::landmark::TrafficSignType::ENVIORNMENT_ZONE_BEGIN; 611 : : } 612 : 43 : if (str == std::string("::ad::map::landmark::TrafficSignType::ENVIORNMENT_ZONE_END")) // LCOV_EXCL_BR_LINE 613 : : { 614 : 1 : return ::ad::map::landmark::TrafficSignType::ENVIORNMENT_ZONE_END; 615 : : } 616 : 42 : if (str == std::string("ENVIORNMENT_ZONE_END")) // LCOV_EXCL_BR_LINE 617 : : { 618 : 1 : return ::ad::map::landmark::TrafficSignType::ENVIORNMENT_ZONE_END; 619 : : } 620 : 41 : if (str == std::string("::ad::map::landmark::TrafficSignType::MAX_SPEED")) // LCOV_EXCL_BR_LINE 621 : : { 622 : 1 : return ::ad::map::landmark::TrafficSignType::MAX_SPEED; 623 : : } 624 : 40 : if (str == std::string("MAX_SPEED")) // LCOV_EXCL_BR_LINE 625 : : { 626 : 1 : return ::ad::map::landmark::TrafficSignType::MAX_SPEED; 627 : : } 628 : 39 : if (str == std::string("::ad::map::landmark::TrafficSignType::SPEED_ZONE_30_BEGIN")) // LCOV_EXCL_BR_LINE 629 : : { 630 : 1 : return ::ad::map::landmark::TrafficSignType::SPEED_ZONE_30_BEGIN; 631 : : } 632 : 38 : if (str == std::string("SPEED_ZONE_30_BEGIN")) // LCOV_EXCL_BR_LINE 633 : : { 634 : 1 : return ::ad::map::landmark::TrafficSignType::SPEED_ZONE_30_BEGIN; 635 : : } 636 : 37 : if (str == std::string("::ad::map::landmark::TrafficSignType::SPEED_ZONE_30_END")) // LCOV_EXCL_BR_LINE 637 : : { 638 : 1 : return ::ad::map::landmark::TrafficSignType::SPEED_ZONE_30_END; 639 : : } 640 : 36 : if (str == std::string("SPEED_ZONE_30_END")) // LCOV_EXCL_BR_LINE 641 : : { 642 : 1 : return ::ad::map::landmark::TrafficSignType::SPEED_ZONE_30_END; 643 : : } 644 : 35 : if (str == std::string("::ad::map::landmark::TrafficSignType::HAS_WAY_NEXT_INTERSECTION")) // LCOV_EXCL_BR_LINE 645 : : { 646 : 1 : return ::ad::map::landmark::TrafficSignType::HAS_WAY_NEXT_INTERSECTION; 647 : : } 648 : 34 : if (str == std::string("HAS_WAY_NEXT_INTERSECTION")) // LCOV_EXCL_BR_LINE 649 : : { 650 : 1 : return ::ad::map::landmark::TrafficSignType::HAS_WAY_NEXT_INTERSECTION; 651 : : } 652 : 33 : if (str == std::string("::ad::map::landmark::TrafficSignType::PRIORITY_WAY")) // LCOV_EXCL_BR_LINE 653 : : { 654 : 1 : return ::ad::map::landmark::TrafficSignType::PRIORITY_WAY; 655 : : } 656 : 32 : if (str == std::string("PRIORITY_WAY")) // LCOV_EXCL_BR_LINE 657 : : { 658 : 1 : return ::ad::map::landmark::TrafficSignType::PRIORITY_WAY; 659 : : } 660 : 31 : if (str == std::string("::ad::map::landmark::TrafficSignType::CITY_BEGIN")) // LCOV_EXCL_BR_LINE 661 : : { 662 : 1 : return ::ad::map::landmark::TrafficSignType::CITY_BEGIN; 663 : : } 664 : 30 : if (str == std::string("CITY_BEGIN")) // LCOV_EXCL_BR_LINE 665 : : { 666 : 1 : return ::ad::map::landmark::TrafficSignType::CITY_BEGIN; 667 : : } 668 : 29 : if (str == std::string("::ad::map::landmark::TrafficSignType::CITY_END")) // LCOV_EXCL_BR_LINE 669 : : { 670 : 1 : return ::ad::map::landmark::TrafficSignType::CITY_END; 671 : : } 672 : 28 : if (str == std::string("CITY_END")) // LCOV_EXCL_BR_LINE 673 : : { 674 : 1 : return ::ad::map::landmark::TrafficSignType::CITY_END; 675 : : } 676 : 27 : if (str == std::string("::ad::map::landmark::TrafficSignType::MOTORWAY_BEGIN")) // LCOV_EXCL_BR_LINE 677 : : { 678 : 1 : return ::ad::map::landmark::TrafficSignType::MOTORWAY_BEGIN; 679 : : } 680 : 26 : if (str == std::string("MOTORWAY_BEGIN")) // LCOV_EXCL_BR_LINE 681 : : { 682 : 1 : return ::ad::map::landmark::TrafficSignType::MOTORWAY_BEGIN; 683 : : } 684 : 25 : if (str == std::string("::ad::map::landmark::TrafficSignType::MOTORWAY_END")) // LCOV_EXCL_BR_LINE 685 : : { 686 : 1 : return ::ad::map::landmark::TrafficSignType::MOTORWAY_END; 687 : : } 688 : 24 : if (str == std::string("MOTORWAY_END")) // LCOV_EXCL_BR_LINE 689 : : { 690 : 1 : return ::ad::map::landmark::TrafficSignType::MOTORWAY_END; 691 : : } 692 : 23 : if (str == std::string("::ad::map::landmark::TrafficSignType::MOTORVEHICLE_BEGIN")) // LCOV_EXCL_BR_LINE 693 : : { 694 : 1 : return ::ad::map::landmark::TrafficSignType::MOTORVEHICLE_BEGIN; 695 : : } 696 : 22 : if (str == std::string("MOTORVEHICLE_BEGIN")) // LCOV_EXCL_BR_LINE 697 : : { 698 : 1 : return ::ad::map::landmark::TrafficSignType::MOTORVEHICLE_BEGIN; 699 : : } 700 : 21 : if (str == std::string("::ad::map::landmark::TrafficSignType::MOTORVEHICLE_END")) // LCOV_EXCL_BR_LINE 701 : : { 702 : 1 : return ::ad::map::landmark::TrafficSignType::MOTORVEHICLE_END; 703 : : } 704 : 20 : if (str == std::string("MOTORVEHICLE_END")) // LCOV_EXCL_BR_LINE 705 : : { 706 : 1 : return ::ad::map::landmark::TrafficSignType::MOTORVEHICLE_END; 707 : : } 708 : 19 : if (str == std::string("::ad::map::landmark::TrafficSignType::INFO_MOTORWAY_INFO")) // LCOV_EXCL_BR_LINE 709 : : { 710 : 1 : return ::ad::map::landmark::TrafficSignType::INFO_MOTORWAY_INFO; 711 : : } 712 : 18 : if (str == std::string("INFO_MOTORWAY_INFO")) // LCOV_EXCL_BR_LINE 713 : : { 714 : 1 : return ::ad::map::landmark::TrafficSignType::INFO_MOTORWAY_INFO; 715 : : } 716 : 17 : if (str == std::string("::ad::map::landmark::TrafficSignType::CUL_DE_SAC")) // LCOV_EXCL_BR_LINE 717 : : { 718 : 1 : return ::ad::map::landmark::TrafficSignType::CUL_DE_SAC; 719 : : } 720 : 16 : if (str == std::string("CUL_DE_SAC")) // LCOV_EXCL_BR_LINE 721 : : { 722 : 1 : return ::ad::map::landmark::TrafficSignType::CUL_DE_SAC; 723 : : } 724 : 15 : if (str == std::string("::ad::map::landmark::TrafficSignType::CUL_DE_SAC_EXCEPT_PED_BICYCLE")) // LCOV_EXCL_BR_LINE 725 : : { 726 : 1 : return ::ad::map::landmark::TrafficSignType::CUL_DE_SAC_EXCEPT_PED_BICYCLE; 727 : : } 728 : 14 : if (str == std::string("CUL_DE_SAC_EXCEPT_PED_BICYCLE")) // LCOV_EXCL_BR_LINE 729 : : { 730 : 1 : return ::ad::map::landmark::TrafficSignType::CUL_DE_SAC_EXCEPT_PED_BICYCLE; 731 : : } 732 : 13 : if (str == std::string("::ad::map::landmark::TrafficSignType::INFO_NUMBER_OF_AUTOBAHN")) // LCOV_EXCL_BR_LINE 733 : : { 734 : 1 : return ::ad::map::landmark::TrafficSignType::INFO_NUMBER_OF_AUTOBAHN; 735 : : } 736 : 12 : if (str == std::string("INFO_NUMBER_OF_AUTOBAHN")) // LCOV_EXCL_BR_LINE 737 : : { 738 : 1 : return ::ad::map::landmark::TrafficSignType::INFO_NUMBER_OF_AUTOBAHN; 739 : : } 740 : 11 : if (str == std::string("::ad::map::landmark::TrafficSignType::DIRECTION_TURN_TO_AUTOBAHN")) // LCOV_EXCL_BR_LINE 741 : : { 742 : 1 : return ::ad::map::landmark::TrafficSignType::DIRECTION_TURN_TO_AUTOBAHN; 743 : : } 744 : 10 : if (str == std::string("DIRECTION_TURN_TO_AUTOBAHN")) // LCOV_EXCL_BR_LINE 745 : : { 746 : 1 : return ::ad::map::landmark::TrafficSignType::DIRECTION_TURN_TO_AUTOBAHN; 747 : : } 748 : 9 : if (str == std::string("::ad::map::landmark::TrafficSignType::DIRECTION_TURN_TO_LOCAL")) // LCOV_EXCL_BR_LINE 749 : : { 750 : 1 : return ::ad::map::landmark::TrafficSignType::DIRECTION_TURN_TO_LOCAL; 751 : : } 752 : 8 : if (str == std::string("DIRECTION_TURN_TO_LOCAL")) // LCOV_EXCL_BR_LINE 753 : : { 754 : 1 : return ::ad::map::landmark::TrafficSignType::DIRECTION_TURN_TO_LOCAL; 755 : : } 756 : 7 : if (str == std::string("::ad::map::landmark::TrafficSignType::DESTINATION_BOARD")) // LCOV_EXCL_BR_LINE 757 : : { 758 : 1 : return ::ad::map::landmark::TrafficSignType::DESTINATION_BOARD; 759 : : } 760 : 6 : if (str == std::string("DESTINATION_BOARD")) // LCOV_EXCL_BR_LINE 761 : : { 762 : 1 : return ::ad::map::landmark::TrafficSignType::DESTINATION_BOARD; 763 : : } 764 : 5 : if (str == std::string("::ad::map::landmark::TrafficSignType::FREE_TEXT")) // LCOV_EXCL_BR_LINE 765 : : { 766 : 1 : return ::ad::map::landmark::TrafficSignType::FREE_TEXT; 767 : : } 768 : 4 : if (str == std::string("FREE_TEXT")) // LCOV_EXCL_BR_LINE 769 : : { 770 : 1 : return ::ad::map::landmark::TrafficSignType::FREE_TEXT; 771 : : } 772 : 3 : if (str == std::string("::ad::map::landmark::TrafficSignType::UNKNOWN")) // LCOV_EXCL_BR_LINE 773 : : { 774 : 1 : return ::ad::map::landmark::TrafficSignType::UNKNOWN; 775 : : } 776 : 2 : if (str == std::string("UNKNOWN")) // LCOV_EXCL_BR_LINE 777 : : { 778 : 1 : return ::ad::map::landmark::TrafficSignType::UNKNOWN; 779 : : } 780 : 1 : throw std::out_of_range("Invalid enum literal"); // LCOV_EXCL_BR_LINE 781 : : }