GME
13
|
#include <CommonSmart.h>
Public Member Functions | |
CComObjPtr () | |
CComObjPtr (T *q) | |
CComObjPtr (const CComObjPtr< T > &q) | |
CComObjPtr (CComObjPtr< T > &&q) | |
CComObjPtr & | operator= (CComObjPtr< T > &&q) |
~CComObjPtr () | |
void | Release () |
operator T * () const | |
T & | operator* () const |
T * | operator-> () const |
T * | operator= (T *q) |
T * | operator= (const CComObjPtr< T > &q) |
bool | operator== (T *q) const |
bool | operator!= (T *q) const |
T * | Detach () |
void | Attach (T *q) |
template<class Q > | |
HRESULT | QueryInterface (CComObjPtr< Q > &q) const |
HRESULT | CoCreateInstance (REFCLSID rclsid, LPUNKNOWN pUnkOuter=NULL, DWORD dwClsContext=CLSCTX_ALL) |
HRESULT | CoCreateInstance (LPCOLESTR szProgID, LPUNKNOWN pUnkOuter=NULL, DWORD dwClsContext=CLSCTX_ALL) |
Public Attributes | |
T * | p |
Definition at line 21 of file CommonSmart.h.
CComObjPtr< T >::CComObjPtr | ( | ) | [inline] |
Definition at line 24 of file CommonSmart.h.
CComObjPtr< T >::CComObjPtr | ( | T * | q | ) | [inline] |
Definition at line 25 of file CommonSmart.h.
CComObjPtr< T >::CComObjPtr | ( | const CComObjPtr< T > & | q | ) | [inline] |
Definition at line 26 of file CommonSmart.h.
CComObjPtr< T >::CComObjPtr | ( | CComObjPtr< T > && | q | ) | [inline] |
Definition at line 27 of file CommonSmart.h.
CComObjPtr< T >::~CComObjPtr | ( | ) | [inline] |
Definition at line 43 of file CommonSmart.h.
void CComObjPtr< T >::Attach | ( | T * | q | ) | [inline] |
Definition at line 56 of file CommonSmart.h.
HRESULT CComObjPtr< T >::CoCreateInstance | ( | REFCLSID | rclsid, |
LPUNKNOWN | pUnkOuter = NULL , |
||
DWORD | dwClsContext = CLSCTX_ALL |
||
) | [inline] |
Definition at line 65 of file CommonSmart.h.
HRESULT CComObjPtr< T >::CoCreateInstance | ( | LPCOLESTR | szProgID, |
LPUNKNOWN | pUnkOuter = NULL , |
||
DWORD | dwClsContext = CLSCTX_ALL |
||
) | [inline] |
Definition at line 71 of file CommonSmart.h.
T* CComObjPtr< T >::Detach | ( | ) | [inline] |
Definition at line 55 of file CommonSmart.h.
CComObjPtr< T >::operator T * | ( | ) | const [inline] |
Definition at line 47 of file CommonSmart.h.
bool CComObjPtr< T >::operator!= | ( | T * | q | ) | const [inline] |
Definition at line 53 of file CommonSmart.h.
T& CComObjPtr< T >::operator* | ( | ) | const [inline] |
Definition at line 48 of file CommonSmart.h.
T* CComObjPtr< T >::operator-> | ( | ) | const [inline] |
Definition at line 49 of file CommonSmart.h.
CComObjPtr& CComObjPtr< T >::operator= | ( | CComObjPtr< T > && | q | ) | [inline] |
Definition at line 32 of file CommonSmart.h.
T* CComObjPtr< T >::operator= | ( | T * | q | ) | [inline] |
Definition at line 50 of file CommonSmart.h.
T* CComObjPtr< T >::operator= | ( | const CComObjPtr< T > & | q | ) | [inline] |
Definition at line 51 of file CommonSmart.h.
bool CComObjPtr< T >::operator== | ( | T * | q | ) | const [inline] |
Definition at line 52 of file CommonSmart.h.
HRESULT CComObjPtr< T >::QueryInterface | ( | CComObjPtr< Q > & | q | ) | const [inline] |
Definition at line 59 of file CommonSmart.h.
void CComObjPtr< T >::Release | ( | ) | [inline] |
Definition at line 45 of file CommonSmart.h.
T* CComObjPtr< T >::p |
Definition at line 82 of file CommonSmart.h.