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

Method ToString

libs/platform/distance.cpp:198–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198std::string Distance::ToString() const
199{
200 if (!IsValid())
201 return "";
202
203 return GetDistanceString() + kNarrowNonBreakingSpace + GetUnitsString();
204}
205
206std::string DebugPrint(Distance::Units units)
207{

Callers 8

GetStatsStrMethod · 0.45
GetFormattedLengthMethod · 0.45
SetTitlesForTrackMethod · 0.45
RunScenarioFunction · 0.45
DebugPrintMethod · 0.45
FormatAltitudeMethod · 0.45
UNIT_TESTFunction · 0.45

Calls 2

GetUnitsStringFunction · 0.85
IsValidFunction · 0.50

Tested by 1

UNIT_TESTFunction · 0.36