Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
already_AddRefed< T > Struct Template Reference

#include <nsCOMPtr.h>

List of all members.

Public Member Functions

 already_AddRefed (T *aRawPtr)
Tget () const

Public Attributes

TmRawPtr

Detailed Description

template<class T>
struct already_AddRefed< T >

Definition at line 250 of file nsCOMPtr.h.


Constructor & Destructor Documentation

template<class T>
already_AddRefed< T >::already_AddRefed ( T aRawPtr) [inline]

Definition at line 267 of file nsCOMPtr.h.

        : mRawPtr(aRawPtr)
      {
        // nothing else to do here
      }

Member Function Documentation

template<class T>
T* already_AddRefed< T >::get ( ) const [inline]

Definition at line 273 of file nsCOMPtr.h.

{ return mRawPtr; }

Member Data Documentation

template<class T>
T* already_AddRefed< T >::mRawPtr

Definition at line 275 of file nsCOMPtr.h.


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