gtkIOStream
1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
|
#include <Debug.H>
Public Member Functions | |
Debug () | |
virtual | ~Debug () |
virtual int | evaluateError (int errorNum) |
virtual int | evaluateError (int errorNum, std::string append) |
std::string | getErrorString (int errorNum) |
Protected Attributes | |
std::map< int, std::string > | errors |
This will contain a map between error numbers and descriptive std::strings for the errors. More... | |
Debug information for handling errors. This class has two modes, testing on the NDEBUG flag is NOT present, it outputs to std::cerr and has filled member variables. This class outputs to std::cerr upon error. This class does nothing and is completely minimal (including compile time presence) when NDEBUG is present NOTE: Values < -39 900 are reserved for GTK IOStream. NOTE: You should use values between -39900 <= val <= -1
|
inlinevirtual |
Displays the error header, which includes the error number and the mapped error std::string
errorNum | The error number to use to index the errors map for textual information |
Reimplemented in ALSA::ALSADebug.
|
inlinevirtual |
Appends a std::string to the error header.
errorNum | The error number to use to index the errors map for textual information |
append | A std::string message to append to the standard error. |
Reimplemented in ALSA::ALSADebug.
Definition at line 151 of file Debug.H.
|
inline |
|
protected |
GTK+ IOStream
Beta
|