Debug Class Reference

#include <debug.h>

List of all members.

Public Types

enum  DebugMask {
  Quiet = 0x00000000, FindMembers = 0x00000001, Functions = 0x00000002, Variables = 0x00000004,
  Preprocessor = 0x00000008, Classes = 0x00000010, CommentCnv = 0x00000020, CommentScan = 0x00000040,
  Validate = 0x00000080, PrintTree = 0x00000100, Time = 0x00000200, ExtCmd = 0x00000400
}

Static Public Member Functions

static void print (DebugMask mask, int prio, const char *fmt,...)
static void setFlag (const char *label)
static void clearFlag (const char *label)
static bool isFlagSet (DebugMask mask)
static void setPriority (int p)


Detailed Description

Definition at line 22 of file debug.h.


Member Enumeration Documentation

enum Debug::DebugMask

Enumerator:
Quiet 
FindMembers 
Functions 
Variables 
Preprocessor 
Classes 
CommentCnv 
CommentScan 
Validate 
PrintTree 
Time 
ExtCmd 

Definition at line 25 of file debug.h.


Member Function Documentation

void Debug::print ( DebugMask  mask,
int  prio,
const char *  fmt,
  ... 
) [static]

Definition at line 79 of file debug.cpp.

Referenced by FileDef::acquireFileVersion(), copyAndFilterFile(), fileToString(), ClassDef::getVariableInstance(), ClassDef::insertTemplateInstance(), portable_system(), and preprocessFile().

void Debug::setFlag ( const char *  label  )  [static]

Definition at line 97 of file debug.cpp.

Referenced by readConfiguration().

void Debug::clearFlag ( const char *  label  )  [static]

Definition at line 102 of file debug.cpp.

bool Debug::isFlagSet ( DebugMask  mask  )  [static]

Definition at line 112 of file debug.cpp.

Referenced by generateOutput(), msg(), preprocessFile(), validatingParseDoc(), and validatingParseText().

void Debug::setPriority ( int  p  )  [static]

Definition at line 107 of file debug.cpp.


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



Generated on Mon Mar 31 10:58:57 2008 by  doxygen 1.5.1