Public Types | Public Member Functions

nsRefPtr< T > Class Template Reference

#include <nsAutoPtr.h>

Collaboration diagram for nsRefPtr< T >:

List of all members.

Public Types

typedef T element_type

Public Member Functions

 ~nsRefPtr ()
 nsRefPtr ()
 nsRefPtr (const nsRefPtr< T > &aSmartPtr)
 nsRefPtr (T *aRawPtr)
 nsRefPtr (const already_AddRefed< T > &aSmartPtr)
nsRefPtr< T > & operator= (const nsRefPtr< T > &rhs)
nsRefPtr< T > & operator= (T *rhs)
nsRefPtr< T > & operator= (const already_AddRefed< T > &rhs)
void swap (nsRefPtr< T > &rhs)
void swap (T *&rhs)
already_AddRefed< T > forget ()
template<typename I >
void forget (I **rhs)
T * get () const
 operator T * () const
T * operator-> () const
template<class U , class V >
U & operator->* (U V::*aMember)
nsRefPtr< T > * get_address ()
const nsRefPtr< T > * get_address () const
T & operator* () const
T ** StartAssignment ()

template<class T>
class nsRefPtr< T >


Member Typedef Documentation

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

Constructor & Destructor Documentation

template<class T>
nsRefPtr< T >::~nsRefPtr (  )  [inline]
template<class T>
nsRefPtr< T >::nsRefPtr (  )  [inline]
template<class T>
nsRefPtr< T >::nsRefPtr ( const nsRefPtr< T > &  aSmartPtr  )  [inline]
template<class T>
nsRefPtr< T >::nsRefPtr ( T *  aRawPtr  )  [inline]
template<class T>
nsRefPtr< T >::nsRefPtr ( const already_AddRefed< T > &  aSmartPtr  )  [inline]

Member Function Documentation

template<class T>
already_AddRefed<T> nsRefPtr< T >::forget (  )  [inline]
template<class T>
template<typename I >
void nsRefPtr< T >::forget ( I **  rhs  )  [inline]
template<class T>
T* nsRefPtr< T >::get (  )  const [inline]
template<class T>
nsRefPtr<T>* nsRefPtr< T >::get_address (  )  [inline]
template<class T>
const nsRefPtr<T>* nsRefPtr< T >::get_address (  )  const [inline]
template<class T>
nsRefPtr< T >::operator T * (  )  const [inline]
template<class T>
T& nsRefPtr< T >::operator* (  )  const [inline]
template<class T>
T* nsRefPtr< T >::operator-> (  )  const [inline]
template<class T>
template<class U , class V >
U& nsRefPtr< T >::operator->* ( U V::*  aMember  )  [inline]
template<class T>
nsRefPtr<T>& nsRefPtr< T >::operator= ( const nsRefPtr< T > &  rhs  )  [inline]
template<class T>
nsRefPtr<T>& nsRefPtr< T >::operator= ( T *  rhs  )  [inline]
template<class T>
nsRefPtr<T>& nsRefPtr< T >::operator= ( const already_AddRefed< T > &  rhs  )  [inline]
template<class T>
T** nsRefPtr< T >::StartAssignment (  )  [inline]
template<class T>
void nsRefPtr< T >::swap ( T *&  rhs  )  [inline]
template<class T>
void nsRefPtr< T >::swap ( nsRefPtr< T > &  rhs  )  [inline]

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