Classes | Public Types | Public Member Functions

nsAutoPtr< T > Class Template Reference

#include <nsAutoPtr.h>

Collaboration diagram for nsAutoPtr< T >:

List of all members.

Classes

class  Ptr

Public Types

typedef T element_type

Public Member Functions

 ~nsAutoPtr ()
 nsAutoPtr ()
 nsAutoPtr (Ptr aRawPtr)
 nsAutoPtr (nsAutoPtr< T > &aSmartPtr)
nsAutoPtr< T > & operator= (T *rhs)
nsAutoPtr< T > & operator= (nsAutoPtr< T > &rhs)
T * get () const
 operator T * () const
T * forget ()
T * operator-> () const
template<class U , class V >
U & operator->* (U V::*aMember)
nsAutoPtr< T > * get_address ()
const nsAutoPtr< T > * get_address () const
T & operator* () const
T ** StartAssignment ()

template<class T>
class nsAutoPtr< T >


Member Typedef Documentation

template<class T>
typedef T nsAutoPtr< T >::element_type

Constructor & Destructor Documentation

template<class T>
nsAutoPtr< T >::~nsAutoPtr (  )  [inline]
template<class T>
nsAutoPtr< T >::nsAutoPtr (  )  [inline]
template<class T>
nsAutoPtr< T >::nsAutoPtr ( Ptr  aRawPtr  )  [inline]
template<class T>
nsAutoPtr< T >::nsAutoPtr ( nsAutoPtr< T > &  aSmartPtr  )  [inline]

Member Function Documentation

template<class T>
T* nsAutoPtr< T >::forget (  )  [inline]
template<class T>
T* nsAutoPtr< T >::get (  )  const [inline]
template<class T>
nsAutoPtr<T>* nsAutoPtr< T >::get_address (  )  [inline]
template<class T>
const nsAutoPtr<T>* nsAutoPtr< T >::get_address (  )  const [inline]
template<class T>
nsAutoPtr< T >::operator T * (  )  const [inline]
template<class T>
T& nsAutoPtr< T >::operator* (  )  const [inline]
template<class T>
T* nsAutoPtr< T >::operator-> (  )  const [inline]
template<class T>
template<class U , class V >
U& nsAutoPtr< T >::operator->* ( U V::*  aMember  )  [inline]
template<class T>
nsAutoPtr<T>& nsAutoPtr< T >::operator= ( nsAutoPtr< T > &  rhs  )  [inline]
template<class T>
nsAutoPtr<T>& nsAutoPtr< T >::operator= ( T *  rhs  )  [inline]
template<class T>
T** nsAutoPtr< T >::StartAssignment (  )  [inline]

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