rasdaman complete source
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
RMDebug Class Reference

#include <rmdebug.hh>

Inheritance diagram for RMDebug:
RM_Class

Public Types

enum  {
  module_adminif = 0, module_applications, module_blobif, module_cachetamgr,
  module_catalogif, module_catalogmgr, module_clientcomm, module_conversion,
  module_httpserver, module_indexif, module_indexmgr, module_insertutils,
  module_mddif, module_mddmgr, module_qlparser, module_rasdl,
  module_raslib, module_rasodmg, module_rasql, module_server,
  module_servercomm, module_storageif, module_storagemgr, module_tilemgr,
  module_tools, module_utilities, module_number
}
 all modules for debugging More...
 

Public Member Functions

 RMDebug (const char *newClass, const char *newFunc, const char *newModule, const char *newFile, int newLine)
 constructor, initializes members and prints message. More...
 
 RMDebug (int newLevel, const char *newClass, const char *newFun, int newModuleNum, const char *newFile, int newLine)
 constructor taking an identifier to the module for more efficiency More...
 
 ~RMDebug (void)
 destructor, prints message. More...
 

Static Public Member Functions

static int initRMDebug (void)
 for initializing modules and classes to debug. More...
 
static int getModuleDebugLevel (int modNum)
 get the debug level of a module by its number More...
 
static const char * getModuleName (int modNum)
 get the name of a module by its number More...
 
static void indentLine (void)
 indent by the amount specified by level More...
 
static int debugOutput (int dbgLevel, int modNum, const char *className)
 

Public Attributes

enum RMDebug:: { ... }  RMDebugModules
 all modules for debugging More...
 

Static Public Attributes

static int level
 

Member Enumeration Documentation

anonymous enum

all modules for debugging

Enumerator
module_adminif 
module_applications 
module_blobif 
module_cachetamgr 
module_catalogif 
module_catalogmgr 
module_clientcomm 
module_conversion 
module_httpserver 
module_indexif 
module_indexmgr 
module_insertutils 
module_mddif 
module_mddmgr 
module_qlparser 
module_rasdl 
module_raslib 
module_rasodmg 
module_rasql 
module_server 
module_servercomm 
module_storageif 
module_storagemgr 
module_tilemgr 
module_tools 
module_utilities 
module_number 

Constructor & Destructor Documentation

RMDebug::RMDebug ( const char *  newClass,
const char *  newFunc,
const char *  newModule,
const char *  newFile,
int  newLine 
)

constructor, initializes members and prints message.

RMDebug::RMDebug ( int  newLevel,
const char *  newClass,
const char *  newFun,
int  newModuleNum,
const char *  newFile,
int  newLine 
)

constructor taking an identifier to the module for more efficiency

RMDebug::~RMDebug ( void  )

destructor, prints message.

Member Function Documentation

static int RMDebug::debugOutput ( int  dbgLevel,
int  modNum,
const char *  className 
)
static

return whether debug output should happen for the given module, class and debugging level

static int RMDebug::getModuleDebugLevel ( int  modNum)
inlinestatic

get the debug level of a module by its number

static const char* RMDebug::getModuleName ( int  modNum)
inlinestatic

get the name of a module by its number

static void RMDebug::indentLine ( void  )
inlinestatic

indent by the amount specified by level

References RMInit::dbgOut, and level.

static int RMDebug::initRMDebug ( void  )
static

for initializing modules and classes to debug.

Member Data Documentation

int RMDebug::level
static

Referenced by indentLine().

enum { ... } RMDebug::RMDebugModules

all modules for debugging


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