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

Public Member Functions

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

Public Attributes

AClass a
 

Detailed Description

Definition at line 46 of file printBacktrace_test.cc.

Constructor & Destructor Documentation

CClass::CClass ( )
inline

Definition at line 47 of file printBacktrace_test.cc.

47 { Do(); }
CClass::CClass ( )
inline

Definition at line 47 of file printBacktrace_test.cc.

47 { Do(); }

Member Function Documentation

void CClass::Do ( )
inline

Definition at line 49 of file printBacktrace_test.cc.

50  {
51  std::cout << present() << ": Do()" << std::endl;
52  gar::debug::printBacktrace(std::cout);
53  a.Do();
54  }
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 CClass::Do ( )
inline

Definition at line 49 of file printBacktrace_test.cc.

50  {
51  std::cout << present() << ": Do()" << std::endl;
52  lar::debug::printBacktrace(std::cout);
53  a.Do();
54  }
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 CClass::present ( ) const
inline

Definition at line 55 of file printBacktrace_test.cc.

56  {
57  std::ostringstream sstr;
58  sstr << lar::debug::demangle(this) << "[" << ((void*) this) << "]";
59  return sstr.str();
60  } // present()
std::string demangle(T const *=nullptr)
Outputs a demangled name for type T.
Definition: DebugUtils.h:348
std::string CClass::present ( ) const
inline

Definition at line 55 of file printBacktrace_test.cc.

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

Member Data Documentation

AClass CClass::a

Definition at line 62 of file printBacktrace_test.cc.


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