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 215 of file DebugUtils.h.
|
inline |
Print the content of info into the stream out, using the current options.
Definition at line 208 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.
|
inline |
Sets this object to use a set of default options.
Definition at line 212 of file DebugUtils.h.
|
inline |
opt gar::debug::CallInfoPrinter::options |
set of current options
Definition at line 155 of file DebugUtils.h.