Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
nsAutoArrayPtrGetterTransfers< T > Class Template Reference

#include <nsAutoPtr.h>

List of all members.

Public Member Functions

 nsAutoArrayPtrGetterTransfers (nsAutoArrayPtr< T > &aSmartPtr)
 operator void ** ()
 operator T ** ()
T *& operator* ()

Private Attributes

nsAutoArrayPtr< T > & mTargetSmartPtr

Detailed Description

template<class T>
class nsAutoArrayPtrGetterTransfers< T >

Definition at line 691 of file nsAutoPtr.h.


Constructor & Destructor Documentation

template<class T >
nsAutoArrayPtrGetterTransfers< T >::nsAutoArrayPtrGetterTransfers ( nsAutoArrayPtr< T > &  aSmartPtr) [inline, explicit]

Definition at line 712 of file nsAutoPtr.h.

          : mTargetSmartPtr(aSmartPtr)
        {
          // nothing else to do
        }

Member Function Documentation

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

Definition at line 723 of file nsAutoPtr.h.

        {
          return mTargetSmartPtr.StartAssignment();
        }
template<class T >
nsAutoArrayPtrGetterTransfers< T >::operator void ** ( ) [inline]

Definition at line 718 of file nsAutoPtr.h.

        {
          return NS_REINTERPRET_CAST(void**, mTargetSmartPtr.StartAssignment());
        }
template<class T >
T*& nsAutoArrayPtrGetterTransfers< T >::operator* ( ) [inline]

Definition at line 729 of file nsAutoPtr.h.

        {
          return *(mTargetSmartPtr.StartAssignment());
        }

Member Data Documentation

template<class T >
nsAutoArrayPtr<T>& nsAutoArrayPtrGetterTransfers< T >::mTargetSmartPtr [private]

Definition at line 735 of file nsAutoPtr.h.


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