Second: implementation. More...
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. | |
Second: implementation.
The referenced representation of the resource.
Definition at line 466 of file CeylanCountedPointer.h.
| Ceylan::CountedPointer< T >::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 481 of file CeylanCountedPointer.h.
References Ceylan::CountedPointer< T >::Referent::_refCount, Ceylan::CountedPointer< T >::Referent::_resourcePointer, CEYLAN_DISPLAY_REFCOUNT, and Ceylan::toString().
| Ceylan::CountedPointer< T >::Referent::~Referent | ( | ) | throw () [inline] |
Definition at line 495 of file CeylanCountedPointer.h.
References Ceylan::CountedPointer< T >::Referent::_resourcePointer, CEYLAN_DISPLAY_REFCOUNT, and Ceylan::toString().
| ReferenceCount Ceylan::CountedPointer< T >::Referent::_refCount |
The reference count for the wrapped resource.
Definition at line 517 of file CeylanCountedPointer.h.
Referenced by Ceylan::CountedPointer< T >::getReferenceCount(), Ceylan::CountedPointer< T >::isUnique(), Ceylan::CountedPointer< T >::Referent::Referent(), Ceylan::CountedPointer< T >::release(), Ceylan::CountedPointer< T >::setReferent(), and Ceylan::CountedPointer< T >::toString().
| ElementType* Ceylan::CountedPointer< T >::Referent::_resourcePointer |
Pointer to the actual object.
Definition at line 513 of file CeylanCountedPointer.h.
Referenced by Ceylan::CountedPointer< T >::get(), Ceylan::CountedPointer< T >::Referent::Referent(), Ceylan::CountedPointer< T >::release(), Ceylan::CountedPointer< T >::setReferent(), Ceylan::CountedPointer< T >::toString(), and Ceylan::CountedPointer< T >::Referent::~Referent().
1.6.3