Public Member Functions | List of all members
AClass Struct Reference

Public Member Functions

void Do ()
 
std::string present () const
 
void Do ()
 
std::string present () const
 

Detailed Description

Definition at line 11 of file printBacktrace_test.cc.

Member Function Documentation

void AClass::Do ( )
inline

Definition at line 12 of file printBacktrace_test.cc.

13  {
14  std::cout << present() << ": Do()" << std::endl;
15  gar::debug::printBacktrace(std::cout);
16  }
std::string present() const
void printBacktrace(Stream &&out, unsigned int maxLines=5, std::string indent=" ", CallInfoPrinter::opt const *options=nullptr)
Prints the full backtrace into a stream.
Definition: DebugUtils.h:249
QTextStream & endl(QTextStream &s)
void AClass::Do ( )
inline

Definition at line 12 of file printBacktrace_test.cc.

13  {
14  std::cout << present() << ": Do()" << std::endl;
15  lar::debug::printBacktrace(std::cout);
16  }
std::string present() const
void printBacktrace(Stream &&out, BacktracePrintOptions options)
Prints the full backtrace into a stream.
Definition: DebugUtils.h:403
QTextStream & endl(QTextStream &s)
std::string AClass::present ( ) const
inline

Definition at line 18 of file printBacktrace_test.cc.

19  {
20  std::ostringstream sstr;
21  sstr << lar::debug::demangle(this) << "[" << ((void*) this) << "]";
22  return sstr.str();
23  } // present()
std::string demangle(T const *=nullptr)
Outputs a demangled name for type T.
Definition: DebugUtils.h:348
std::string AClass::present ( ) const
inline

Definition at line 18 of file printBacktrace_test.cc.

19  {
20  std::ostringstream sstr;
21  sstr << gar::debug::demangle(this) << "[" << ((void*) this) << "]";
22  return sstr.str();
23  } // present()
std::string demangle(T const *=nullptr)
Outputs a demangled name for type T.
Definition: DebugUtils.h:56

The documentation for this struct was generated from the following file: