Debug

A base class used for debugging routines.

[ verification_docs | Source | Implementation | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION
AUTHOR

Class Summary

class Debug

{

public:
Debug() ;
~Debug() ;
static void debug(const DebugLevel& dl, const string& c, const string& m, const string& t);
static DebugLevel _getDebugLevel();
protected:
private:
static DebugLevel _currentDebugLevel;
}; // Debug


DESCRIPTION

A base class used for debugging routines. It should be noted that this routine uses the NWS's APPS_DEFAULTS system to read debug the debug level. The token used is: pqpf_debug_level and it takes integers (not the string representations) that align with the DebugLevel enum.


AUTHOR

Mike Smoot


DebugLevel _currentDebugLevel;

The debug level

		static DebugLevel _currentDebugLevel; 

Debug() ;

Constructor.

		Debug()  ;

Function is currently defined inline.


~Debug() ;

Destructor.

		~Debug()  ;

Function is currently defined inline.


void debug(const DebugLevel& dl, const string& c, const string& m, const string& t);

The generic debug function. Simply writes debug message to stdout.

		static void debug(const DebugLevel& dl,
				          const string& c,
				          const string& m,
				          const string& t);

DebugLevel _getDebugLevel();

Function that returns the debug level as set in $APPS_DEFAULTS.

		static DebugLevel _getDebugLevel();

All Members

public:
static void debug(const DebugLevel& dl, const string& c, const string& m, const string& t);
static DebugLevel _getDebugLevel();
protected:

Ancestors

Class does not inherit from any other class.


Descendants

Class is not inherited by any others.


Generated from source by the Cocoon utilities on Wed Aug 30 12:53:30 2000 .

Report problems to jkotula@stratasys.com