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

Function UnitsToString

generator/maxspeeds_parser.cpp:329–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329std::string UnitsToString(Units units)
330{
331 switch (units)
332 {
333 case Units::Metric: return "Metric";
334 case Units::Imperial: return "Imperial";
335 }
336 UNREACHABLE();
337}
338
339Units StringToUnits(std::string_view units)
340{

Callers 2

CollectFeatureMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected