Public Types | Public Member Functions

nsAutoArrayPtr< T > Class Template Reference

#include <nsAutoPtr.h>

Collaboration diagram for nsAutoArrayPtr< T >:

List of all members.

Public Types

typedef T element_type

Public Member Functions

 ~nsAutoArrayPtr ()
 nsAutoArrayPtr ()
 nsAutoArrayPtr (T *aRawPtr)
 nsAutoArrayPtr (nsAutoArrayPtr< T > &aSmartPtr)
nsAutoArrayPtr< T > & operator= (T *rhs)
nsAutoArrayPtr< T > & operator= (nsAutoArrayPtr< T > &rhs)
T * get () const
 operator T * () const
T * forget ()
T * operator-> () const
nsAutoArrayPtr< T > * get_address ()
const nsAutoArrayPtr< T > * get_address () const
T & operator* () const
T ** StartAssignment ()

template<class T>
class nsAutoArrayPtr< T >


Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<class T>
T* nsAutoArrayPtr< T >::forget (  )  [inline]
template<class T>
T* nsAutoArrayPtr< T >::get (  )  const [inline]
template<class T>
const nsAutoArrayPtr<T>* nsAutoArrayPtr< T >::get_address (  )  const [inline]
template<class T>
nsAutoArrayPtr<T>* nsAutoArrayPtr< T >::get_address (  )  [inline]
template<class T>
nsAutoArrayPtr< T >::operator T * (  )  const [inline]
template<class T>
T& nsAutoArrayPtr< T >::operator* (  )  const [inline]
template<class T>
T* nsAutoArrayPtr< T >::operator-> (  )  const [inline]
template<class T>
nsAutoArrayPtr<T>& nsAutoArrayPtr< T >::operator= ( nsAutoArrayPtr< T > &  rhs  )  [inline]
template<class T>
nsAutoArrayPtr<T>& nsAutoArrayPtr< T >::operator= ( T *  rhs  )  [inline]
template<class T>
T** nsAutoArrayPtr< T >::StartAssignment (  )  [inline]

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