MCPcopy Create free account
hub / github.com/comaps/comaps / MapStyleToString

Function MapStyleToString

libs/indexer/map_style.cpp:26–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26std::string MapStyleToString(MapStyle mapStyle)
27{
28 switch (mapStyle)
29 {
30 case MapStyleDefaultDark: return "MapStyleDefaultDark";
31 case MapStyleDefaultLight: return "MapStyleDefaultLight";
32 case MapStyleMerged: return "MapStyleMerged";
33 case MapStyleVehicleDark: return "MapStyleVehicleDark";
34 case MapStyleVehicleLight: return "MapStyleVehicleLight";
35 case MapStyleOutdoorsDark: return "MapStyleOutdoorsDark";
36 case MapStyleOutdoorsLight: return "MapStyleOutdoorsLight";
37
38 case MapStyleCount: break;
39 }
40 ASSERT(false, ());
41 return std::string();
42}
43
44std::string DebugPrint(MapStyle mapStyle)
45{

Callers 2

DebugPrintFunction · 0.85
MarkMapStyleMethod · 0.85

Calls 1

ASSERTFunction · 0.85

Tested by

no test coverage detected