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

A non-instrusive smart pointer to hold objects allocated with new only.

#include <LDK/SmartPointers.h>

Inheritance diagram for LDK::NewSmartPointer< T >:

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

Collaboration graph
[legend]

Public Types

typedef SmartPointerBase<
T >::PointerType 
PointerType

Public Member Functions

 NewSmartPointer (PointerType p=NULL)
 NewSmartPointer (const NewSmartPointer &rhs)
 ~NewSmartPointer ()
NewSmartPointeroperator= (const NewSmartPointer &rhs)

Static Public Member Functions

static size_t refCount (const NewSmartPointer &s)

Static Protected Member Functions

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

Protected Attributes

size_t * mRefCountPtr

Detailed Description

template<class T>
class LDK::NewSmartPointer< T >

Definition at line 278 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