All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
CClass Struct Reference

Public Member Functions

 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(); }

Member Function Documentation

void CClass::Do ( )
inline

Definition at line 49 of file printBacktrace_test.cc.

50  {
51  std::cout << present() << ": Do()" << std::endl;
53  a.Do();
54  }
void printBacktrace(Stream &&out, BacktracePrintOptions options)
Prints the full backtrace into a stream.
Definition: DebugUtils.h:403
BEGIN_PROLOG could also be cout
std::string present() const
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

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: