#include <comutil.h>
Public Member Functions | |
SIfacePtr () | |
SIfacePtr (T *p) | |
SIfacePtr (IUnknown *unknown, REFIID riid) | |
~SIfacePtr () | |
T * | operator-> () |
const T * | operator-> () const |
operator T * () | |
T ** | operator & () |
bool | empty () const |
SIfacePtr & | operator= (T *p) |
void | operator= (SIfacePtr const &o) |
HRESULT | CreateInstance (REFIID clsid, REFIID riid) |
template<typename I> | |
HRESULT | QueryInterface (REFIID riid, I *p) |
T * | get () |
void | Free () |
Protected Member Functions | |
SIfacePtr (const SIfacePtr &o) | |
Protected Attributes | |
T * | _p |
Definition at line 208 of file comutil.h.
Definition at line 222 of file comutil.h.
00223 { 00224 CHECKERROR(unknown->QueryInterface(riid, (LPVOID*)&_p)); 00225 }
T* SIfacePtr< T >::operator-> | ( | ) | [inline] |
const T* SIfacePtr< T >::operator-> | ( | ) | const [inline] |
SIfacePtr< T >::operator T * | ( | ) | [inline] |
Definition at line 248 of file comutil.h.
References SIfacePtr< T >::_p.
00249 { 00250 return _p; 00251 }
T** SIfacePtr< T >::operator & | ( | ) | [inline] |
bool SIfacePtr< T >::empty | ( | ) | const [inline] |
T* SIfacePtr< T >::get | ( | ) | [inline] |
void SIfacePtr< T >::Free | ( | ) | [inline] |
Definition at line 303 of file comutil.h.
Referenced by SIfacePtr< IOleInPlaceObject >::operator=(), and SIfacePtr< IOleInPlaceObject >::~SIfacePtr().
Definition at line 320 of file comutil.h.
Referenced by SIfacePtr< IOleInPlaceObject >::CreateInstance(), SIfacePtr< IOleInPlaceObject >::empty(), SIfacePtr< IOleInPlaceObject >::Free(), SIfacePtr< IOleInPlaceObject >::get(), SIfacePtr< IOleInPlaceObject >::operator &(), SIfacePtr< T >::operator T *(), SIfacePtr< IOleInPlaceObject >::operator->(), SIfacePtr< IOleInPlaceObject >::operator=(), SIfacePtr< IOleInPlaceObject >::QueryInterface(), and SIfacePtr< IOleInPlaceObject >::SIfacePtr().
IBrowser Source Code Documentation
generated on 18.09.2008 by |