My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::Debug Class Reference

Public Types

enum  Level {
  DEBUGNONE = 0x0, DEBUG1 = 0x1, DEBUG2 = 0x2, DEBUG3 = 0x4,
  DEBUG4 = 0x8, DEBUG5 = 0x10, DEBUG6 = 0x20, DEBUG7 = 0x40,
  DEBUG8 = 0x80, DEBUG9 = 0x100, DEBUG10 = 0x200, DEBUG11 = 0x400,
  DEBUG12 = 0x800, DEBUG13 = 0x1000, DEBUG14 = 0x2000, DEBUG15 = 0x4000,
  DEBUG16 = 0x8000, DEBUG17 = 0x10000, DEBUG18 = 0x20000, DEBUG19 = 0x40000,
  DEBUG20 = 0x80000, DEBUG21 = 0x100000, DEBUG22 = 0x200000, DEBUG23 = 0x400000,
  DEBUG24 = 0x800000, DEBUG25 = 0x1000000, DEBUG26 = 0x2000000, DEBUG27 = 0x4000000,
  DEBUG28 = 0x8000000, DEBUG29 = 0x10000000, DEBUG30 = 0x20000000, DEBUG31 = 0x40000000,
  DEBUG32 = 0x80000000, DEBUGANY = 0xFFFFFFFF
}
 

Static Public Member Functions

static void setLevel (Level level)
 
static void setLevel (unsigned int)
 
static void addLevel (Level level)
 
static void remLevel (Level level)
 
static bool debugging (Level level=Debug::DEBUGANY)
 
static void lock ()
 
static void unlock ()
 

Member Function Documentation

void Debug::addLevel ( Level  level)
static

Add a level to the current debug level

....................................................................... Public method to change the debugging level

bool Debug::debugging ( Level  level = Debug::DEBUGANY)
static

Public method to query debugging state.

....................................................................... Public method to query the debugging state

void Debug::remLevel ( Level  level)
static

Remove a level from the current debug level

....................................................................... Public method to change the debugging level

void Debug::setLevel ( Level  level)
static

Public method to turn debugging on/off

....................................................................... Public method to change the debugging level

void Debug::setLevel ( unsigned int  level)
static

Public method to turn debugging on/off

....................................................................... Public method to change the debugging level.


The documentation for this class was generated from the following files: