SYNOPSIS

#include <objcount.h>

Protected Member Functions

objCounter ()

virtual ~objCounter ()

Static Protected Attributes

static unsigned objCount = 0

Detailed Description

template<class T>class ost::objCounter< T >

Generic template class for creating classes which maintain an active count of the number of instances currently in active use.

This is a form of global reference count.

Author:

David Sugar [email protected] Object instance global reference count.

Constructor & Destructor Documentation

template<class T > \fBost::objCounter\fP< T >::\fBobjCounter\fP ()\fC [inline]\fP, \fC [protected]\fP

References ost::objCounter< T >::objCount.

template<class T > virtual \fBost::objCounter\fP< T >::~\fBobjCounter\fP ()\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP

References ost::objCounter< T >::objCount.

Member Data Documentation

template<class T > unsigned \fBost::objCounter\fP< T >::objCount = 0\fC [static]\fP, \fC [protected]\fP

Referenced by ost::objCounter< T >::objCounter(), and ost::objCounter< T >::~objCounter().

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.