webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | List of all members
COMPtr< T > Class Template Reference

#include <COMPtr.h>

Public Types

typedef TPtrType
 
typedef T *(COMPtr::* UnspecifiedBoolType) () const
 

Public Member Functions

 COMPtr ()
 
 COMPtr (T *ptr)
 
 COMPtr (AdoptCOMTag, T *ptr)
 
 COMPtr (const COMPtr &o)
 
 COMPtr (QueryTag, IUnknown *ptr)
 
template<typename U >
 COMPtr (QueryTag, const COMPtr< U > &ptr)
 
 COMPtr (CreateTag, const IID &clsid)
 
 COMPtr (WTF::HashTableDeletedValueType)
 
bool isHashTableDeletedValue () const
 
 ~COMPtr ()
 
Tget () const
 
void clear ()
 
TleakRef ()
 
Toperator* () const
 
Toperator-> () const
 
T ** operator & ()
 
bool operator! () const
 
 operator UnspecifiedBoolType () const
 
COMPtroperator= (const COMPtr &)
 
COMPtroperator= (T *)
 
template<typename U >
COMPtroperator= (const COMPtr< U > &)
 
void query (IUnknown *ptr)
 
template<typename U >
void query (const COMPtr< U > &ptr)
 
void create (const IID &clsid)
 
template<typename U >
HRESULT copyRefTo (U **)
 
void adoptRef (T *)
 
template<typename T>
COMPtr< T > & operator= (const COMPtr< T > &o)
 
template<typename U >
COMPtr< T > & operator= (const COMPtr< U > &o)
 

Member Typedef Documentation

◆ PtrType

template<typename T>
typedef T* COMPtr< T >::PtrType

◆ UnspecifiedBoolType

template<typename T>
typedef T*(COMPtr::* COMPtr< T >::UnspecifiedBoolType) () const

Constructor & Destructor Documentation

◆ COMPtr() [1/8]

template<typename T>
COMPtr< T >::COMPtr ( )
inline

◆ COMPtr() [2/8]

template<typename T>
COMPtr< T >::COMPtr ( T ptr)
inline

◆ COMPtr() [3/8]

template<typename T>
COMPtr< T >::COMPtr ( AdoptCOMTag  ,
T ptr 
)
inline

◆ COMPtr() [4/8]

template<typename T>
COMPtr< T >::COMPtr ( const COMPtr< T > &  o)
inline

◆ COMPtr() [5/8]

template<typename T>
COMPtr< T >::COMPtr ( QueryTag  ,
IUnknown *  ptr 
)
inline

◆ COMPtr() [6/8]

template<typename T>
template<typename U >
COMPtr< T >::COMPtr ( QueryTag  ,
const COMPtr< U > &  ptr 
)
inline

◆ COMPtr() [7/8]

template<typename T>
COMPtr< T >::COMPtr ( CreateTag  ,
const IID &  clsid 
)
inline

◆ COMPtr() [8/8]

template<typename T>
COMPtr< T >::COMPtr ( WTF::HashTableDeletedValueType  )
inline

◆ ~COMPtr()

template<typename T>
COMPtr< T >::~COMPtr ( )
inline

Member Function Documentation

◆ adoptRef()

template<typename T>
void COMPtr< T >::adoptRef ( T ptr)
inline

◆ clear()

template<typename T >
void COMPtr< T >::clear ( )
inline

◆ copyRefTo()

template<typename T >
template<typename U >
HRESULT COMPtr< T >::copyRefTo ( U **  ptr)
inline

◆ create()

template<typename T>
void COMPtr< T >::create ( const IID &  clsid)
inline

◆ get()

template<typename T>
T* COMPtr< T >::get ( ) const
inline

◆ isHashTableDeletedValue()

template<typename T>
bool COMPtr< T >::isHashTableDeletedValue ( ) const
inline

◆ leakRef()

template<typename T >
T * COMPtr< T >::leakRef ( )
inline

◆ operator &()

template<typename T>
T** COMPtr< T >::operator& ( )
inline

◆ operator UnspecifiedBoolType()

template<typename T>
COMPtr< T >::operator UnspecifiedBoolType ( ) const
inline

◆ operator!()

template<typename T>
bool COMPtr< T >::operator! ( ) const
inline

◆ operator*()

template<typename T>
T& COMPtr< T >::operator* ( ) const
inline

◆ operator->()

template<typename T>
T* COMPtr< T >::operator-> ( ) const
inline

◆ operator=() [1/5]

template<typename T>
COMPtr& COMPtr< T >::operator= ( const COMPtr< T > &  )

◆ operator=() [2/5]

template<typename T>
COMPtr< T > & COMPtr< T >::operator= ( T optr)
inline

◆ operator=() [3/5]

template<typename T>
template<typename U >
COMPtr& COMPtr< T >::operator= ( const COMPtr< U > &  )

◆ operator=() [4/5]

template<typename T>
template<typename T>
COMPtr<T>& COMPtr< T >::operator= ( const COMPtr< T > &  o)
inline

◆ operator=() [5/5]

template<typename T>
template<typename U >
COMPtr<T>& COMPtr< T >::operator= ( const COMPtr< U > &  o)
inline

◆ query() [1/2]

template<typename T>
void COMPtr< T >::query ( IUnknown *  ptr)
inline

◆ query() [2/2]

template<typename T>
template<typename U >
void COMPtr< T >::query ( const COMPtr< U > &  ptr)
inline

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