Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

RefCountedPtr< T > Class Template Reference

#include <RefCountedPtr.H>

Inheritance diagram for RefCountedPtr< T >:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 RefCountedPtr (T *ptr=0)
 RefCountedPtr (const RefCountedPtr< T > &other)
 ~RefCountedPtr ()
const RefCountedPtr< T > & operator= (const RefCountedPtr< T > &rhs)
T * operator-> ()
bool isNull () const
const T * operator-> () const
T & operator * ()
const T & operator * () const
 operator const T * () const
bool isNonUnique () const
int refCount () const

Protected Attributes

T * ptr_
int * refCount_

template<class T>
class RefCountedPtr< T >


Constructor & Destructor Documentation

template<class T>
RefCountedPtr< T >::RefCountedPtr (  T *    ptr = 0 )  [inline]
 

template<class T>
RefCountedPtr< T >::RefCountedPtr (  const RefCountedPtr< T > &    other )  [inline]
 

template<class T>
RefCountedPtr< T >::~RefCountedPtr (    )  [inline]
 


Member Function Documentation

template<class T>
bool RefCountedPtr< T >::isNonUnique (    )  const [inline]
 

template<class T>
bool RefCountedPtr< T >::isNull (    )  const [inline]
 

template<class T>
const T & RefCountedPtr< T >::operator * (    )  const [inline]
 

template<class T>
T & RefCountedPtr< T >::operator * (    )  [inline]
 

template<class T>
RefCountedPtr< T >::operator const T * (    )  const [inline]
 

template<class T>
const T * RefCountedPtr< T >::operator-> (    )  const [inline]
 

template<class T>
T * RefCountedPtr< T >::operator-> (    )  [inline]
 

template<class T>
const RefCountedPtr< T > & RefCountedPtr< T >::operator= (  const RefCountedPtr< T > &    rhs )  [inline]
 

template<class T>
int RefCountedPtr< T >::refCount (    )  const [inline]
 


Member Data Documentation

template<class T>
T* RefCountedPtr< T >::ptr_ [protected]
 

template<class T>
int* RefCountedPtr< T >::refCount_ [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Jul 2 10:44:16 2002 for Chombo by doxygen1.2.16