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

Function DebugPrint

libs/routing/joint.cpp:10–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8Joint::Id constexpr Joint::kInvalidId;
9
10std::string DebugPrint(Joint const & joint)
11{
12 std::ostringstream oss;
13 oss << "Joint [";
14 for (size_t i = 0; i < joint.GetSize(); ++i)
15 {
16 if (i > 0)
17 oss << ", ";
18 oss << DebugPrint(joint.GetEntry(i));
19 }
20 oss << "]";
21 return oss.str();
22}
23} // namespace routing

Callers

nothing calls this directly

Calls 1

GetSizeMethod · 0.45

Tested by

no test coverage detected