Public Member Functions | |
Referent (ElementType *resourcePointer=0, ReferenceCount initialCount=0) | |
Creates a new referent. | |
~Referent () throw () | |
Public Attributes | |
ElementType * | _resourcePointer |
Pointer to the actual object. | |
ReferenceCount | _refCount |
The reference count for the wrapped resource. |
The referenced representation of the resource.
Definition at line 447 of file CeylanCountedPointer.h.
Ceylan::CountedPointer< T >::CountedPointer::Referent::Referent | ( | ElementType * | resourcePointer = 0 , |
|
ReferenceCount | initialCount = 0 | |||
) | [inline] |
Creates a new referent.
resourcePointer | the pointer to the resource to be wrapped. | |
initialCount | the initial reference count. |
Definition at line 462 of file CeylanCountedPointer.h.
References Ceylan::CountedPointer< T >::CountedPointer::Referent::_refCount, and CEYLAN_DISPLAY_REFCOUNT.
Ceylan::CountedPointer< T >::CountedPointer::Referent::~Referent | ( | ) | throw () [inline] |
Definition at line 474 of file CeylanCountedPointer.h.
References Ceylan::CountedPointer< T >::CountedPointer::Referent::_resourcePointer.
ReferenceCount Ceylan::CountedPointer< T >::CountedPointer::Referent::_refCount |
The reference count for the wrapped resource.
Definition at line 492 of file CeylanCountedPointer.h.
Referenced by Ceylan::CountedPointer< T >::getReferenceCount(), Ceylan::CountedPointer< T >::isUnique(), Ceylan::CountedPointer< T >::CountedPointer::Referent::Referent(), Ceylan::CountedPointer< T >::release(), Ceylan::CountedPointer< T >::setReferent(), and Ceylan::CountedPointer< T >::toString().
ElementType* Ceylan::CountedPointer< T >::CountedPointer::Referent::_resourcePointer |
Pointer to the actual object.
Definition at line 488 of file CeylanCountedPointer.h.
Referenced by Ceylan::CountedPointer< T >::get(), Ceylan::CountedPointer< T >::toString(), and Ceylan::CountedPointer< T >::CountedPointer::Referent::~Referent().