Public Member Functions | Public Attributes | List of all members
BClass Struct Reference

Public Member Functions

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

Public Attributes

AClass a
 

Detailed Description

Definition at line 28 of file printBacktrace_test.cc.

Member Function Documentation

void BClass::Do ( )
inline

Definition at line 29 of file printBacktrace_test.cc.

30  {
31  std::cout << present() << ": Do()" << std::endl;
32  gar::debug::printBacktrace(std::cout);
33  a.Do();
34  }
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
std::string present() const
QTextStream & endl(QTextStream &s)
void BClass::Do ( )
inline

Definition at line 29 of file printBacktrace_test.cc.

30  {
31  std::cout << present() << ": Do()" << std::endl;
32  lar::debug::printBacktrace(std::cout);
33  a.Do();
34  }
void printBacktrace(Stream &&out, BacktracePrintOptions options)
Prints the full backtrace into a stream.
Definition: DebugUtils.h:403
std::string present() const
QTextStream & endl(QTextStream &s)
std::string BClass::present ( ) const
inline

Definition at line 35 of file printBacktrace_test.cc.

36  {
37  std::ostringstream sstr;
38  sstr << lar::debug::demangle(this) << "[" << ((void*) this) << "]";
39  return sstr.str();
40  } // present()
std::string demangle(T const *=nullptr)
Outputs a demangled name for type T.
Definition: DebugUtils.h:348
std::string BClass::present ( ) const
inline

Definition at line 35 of file printBacktrace_test.cc.

36  {
37  std::ostringstream sstr;
38  sstr << gar::debug::demangle(this) << "[" << ((void*) this) << "]";
39  return sstr.str();
40  } // present()
std::string demangle(T const *=nullptr)
Outputs a demangled name for type T.
Definition: DebugUtils.h:56

Member Data Documentation

AClass BClass::a

Definition at line 42 of file printBacktrace_test.cc.


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