LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Class handling the output of information in a CallInfo_t object. More...
#include "DebugUtils.h"
Classes | |
struct | opt |
Set of options for printing. More... | |
Public Member Functions | |
CallInfoPrinter () | |
Default constructor: use default options. More... | |
CallInfoPrinter (opt opts) | |
Constructor: use specified options. More... | |
void | setOptions (opt opts) |
Override all the options. More... | |
template<typename Stream > | |
void | print (Stream &&out, CallInfo_t const &info) const |
Print the content of info into the stream out, using the current options. More... | |
template<typename Stream > | |
void | operator() (Stream &&out, CallInfo_t const &info) const |
Print the content of info into the stream out, using the current options. More... | |
void | setDefaultOptions () |
Sets this object to use a set of default options. More... | |
Static Public Member Functions | |
static opt | defaultOptions () |
Returns a set of default options. More... | |
Public Attributes | |
opt | options |
Set of current options. More... | |
Class handling the output of information in a CallInfo_t object.
This class has a "default" print function (also replicated as a call operator), and a set of options that can be tweaked to change the amount of information and format to be printed.
Definition at line 130 of file DebugUtils.h.
|
inline |
Default constructor: use default options.
Definition at line 158 of file DebugUtils.h.
|
inline |
|
inlinestatic |
Returns a set of default options.
Definition at line 214 of file DebugUtils.h.
References lar::debug::CallInfoPrinter::opt::set().
|
inline |
Print the content of info into the stream out, using the current options.
Definition at line 207 of file DebugUtils.h.
|
inline |
Print the content of info into the stream out, using the current options.
Definition at line 168 of file DebugUtils.h.
References lar::debug::CallInfo_t::address, lar::debug::CallInfo_t::function(), lar::debug::CallInfoPrinter::opt::has(), lar::debug::CallInfo_t::libraryName, lar::debug::CallInfo_t::mangledFunctionName, lar::debug::CallInfo_t::offset, lar::debug::CallInfo_t::original, and lar::debug::CallInfo_t::shortLibrary().
|
inline |
Sets this object to use a set of default options.
Definition at line 211 of file DebugUtils.h.
|
inline |
opt lar::debug::CallInfoPrinter::options |
Set of current options.
Definition at line 155 of file DebugUtils.h.