Internal class used by reporting::reportManager
This class serves as a proxy for message reporting.
It will only output to std::cout if reporting::reportWrapper::CanReport it's true.
More...
#include <reportsystem.h>
Public Member Functions | |
reportWrapper (bool CanReport) | |
Constructor. More... | |
template<typename T > | |
reportWrapper & | operator<< (const T &a) |
Overloaded operator that allows to use this object as it was an iostream, as cout. More... | |
reportWrapper & | operator<< (std::ostream &(*pf)(std::ostream &)) |
Overloaded operator that allows to use this object as it was an iostream, as cout. More... | |
Private Attributes | |
bool | CanReport |
Variable that specifies if the object is able to output to cout or not. More... | |
Internal class used by reporting::reportManager
This class serves as a proxy for message reporting.
It will only output to std::cout if reporting::reportWrapper::CanReport it's true.
Definition at line 315 of file reportsystem.h.
|
inlineexplicit |
|
inline |
Overloaded operator that allows to use this object as it was an iostream, as cout.
Definition at line 327 of file reportsystem.h.
References CanReport.
|
inline |
Overloaded operator that allows to use this object as it was an iostream, as cout.
Definition at line 335 of file reportsystem.h.
References CanReport.
|
private |
Variable that specifies if the object is able to output to cout or not.
Definition at line 317 of file reportsystem.h.
Referenced by operator<<(), and reportWrapper().