Back to index

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

#include <nsMdbPtr.h>

List of all members.

Public Member Functions

 nsGetterAcquires (nsMdbPtr< T > &aSmartPtr)
 operator T ** ()
 nsGetterAcquires (nsMdbPtr< T > &aSmartPtr)
 operator T ** ()

Private Attributes

nsMdbPtr< T > & mTargetSmartPtr

Detailed Description

template<class T>
class nsGetterAcquires< T >

Definition at line 215 of file nsMdbPtr.h.


Constructor & Destructor Documentation

template<class T >
nsGetterAcquires< T >::nsGetterAcquires ( nsMdbPtr< T > &  aSmartPtr) [inline, explicit]

Definition at line 222 of file nsMdbPtr.h.

                                             : mTargetSmartPtr(aSmartPtr)
    {
        // nothing else to do
    }
template<class T >
nsGetterAcquires< T >::nsGetterAcquires ( nsMdbPtr< T > &  aSmartPtr) [inline, explicit]

Definition at line 223 of file nsMdbPtr.h.

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

Member Function Documentation

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

Definition at line 227 of file nsMdbPtr.h.

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

Definition at line 228 of file nsMdbPtr.h.

    {
        return mTargetSmartPtr.StartAssignment();
    }        

Member Data Documentation

template<class T >
nsMdbPtr< T > & nsGetterAcquires< T >::mTargetSmartPtr [private]

Definition at line 218 of file nsMdbPtr.h.


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