#include <CRefptr.h>
Public Member Functions | |
CReferenceCounted (T *p) | |
~CReferenceCounted () | |
T & | operator * () |
T * | get () |
void | reference () |
void | dereference () |
int | norefs () |
int | refcount () |
Private Member Functions | |
template<class U> | |
CReferenceCounted< T > & | operator= (const CReferenceCounted< U > &rhs) |
template<class U> | |
CReferenceCounted (const CReferenceCounted< U > &rhs) | |
Private Attributes | |
unsigned | m_ReferenceCount |
T * | m_Pointer |
|
|
|
|
|
|
|
Definition at line 314 of file CRefptr.h. Referenced by CRefcountedPtr< T >::operator=(), and CRefcountedPtr< T >::~CRefcountedPtr(). |
|
Definition at line 312 of file CRefptr.h. Referenced by CRefcountedPtr< T >::operator->(). |
|
Definition at line 315 of file CRefptr.h. Referenced by CRefcountedPtr< T >::operator=(), and CRefcountedPtr< T >::~CRefcountedPtr(). |
|
|
|
|
|
Definition at line 316 of file CRefptr.h. Referenced by CRefcountedPtr< T >::refcount(). |
|
Definition at line 313 of file CRefptr.h. Referenced by CRefcountedPtr< T >::CRefcountedPtr(), and CRefcountedPtr< T >::operator=(). |
|
|
|
|