Debug< C > Class Template Reference
[Classes for basic data types and vectors/arrays (tjutils library)]

#include <tjdebug.h>

Inheritance diagram for Debug< C >:

Inheritance graph
[legend]
Collaboration diagram for Debug< C >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Debug (const char *objectLabel, const char *functionName, debugPriority level=verboseDebug)
 Debug (const Labeled *labeledObject, const char *functionName, debugPriority level=verboseDebug)
 ~Debug ()

Static Public Member Functions

static debugPriority set_debug_level (debugPriority level)
static debugPriority get_debug_level ()

Detailed Description

template<class C>
class Debug< C >

Debugging, tracing class. The template parameter specifies the component in which debugging is placed, e.g. Debug<Seq> for debugging sequence code.

Definition at line 217 of file tjdebug.h.


Constructor & Destructor Documentation

template<class C>
Debug< C >::Debug ( const char *  objectLabel,
const char *  functionName,
debugPriority  level = verboseDebug< C > 
)

Constructs a debugging stream for object 'objectLabel' and function 'functionName'. Both strings will precede the actual message in the log. The third argument specifies a uniform debugging priority for the constructor and destructor. This constructor will automatically generate a START tag in the log for the function it is used in.

Definition at line 29 of file tjdebug_code.h.

template<class C>
Debug< C >::Debug ( const Labeled labeledObject,
const char *  functionName,
debugPriority  level = verboseDebug< C > 
)

Constructs a debugging stream for labeled object 'labeledObject' and function 'functionName'. Both the label and the function name will precede the actual message in the log. The third argument specifies a uniform debugging priority for the constructor and destructor. This constructor will automatically generate a START tag in the log for the function it is used in.

Definition at line 37 of file tjdebug_code.h.

template<class C>
Debug< C >::~Debug (  ) 

This destructor will automatically generate an END tag in the log for the function its object is used in.

Definition at line 49 of file tjdebug_code.h.


The documentation for this class was generated from the following files:
Generated on Tue Jun 3 14:26:16 2008 by  doxygen 1.5.1