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 132 of file DebugUtils.h.
|
inline |
Default constructor: use default options.
Definition at line 160 of file DebugUtils.h.
|
inline |
|
inlinestatic |
Returns a set of default options.
Definition at line 181 of file DebugUtils.h.
|
inline |
Print the content of info into the stream out, using the current options.
Definition at line 174 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 354 of file DebugUtils.h.
|
inline |
Sets this object to use a set of default options.
Definition at line 178 of file DebugUtils.h.
|
inline |
opt lar::debug::CallInfoPrinter::options |
Set of current options.
Definition at line 157 of file DebugUtils.h.