Public Types | Public Member Functions

nsCOMPtr< nsISupports > Class Template Reference

#include <nsCOMPtr.h>

Inheritance diagram for nsCOMPtr< nsISupports >:
Collaboration diagram for nsCOMPtr< nsISupports >:

List of all members.

Public Types

typedef nsISupports element_type

Public Member Functions

 nsCOMPtr ()
 nsCOMPtr (const nsCOMPtr< nsISupports > &aSmartPtr)
 nsCOMPtr (nsISupports *aRawPtr)
 nsCOMPtr (const already_AddRefed< nsISupports > &aSmartPtr)
 nsCOMPtr (const nsQueryInterface qi)
 nsCOMPtr (const nsQueryInterfaceWithError &qi)
 nsCOMPtr (const nsGetServiceByCID gs)
 nsCOMPtr (const nsGetServiceByCIDWithError &gs)
 nsCOMPtr (const nsGetServiceByContractID gs)
 nsCOMPtr (const nsGetServiceByContractIDWithError &gs)
 nsCOMPtr (const nsCOMPtr_helper &helper)
nsCOMPtr< nsISupports > & operator= (const nsCOMPtr< nsISupports > &rhs)
nsCOMPtr< nsISupports > & operator= (nsISupports *rhs)
nsCOMPtr< nsISupports > & operator= (const already_AddRefed< nsISupports > &rhs)
nsCOMPtr< nsISupports > & operator= (const nsQueryInterface rhs)
nsCOMPtr< nsISupports > & operator= (const nsQueryInterfaceWithError &rhs)
nsCOMPtr< nsISupports > & operator= (const nsGetServiceByCID rhs)
nsCOMPtr< nsISupports > & operator= (const nsGetServiceByCIDWithError &rhs)
nsCOMPtr< nsISupports > & operator= (const nsGetServiceByContractID rhs)
nsCOMPtr< nsISupports > & operator= (const nsGetServiceByContractIDWithError &rhs)
nsCOMPtr< nsISupports > & operator= (const nsCOMPtr_helper &rhs)
void swap (nsCOMPtr< nsISupports > &rhs)
void swap (nsISupports *&rhs)
already_AddRefed< nsISupportsforget ()
void forget (nsISupports **rhs)
nsISupportsget () const
 operator nsISupports * () const
nsISupportsoperator-> () const
nsCOMPtr< nsISupports > * get_address ()
const nsCOMPtr< nsISupports > * get_address () const
nsISupportsoperator* () const
nsISupports ** StartAssignment ()

template<>
class nsCOMPtr< nsISupports >


Member Typedef Documentation


Constructor & Destructor Documentation

nsCOMPtr< nsISupports >::nsCOMPtr (  )  [inline]
nsCOMPtr< nsISupports >::nsCOMPtr ( const nsCOMPtr< nsISupports > &  aSmartPtr  )  [inline]
nsCOMPtr< nsISupports >::nsCOMPtr ( nsISupports aRawPtr  )  [inline]
nsCOMPtr< nsISupports >::nsCOMPtr ( const already_AddRefed< nsISupports > &  aSmartPtr  )  [inline]
nsCOMPtr< nsISupports >::nsCOMPtr ( const nsQueryInterface  qi  )  [inline]
nsCOMPtr< nsISupports >::nsCOMPtr ( const nsQueryInterfaceWithError qi  )  [inline]
nsCOMPtr< nsISupports >::nsCOMPtr ( const nsGetServiceByCID  gs  )  [inline]
nsCOMPtr< nsISupports >::nsCOMPtr ( const nsGetServiceByCIDWithError gs  )  [inline]
nsCOMPtr< nsISupports >::nsCOMPtr ( const nsGetServiceByContractID  gs  )  [inline]
nsCOMPtr< nsISupports >::nsCOMPtr ( const nsCOMPtr_helper helper  )  [inline]

Member Function Documentation

already_AddRefed<nsISupports> nsCOMPtr< nsISupports >::forget (  )  [inline]
void nsCOMPtr< nsISupports >::forget ( nsISupports **  rhs  )  [inline]
nsISupports* nsCOMPtr< nsISupports >::get (  )  const [inline]
nsCOMPtr<nsISupports>* nsCOMPtr< nsISupports >::get_address (  )  [inline]
const nsCOMPtr<nsISupports>* nsCOMPtr< nsISupports >::get_address (  )  const [inline]
nsCOMPtr< nsISupports >::operator nsISupports * (  )  const [inline]
nsISupports& nsCOMPtr< nsISupports >::operator* (  )  const [inline]
nsISupports* nsCOMPtr< nsISupports >::operator-> (  )  const [inline]
nsCOMPtr<nsISupports>& nsCOMPtr< nsISupports >::operator= ( const nsCOMPtr< nsISupports > &  rhs  )  [inline]
nsCOMPtr<nsISupports>& nsCOMPtr< nsISupports >::operator= ( const nsGetServiceByCID  rhs  )  [inline]
nsCOMPtr<nsISupports>& nsCOMPtr< nsISupports >::operator= ( const nsGetServiceByContractID  rhs  )  [inline]
nsCOMPtr<nsISupports>& nsCOMPtr< nsISupports >::operator= ( nsISupports rhs  )  [inline]
nsCOMPtr<nsISupports>& nsCOMPtr< nsISupports >::operator= ( const nsQueryInterfaceWithError rhs  )  [inline]
nsCOMPtr<nsISupports>& nsCOMPtr< nsISupports >::operator= ( const nsGetServiceByContractIDWithError rhs  )  [inline]
nsCOMPtr<nsISupports>& nsCOMPtr< nsISupports >::operator= ( const nsQueryInterface  rhs  )  [inline]
nsCOMPtr<nsISupports>& nsCOMPtr< nsISupports >::operator= ( const nsGetServiceByCIDWithError rhs  )  [inline]
nsCOMPtr<nsISupports>& nsCOMPtr< nsISupports >::operator= ( const already_AddRefed< nsISupports > &  rhs  )  [inline]
nsCOMPtr<nsISupports>& nsCOMPtr< nsISupports >::operator= ( const nsCOMPtr_helper rhs  )  [inline]
nsISupports** nsCOMPtr< nsISupports >::StartAssignment (  )  [inline]
void nsCOMPtr< nsISupports >::swap ( nsISupports *&  rhs  )  [inline]
void nsCOMPtr< nsISupports >::swap ( nsCOMPtr< nsISupports > &  rhs  )  [inline]

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