MCPcopy Create free account
hub / github.com/Icinga/icinga2 / Print

Method Print

lib/base/context.cpp:42–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void ContextTrace::Print(std::ostream& fp) const
43{
44 if (m_Frames.empty())
45 return;
46
47 fp << "\n";
48
49 int i = 0;
50 for (const String& frame : m_Frames) {
51 fp << "\t(" << i << ") " << frame << "\n";
52 i++;
53 }
54}
55
56size_t ContextTrace::GetLength() const
57{

Callers 1

context.cppFile · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected