Main Page   Class Hierarchy   Compound List   File List   Compound Members  

RCProxyShdPtr< T > Class Template Reference

Reference-counted shared smart pointer for non-RCBase objects. More...

#include <freecloth/resmgt/rcProxyShdPtr.h>

Inheritance diagram for RCProxyShdPtr< T >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef T element_type

Public Member Functions

 RCProxyShdPtr (T *=0)
 RCProxyShdPtr (const RCProxyShdPtr &rhs)
RCProxyShdPtr & operator= (const RCProxyShdPtr &rhs)
bool isNull () const
T & operator * () const
T * operator-> () const
T * get () const
bool operator== (const RCProxyShdPtr &) const
bool operator!= (const RCProxyShdPtr &) const

Private Member Functions

void acquire (Data *)
void release ()

Detailed Description

template<class T>
class RCProxyShdPtr< T >

Reference-counted shared smart pointer for non-RCBase objects.

When using external classes, such as the STL or a commercial library, it is not possible to change these classes to derive from RCBase, for use with RCShdPtr. Instead, RCProxyShdPtr can be used, although it is not quite as powerful as RCShdPtr.

Definition at line 94 of file rcProxyShdPtr.h.


The documentation for this class was generated from the following files:
Generated on Wed Apr 23 15:58:59 2003 for Freecloth by doxygen1.3-rc3