Keos::CRefCount< T > Class Template Reference

Implementation of the OwnershipPolicy used by CSmartPtr Provides a classic external reference counting implementation. More...

#include <KeosSmartPtrPolicies.h>

Inheritance diagram for Keos::CRefCount< T >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CRefCount ()
 Default constructor.
T * Clone (T *Ptr)
 Clone the resource.
void Release (T *pPtr)
 Manage the liberation of the resource.
void Swap (CRefCount &RefCount)
 Swap two instances.

Detailed Description

template<class T>
class Keos::CRefCount< T >

Implementation of the OwnershipPolicy used by CSmartPtr Provides a classic external reference counting implementation.

Definition at line 34 of file KeosSmartPtrPolicies.h.


Constructor & Destructor Documentation

template<class T>
Keos::CRefCount< T >::CRefCount (  )  [inline]

Default constructor.

Definition at line 41 of file KeosSmartPtrPolicies.h.


Member Function Documentation

template<class T>
T* Keos::CRefCount< T >::Clone ( T *  Ptr  )  [inline]

Clone the resource.

Definition at line 47 of file KeosSmartPtrPolicies.h.

template<class T>
void Keos::CRefCount< T >::Release ( T *  pPtr  )  [inline]

Manage the liberation of the resource.

Definition at line 56 of file KeosSmartPtrPolicies.h.

template<class T>
void Keos::CRefCount< T >::Swap ( CRefCount< T > &  RefCount  )  [inline]

Swap two instances.

Definition at line 68 of file KeosSmartPtrPolicies.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 9 14:29:29 2007 for Keos by  doxygen 1.5.1-p1