Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
198
std::string Distance::ToString() const
199
{
200
if (!IsValid())
201
return
""
;
202
203
return GetDistanceString() + kNarrowNonBreakingSpace + GetUnitsString();
204
}
205
206
std::string DebugPrint(Distance::Units units)
207
{
Callers
8
GetStatsStr
Method · 0.45
GetFormattedLength
Method · 0.45
CreateRoadWarningMarks
Method · 0.45
SetTitlesForTrack
Method · 0.45
RunScenario
Function · 0.45
DebugPrint
Method · 0.45
FormatAltitude
Method · 0.45
UNIT_TEST
Function · 0.45
Calls
2
GetUnitsString
Function · 0.85
IsValid
Function · 0.50
Tested by
1
UNIT_TEST
Function · 0.36