Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
nsGetterAddRefs< nsISupports > Class Reference

#include <nsCOMPtr.h>

Collaboration diagram for nsGetterAddRefs< nsISupports >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsGetterAddRefs (nsCOMPtr< nsISupports > &aSmartPtr)
 operator void ** ()
 operator nsISupports ** ()
nsISupports *& operator* ()

Private Attributes

nsCOMPtr< nsISupports > & mTargetSmartPtr

Detailed Description

Definition at line 1406 of file nsCOMPtr.h.


Constructor & Destructor Documentation

nsGetterAddRefs< nsISupports >::nsGetterAddRefs ( nsCOMPtr< nsISupports > &  aSmartPtr) [inline, explicit]

Definition at line 1410 of file nsCOMPtr.h.

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

Member Function Documentation

nsGetterAddRefs< nsISupports >::operator nsISupports ** ( ) [inline]

Definition at line 1428 of file nsCOMPtr.h.

nsGetterAddRefs< nsISupports >::operator void ** ( ) [inline]

Definition at line 1423 of file nsCOMPtr.h.

nsISupports*& nsGetterAddRefs< nsISupports >::operator* ( ) [inline]

Definition at line 1434 of file nsCOMPtr.h.

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

Member Data Documentation

nsCOMPtr<nsISupports>& nsGetterAddRefs< nsISupports >::mTargetSmartPtr [private]

Definition at line 1440 of file nsCOMPtr.h.


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