Ceylan::CountedPointer< T >::Referent Struct Reference

Second: implementation. More...

List of all members.

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.

Detailed Description

template<typename T>
struct Ceylan::CountedPointer< T >::Referent

Second: implementation.

The referenced representation of the resource.

Definition at line 466 of file CeylanCountedPointer.h.


Constructor & Destructor Documentation

template<typename T>
Ceylan::CountedPointer< T >::Referent::Referent ( ElementType resourcePointer = 0,
ReferenceCount  initialCount = 0 
) [inline]

Creates a new referent.

Parameters:
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().

template<typename T>
Ceylan::CountedPointer< T >::Referent::~Referent (  )  throw () [inline]

Member Data Documentation


The documentation for this struct was generated from the following file:
Generated on Mon Nov 29 13:40:19 2010 for Ceylan by  doxygen 1.6.3