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

Function DebugPrint

libs/routing/joint_segment.cpp:98–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98std::string DebugPrint(JointSegment const & jointSegment)
99{
100 std::ostringstream out;
101 if (jointSegment.IsFake())
102 out << "[FAKE]";
103
104 out << std::boolalpha << "JointSegment(" << jointSegment.GetMwmId() << ", " << jointSegment.GetFeatureId() << ", "
105 << "[" << jointSegment.GetStartSegmentId() << " => " << jointSegment.GetEndSegmentId() << "], "
106 << jointSegment.IsForward() << ")";
107 return out.str();
108}
109} // namespace routing
110
111namespace std

Callers

nothing calls this directly

Calls 6

GetStartSegmentIdMethod · 0.80
GetEndSegmentIdMethod · 0.80
IsFakeMethod · 0.45
GetMwmIdMethod · 0.45
GetFeatureIdMethod · 0.45
IsForwardMethod · 0.45

Tested by

no test coverage detected