[openlr] Debug output for FunctionalRoadClass

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-05-03 22:57:33 +03:00
parent 2017907b1f
commit f0f847b214
2 changed files with 18 additions and 0 deletions

View File

@@ -38,4 +38,21 @@ string DebugPrint(LinearSegmentSource source)
}
UNREACHABLE();
}
string DebugPrint(FunctionalRoadClass frc)
{
switch (frc)
{
case FunctionalRoadClass::FRC0: return "FRC0";
case FunctionalRoadClass::FRC1: return "FRC1";
case FunctionalRoadClass::FRC2: return "FRC2";
case FunctionalRoadClass::FRC3: return "FRC3";
case FunctionalRoadClass::FRC4: return "FRC4";
case FunctionalRoadClass::FRC5: return "FRC5";
case FunctionalRoadClass::FRC6: return "FRC6";
case FunctionalRoadClass::FRC7: return "FRC7";
case FunctionalRoadClass::NotAValue: return "NotAValue";
}
UNREACHABLE();
}
} // namespace openlr