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

Method GetId

qt/routing_turns_visualizer.cpp:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32std::string RoutingTurnsVisualizer::GetId(routing::turns::TurnItem const & turn)
33{
34 std::string const maneuver = turn.m_pedestrianTurn == routing::turns::PedestrianDirection::None
35 ? DebugPrint(turn.m_turn)
36 : DebugPrint(turn.m_pedestrianTurn);
37
38 std::string const index = std::to_string(turn.m_index);
39
40 return index + " " + maneuver + (turn.m_exitNum != 0 ? ":" + std::to_string(turn.m_exitNum) : "");
41}
42} // namespace qt

Callers 6

DeserializeMethod · 0.45
utils.cppFile · 0.45
ForTracksSortedByMwmNameFunction · 0.45
MatchTracksFunction · 0.45
CmdTagsTableFunction · 0.45
UNIT_TESTFunction · 0.45

Calls 2

to_stringFunction · 0.85
DebugPrintFunction · 0.70

Tested by 1

UNIT_TESTFunction · 0.36