Count Class Reference


Detailed Description

Class implementing debug object counting operation.

This class converts a simple counter into a Debug request.

#include <adskDebugCount.h>

List of all members.

Public Member Functions

 Count ()
 Default constructor - initializes the static object counter.
 ~Count ()
 Default destructor - does nothing.
Countoperator= (size_t rhsCounter)
 Assign a computed counter object to a debug object.

Member Function Documentation

Count & operator= ( size_t  counter)

Assign a computed counter object to a debug object.

The counter object is maintained by the class being debugged, the debug object is what is used for reporting debugging information. This assignment operator provides the bridge to move the information from one to the other.

Parameters:
[in]counterComputed object counting information to be assigned
Returns:
Reference to the assigned object (i.e. this)

Count Count Count Count Count Count Count Count Count Count
Count Count Count Count Count Count Count Count Count Count