| 10 | #include <sstream> |
| 11 | |
| 12 | std::string DebugPrint(OsmElement::EntityType type) |
| 13 | { |
| 14 | switch (type) |
| 15 | { |
| 16 | case OsmElement::EntityType::Unknown: return "unknown"; |
| 17 | case OsmElement::EntityType::Bounds: return "bounds"; |
| 18 | case OsmElement::EntityType::Way: return "way"; |
| 19 | case OsmElement::EntityType::Tag: return "tag"; |
| 20 | case OsmElement::EntityType::Relation: return "relation"; |
| 21 | case OsmElement::EntityType::Osm: return "osm"; |
| 22 | case OsmElement::EntityType::Node: return "node"; |
| 23 | case OsmElement::EntityType::Nd: return "nd"; |
| 24 | case OsmElement::EntityType::Member: return "member"; |
| 25 | } |
| 26 | UNREACHABLE(); |
| 27 | } |
| 28 | |
| 29 | namespace |
| 30 | { |
no test coverage detected