RefCounterPtrBase Class Reference

Base class for RefCounterPtr classes, a friend of class RefCounter. More...

#include <refcounter.h>

Inherited by RefCounterPtr< T, RetT >.

Inheritance diagram for RefCounterPtrBase:

Inheritance graph
[legend]
List of all members.

Protected Member Functions

 RefCounterPtrBase ()

Static Protected Member Functions

static void incRef (RefCounter &rc)
static void decRef (RefCounter &rc)

Detailed Description

Base class for RefCounterPtr classes, a friend of class RefCounter.

The RefCounterPtrBase is declared as a friend of RefCounter class and provides protected methods for calling its private methods for increasing or decreasing reference count. Therefore only classes derived from this "base" can modify the reference count. Those should be some RefCounterPtr classes that provides overloaded operators and behaving themselves like pointers.

Definition at line 83 of file refcounter.h.


Constructor & Destructor Documentation

RefCounterPtrBase::RefCounterPtrBase  )  [inline, protected]
 

Definition at line 86 of file refcounter.h.


Member Function Documentation

static void RefCounterPtrBase::decRef RefCounter rc  )  [inline, static, protected]
 

Definition at line 88 of file refcounter.h.

References RefCounter::decRef().

Referenced by RefCounterPtr< T, RetT >::operator=(), and RefCounterPtr< T, RetT >::~RefCounterPtr().

Here is the call graph for this function:

static void RefCounterPtrBase::incRef RefCounter rc  )  [inline, static, protected]
 

Definition at line 87 of file refcounter.h.

References RefCounter::incRef().

Referenced by RefCounterPtr< T, RetT >::operator=().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Wed Apr 12 14:21:31 2006 for bjs by  doxygen 1.4.5