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

Public Member Functions

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;
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
BEGIN_PROLOG could also be cout
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

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: