LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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 128 of file DebugUtils.h.
|
inline |
Default constructor: use default options.
Definition at line 159 of file DebugUtils.h.
|
inline |
|
inlinestatic |
Returns a set of default options.
Definition at line 182 of file DebugUtils.h.
References lar::debug::operator<<(), and lar::debug::CallInfoPrinter::opt::set().
|
inline |
Print the content of info into the stream out, using the current options.
Definition at line 173 of file DebugUtils.h.
void lar::debug::CallInfoPrinter::print | ( | Stream && | out, |
CallInfo_t const & | info | ||
) | const |
Print the content of info into the stream out, using the current options.
Definition at line 350 of file DebugUtils.h.
References lar::debug::CallInfo_t::address, lar::debug::CallInfo_t::function(), 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 179 of file DebugUtils.h.
|
inline |
opt lar::debug::CallInfoPrinter::options |
Set of current options.
Definition at line 156 of file DebugUtils.h.