Ceylan::CountedPointer< T >::CountedPointer::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 447 of file CeylanCountedPointer.h.


Constructor & Destructor Documentation

template<typename T>
Ceylan::CountedPointer< T >::CountedPointer::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 462 of file CeylanCountedPointer.h.

References Ceylan::CountedPointer< T >::CountedPointer::Referent::_refCount, and CEYLAN_DISPLAY_REFCOUNT.

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


Member Data Documentation


The documentation for this struct was generated from the following file:

Generated on Thu Jun 4 20:40:05 2009 for Ceylan by  doxygen 1.5.8