Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

PTrace::Block Class Reference

#include <object.h>

List of all members.

Public Member Functions

 Block (const char *fileName, int lineNum, const char *traceName)
 ~Block ()
 Output exit trace message.


Detailed Description

Class to trace Execution blocks. This class is used for tracing the entry and exit of program blocks. Upon construction it outputs an entry trace message and on destruction outputs an exit trace message. This is normally only used from in the PTRACE_BLOCK macro.


Constructor & Destructor Documentation

PTrace::Block::Block const char *  fileName,
int  lineNum,
const char *  traceName
 

Output entry trace message.

Parameters:
lineNum  Filename of source file being traced
traceName  Line number of source file being traced. String to be output with trace, typically it is the function name.

PTrace::Block::~Block  ) 
 

Output exit trace message.


The documentation for this class was generated from the following file:
Generated on Sat Jul 24 15:36:00 2004 for PWLib by doxygen 1.3.7