Class for telling the human what playd is doing. More...
#include <errors.hpp>
Collaboration diagram for Debug:Public Member Functions | |
| Debug () | |
| Constructor. More... | |
| ~Debug () | |
| Destructor. More... | |
| template<typename T > | |
| Debug & | operator<< (const T &x) |
| Stream operator for shoving objects onto a screen somewhere. More... | |
| Debug & | operator<< (std::ostream &(*pf)(std::ostream &)) |
| Specialisation for std::endl, which is actually a function pointer. More... | |
Private Attributes | |
| std::ostringstream | oss |
| Stream buffer (avoids theoretical threading issues). More... | |
Class for telling the human what playd is doing.
Definition at line 133 of file errors.hpp.
|
inline |
Constructor.
Definition at line 137 of file errors.hpp.
|
inline |
Destructor.
Actually shoves things to the screen.
Definition at line 143 of file errors.hpp.
|
inline |
Stream operator for shoving objects onto a screen somewhere.
| T | Type of parameter. |
| x | Object to write to the stream. |
Definition at line 155 of file errors.hpp.
|
inline |
Specialisation for std::endl, which is actually a function pointer.
| pf | Function pointer. |
Definition at line 167 of file errors.hpp.
|
private |
Stream buffer (avoids theoretical threading issues).
Definition at line 174 of file errors.hpp.