#include <Debug.hpp>
Public Member Functions | |
Debug (int ThisVerbosity) | |
Default Constructor. | |
virtual | ~Debug () |
Destructor. | |
Static Public Member Functions | |
static bool | getEnabled () |
Get whether or not debug is enabled. | |
static int | getVerbosity () |
Get the verbosity level. | |
static void | setEnabled (bool Enable) |
Set whether or not debug is enabled. | |
static void | setLog (std::string const &LogFile) |
Set whether or not debug is enabled. | |
static void | setVerbosity (int Verbosity) |
Set the verbosity level. | |
static bool | testPrint (const Debug &dbg) |
Friends | |
const Debug & | operator<< (const Debug &dbg, const char *s) |
Debug insertion operator for const char *. | |
const Debug & | operator<< (const Debug &dbg, const std::string &s) |
Debug insertion operator for string. | |
const Debug & | operator<< (const Debug &dbg, const char c) |
Debug insertion operator for char. | |
const Debug & | operator<< (const Debug &dbg, const int d) |
Debug insertion operator for int. | |
const Debug & | operator<< (const Debug &dbg, const unsigned int d) |
Debug insertion operator for uint. | |
const Debug & | operator<< (const Debug &dbg, const long l) |
Debug insertion operator for long. | |
const Debug & | operator<< (const Debug &dbg, const long long ll) |
Debug insertion operator for long. | |
const Debug & | operator<< (const Debug &dbg, const bool b) |
Debug insertion operator for bool. | |
const Debug & | operator<< (const Debug &dbg, const unsigned long l) |
Debug insertion operator for ulong. | |
const Debug & | operator<< (const Debug &dbg, const unsigned long long ll) |
Debug insertion operator for ulong. | |
const Debug & | operator<< (const Debug &dbg, const double lf) |
Debug insertion operator for double. | |
const Debug & | operator<< (const Debug &dbg, std::ostream &(*f)(std::ostream &)) |
Debug insertion operator for endl et al. |
Debug stream class that implements cdbg (with varying verbosity levels) Use cdbg1 to send a debug message that will only be seen if the user has set debug level 1 or higher. The default is level 0.
Definition at line 79 of file Debug.hpp.
void H::Debug::setLog | ( | std::string const & | LogFile | ) | [inline, static] |