H::Debug Class Reference

Debug stream class. More...

#include <Debug.hpp>

Collaboration diagram for H::Debug:

Collaboration graph
[legend]

List of all members.

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 Debugoperator<< (const Debug &dbg, const char *s)
 Debug insertion operator for const char *.
const Debugoperator<< (const Debug &dbg, const std::string &s)
 Debug insertion operator for string.
const Debugoperator<< (const Debug &dbg, const char c)
 Debug insertion operator for char.
const Debugoperator<< (const Debug &dbg, const int d)
 Debug insertion operator for int.
const Debugoperator<< (const Debug &dbg, const unsigned int d)
 Debug insertion operator for uint.
const Debugoperator<< (const Debug &dbg, const long l)
 Debug insertion operator for long.
const Debugoperator<< (const Debug &dbg, const long long ll)
 Debug insertion operator for long.
const Debugoperator<< (const Debug &dbg, const bool b)
 Debug insertion operator for bool.
const Debugoperator<< (const Debug &dbg, const unsigned long l)
 Debug insertion operator for ulong.
const Debugoperator<< (const Debug &dbg, const unsigned long long ll)
 Debug insertion operator for ulong.
const Debugoperator<< (const Debug &dbg, const double lf)
 Debug insertion operator for double.
const Debugoperator<< (const Debug &dbg, std::ostream &(*f)(std::ostream &))
 Debug insertion operator for endl et al.


Detailed Description

Debug stream class.

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.


Member Function Documentation

void H::Debug::setLog ( std::string const &  LogFile  )  [inline, static]

Set whether or not debug is enabled.

Set the debug log.

Definition at line 128 of file Debug.hpp.


The documentation for this class was generated from the following files:
Generated on Wed Nov 7 10:07:14 2007 for gizmod by  doxygen 1.5.3