gc_ptr< T, TM > Class Template Reference

#include <gc_ptr.hh>

List of all members.


Detailed Description

template<class T, class TM = fatalmind::DefaultThreadedModel>
class gc_ptr< T, TM >

Garbage collected pointer.

Suitable to be used with STL container classes.

Public Member Functions

 gc_ptr (T *p=0)
 gc_ptr (const gc_ptr< T, TM > &p) throw ()
 gc_ptr (const gc_ptr_ref< T, TM > &p) throw ()
gc_ptr< T, TM > & operator= (const gc_ptr< T, TM > &p) throw ()
T & operator* () const throw ()
T * operator-> () const throw ()
T * get () const throw ()
bool isNull () const throw ()
void reset (T *ptr=0) throw ()
bool operator< (const gc_ptr< T > &a) const
template<class Y>
 operator gc_ptr_ref< Y, TM > () throw ()

Protected Member Functions

void dispose () throw ()

Protected Attributes

T * d_ptr
usg_cnt * d_usg


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

Generated on Mon Jun 9 11:27:03 2008 for ResourcePool by  doxygen 1.5.5