LDK::SmartPointer< T > Class Template Reference
[Garbage CollectionGarbage Collection]

A non-instrusive smart pointer to hold memory allocated with LDK::create only.

#include <LDK/SmartPointers.h>

Inheritance diagram for LDK::SmartPointer< T >:

Inheritance graph
[legend]
Collaboration diagram for LDK::SmartPointer< T >:

Collaboration graph
[legend]

Public Types

typedef SmartPointerBase<
T >::PointerType 
PointerType

Public Member Functions

 SmartPointer (PointerType p=NULL)
 SmartPointer (const SmartPointer &rhs)
 ~SmartPointer ()
SmartPointeroperator= (const SmartPointer &rhs)

Static Public Member Functions

static size_t refCount (const SmartPointer &s)

Static Protected Member Functions

static void incRefCount (SmartPointer &rhs)
static void decRefCount (SmartPointer &rhs)

Protected Attributes

size_t * mRefCountPtr

Detailed Description

template<class T>
class LDK::SmartPointer< T >

Definition at line 211 of file SmartPointers.h.


The documentation for this class was generated from the following file:
Generated on Fri Aug 17 18:32:27 2007 for LDK by  doxygen 1.5.1