Go to the source code of this file.
Classes | |
| class | CComObjPtr< T > |
| class | CComBstrObj |
| class | CComSafeArray |
| class | PutInVariant |
| class | PutInBstr |
| class | CComPartObject< BASE > |
| class | SmartMultiPtr< t > |
Defines | |
| #define | MGACOLL_ITERATE(iftype, collifptr) |
| #define | MGACOLL_ITER (*arrptr) |
| #define | MGACOLL_AT_END (arrptr == arrend) |
| #define | MGACOLL_ITERATE_END |
Functions | |
| template<class T > | |
| T ** | PutOut (CComObjPtr< T > &p) |
| template<class T > | |
| T ** | PutInOut (CComObjPtr< T > &p) |
| template<class T , class Q > | |
| void | MoveTo (CComObjPtr< T > &p, Q **q) |
| template<class T , class Q > | |
| void | MoveTo (CComObjPtr< T > &p, CComObjPtr< Q > &q) |
| template<class T , class Q > | |
| void | CopyTo (T *p, Q **q) |
| template<class T , class Q > | |
| void | CopyTo (const CComObjPtr< T > &p, Q **q) |
| template<class T > | |
| HRESULT | QueryInterface (IUnknown *p, T **q) |
| template<class T > | |
| HRESULT | QueryInterface (IUnknown *p, CComObjPtr< T > &q) |
| template<class T > | |
| void | CreateComObject (CComObjPtr< T > &p) |
| template<class T > | |
| void | CreateComPartObject (LPUNKNOWN pUnkOuter, CComObjPtr< T > &p) |
| template<class T > | |
| void | CreateComObject (CComPtr< T > &p) |
| BSTR * | PutOut (CComBstrObj &s) |
| BSTR * | PutInOut (CComBstrObj &s) |
| void | CopyTo (BSTR p, BSTR *q) |
| void | CopyTo (const CComBstrObj &b, BSTR *q) |
| void | CopyTo (BSTR p, CComBstrObj &b) |
| void | MoveTo (BSTR *p, BSTR *q) |
| void | MoveTo (CComBstrObj &b, BSTR *q) |
| void | MoveTo (BSTR *p, CComBstrObj &b) |
| void | CopyTo (const char *p, int len, BSTR *b) |
| int | GetCharLength (const OLECHAR *p, int olelen) |
| void | CopyTo (const OLECHAR *p, int olelen, char *s, int charlen) |
| void | CopyTo (const OLECHAR *p, GUID &guid) |
| void | CopyTo (const GUID &guid, BSTR *p) |
| void | CopyTo (const char *p, int len, CComBstrObj &b) |
| int | GetCharLength (BSTR p) |
| void | CopyTo (BSTR p, char *s, int charlen) |
| void | CopyTo (const GUID &guid, CComBstrObj &b) |
| void | CopyTo (const CComBSTR &b, BSTR *q) |
| void | CopyTo (BSTR p, CComBSTR &b) |
| void | MoveTo (CComBSTR &b, BSTR *q) |
| void | MoveTo (BSTR *p, CComBSTR &b) |
| SAFEARRAY ** | PutOut (CComSafeArray &a) |
| SAFEARRAY ** | PutInOut (CComSafeArray &a) |
| void | CopyTo (const CComBstrObj *start, const CComBstrObj *end, SAFEARRAY **p) |
| void | CopyTo (const unsigned char *start, const unsigned char *end, SAFEARRAY **p) |
| void | CopyTo (const long *start, const long *end, SAFEARRAY **p) |
| void | CopyTo (const GUID *start, const GUID *end, SAFEARRAY **p) |
| void | MoveTo (CComBstrObj *start, CComBstrObj *end, SAFEARRAY **p) |
| long | GetArrayLength (SAFEARRAY *p) |
| void | GetArrayStart (SAFEARRAY *p, CComBstrObj *&start) |
| void | GetArrayStart (SAFEARRAY *p, unsigned char *&start) |
| void | GetArrayStart (SAFEARRAY *p, long *&start) |
| void | GetArrayStart (SAFEARRAY *p, GUID *&start) |
| void | CopyTo (SAFEARRAY *p, CComBstrObj *start, CComBstrObj *end) |
| void | CopyTo (SAFEARRAY *p, unsigned char *start, unsigned char *end) |
| void | CopyTo (SAFEARRAY *p, long *start, long *end) |
| void | CopyTo (SAFEARRAY *p, GUID *start, GUID *end) |
| void | MoveTo (SAFEARRAY *p, CComBstrObj *start, CComBstrObj *end) |
| VARIANT * | PutOut (CComVariant &v) |
| VARIANT * | PutInOut (CComVariant &v) |
| void | CopyTo (unsigned char a, VARIANT *v) |
| void | CopyTo (short a, VARIANT *v) |
| void | CopyTo (long a, VARIANT *v) |
| void | CopyTo (double a, VARIANT *v) |
| void | CopyTo (BSTR a, VARIANT *v) |
| void | CopyTo (IDispatch *p, VARIANT *v) |
| template<class T > | |
| void | CopyTo (const CComObjPtr< T > &p, VARIANT *v) |
| void | CopyTo (const VARIANT &v, unsigned char &a) |
| void | CopyTo (const VARIANT &v, short &a) |
| void | CopyTo (const VARIANT &v, long &a) |
| void | CopyTo (const VARIANT &v, double &a) |
| void | CopyTo (const VARIANT &v, BSTR *a) |
| void | MoveTo (BSTR b, VARIANT *v) |
| void | MoveTo (const VARIANT &v, BSTR *b) |
| void | MoveTo (IDispatch **p, VARIANT *v) |
| template<class T > | |
| void | MoveTo (const CComObjPtr< T > &p, VARIANT *v) |
| void | MoveTo (VARIANT *p, VARIANT *q) |
| void | CopyTo (const char *p, int len, VARIANT *v) |
| int | GetCharLength (VARIANT &v) |
| void | CopyTo (const VARIANT &v, char *s, int charlen) |
| void | CopyTo (const CComBstrObj *start, const CComBstrObj *end, VARIANT *v) |
| void | CopyTo (const unsigned char *start, const unsigned char *end, VARIANT *v) |
| void | CopyTo (const long *start, const long *end, VARIANT *v) |
| void | MoveTo (CComBstrObj *start, CComBstrObj *end, VARIANT *v) |
| long | GetArrayLength (const VARIANT &v) |
| void | GetArrayStart (const VARIANT &v, CComBstrObj *&start) |
| void | GetArrayStart (const VARIANT &v, unsigned char *&start) |
| void | GetArrayStart (const VARIANT &v, long *&start) |
| void | CopyTo (const VARIANT &v, CComBstrObj *start, CComBstrObj *end) |
| void | CopyTo (const VARIANT &v, unsigned char *start, unsigned char *end) |
| void | CopyTo (const VARIANT &v, long *start, long *end) |
| void | MoveTo (VARIANT *v, CComBstrObj *start, CComBstrObj *end) |
| void | CopyTo (const VARIANT &v, GUID &guid) |
| void | CopyTo (const unsigned char *start, int len, VARIANT *p) |
| void | CopyTo (const long *start, int len, VARIANT *p) |
| void | CopyTo (const GUID &guid, VARIANT *v) |
| void | CopyTo (const OBJECTID &objid, VARIANT *v) |
| void | CopyTo (const VARIANT &v, CComBstrObj &b) |
| template<class T > | |
| void | CopyTo (T t, CComVariant &v) |
| template<class T , class S > | |
| void | CopyTo (T t, S s, CComVariant &v) |
| bool | IsEqualObject (IUnknown *p, IUnknown *q) |
| #define MGACOLL_AT_END (arrptr == arrend) |
Definition at line 499 of file DecoratorSmart.h.
| #define MGACOLL_ITER (*arrptr) |
Definition at line 497 of file DecoratorSmart.h.
| #define MGACOLL_ITERATE | ( | iftype, | |||
| collifptr | ) |
{ \
ASSERT( collifptr != NULL ); \
long iter_count = 0; \
COMTHROW( collifptr->get_Count(&iter_count) ); \
ASSERT( iter_count >= 0 ); \
CComPtr<iftype> *arrptr, *arrend, *array = new CComPtr<iftype>[iter_count]; \
if(iter_count > 0) \
COMTHROW( collifptr->GetAll(iter_count, &(*array)) ); \
arrend = array+iter_count; \
for(arrptr = array; arrptr != arrend; arrptr++)
Definition at line 485 of file DecoratorSmart.h.
| #define MGACOLL_ITERATE_END |
delete[] array; \
}
Definition at line 501 of file DecoratorSmart.h.
| void CopyTo | ( | T | t, | |
| S | s, | |||
| CComVariant & | v | |||
| ) | [inline] |
Definition at line 366 of file DecoratorSmart.h.
| void CopyTo | ( | T | t, | |
| CComVariant & | v | |||
| ) | [inline] |
Definition at line 363 of file DecoratorSmart.h.
| void CopyTo | ( | const VARIANT & | v, | |
| CComBstrObj & | b | |||
| ) | [inline] |
Definition at line 360 of file DecoratorSmart.h.
| void CopyTo | ( | const OBJECTID & | objid, | |
| VARIANT * | v | |||
| ) | [inline] |
Definition at line 358 of file DecoratorSmart.h.
| void CopyTo | ( | const GUID & | guid, | |
| VARIANT * | v | |||
| ) | [inline] |
Definition at line 357 of file DecoratorSmart.h.
| void CopyTo | ( | const long * | start, | |
| int | len, | |||
| VARIANT * | p | |||
| ) | [inline] |
Definition at line 355 of file DecoratorSmart.h.
| void CopyTo | ( | const unsigned char * | start, | |
| int | len, | |||
| VARIANT * | p | |||
| ) | [inline] |
Definition at line 354 of file DecoratorSmart.h.
| void CopyTo | ( | const VARIANT & | v, | |
| GUID & | guid | |||
| ) |
Definition at line 830 of file CommonSmart.cpp.
| void CopyTo | ( | const VARIANT & | v, | |
| long * | start, | |||
| long * | end | |||
| ) |
Definition at line 817 of file CommonSmart.cpp.
| void CopyTo | ( | const VARIANT & | v, | |
| unsigned char * | start, | |||
| unsigned char * | end | |||
| ) |
Definition at line 804 of file CommonSmart.cpp.
| void CopyTo | ( | const VARIANT & | v, | |
| CComBstrObj * | start, | |||
| CComBstrObj * | end | |||
| ) |
Definition at line 776 of file CommonSmart.cpp.
| void CopyTo | ( | const long * | start, | |
| const long * | end, | |||
| VARIANT * | v | |||
| ) |
Definition at line 764 of file CommonSmart.cpp.
| void CopyTo | ( | const unsigned char * | start, | |
| const unsigned char * | end, | |||
| VARIANT * | v | |||
| ) |
Definition at line 752 of file CommonSmart.cpp.
| void CopyTo | ( | const CComBstrObj * | start, | |
| const CComBstrObj * | end, | |||
| VARIANT * | v | |||
| ) |
Definition at line 728 of file CommonSmart.cpp.
| void CopyTo | ( | const VARIANT & | v, | |
| char * | s, | |||
| int | charlen | |||
| ) |
Definition at line 682 of file CommonSmart.cpp.
| void CopyTo | ( | const char * | p, | |
| int | len, | |||
| VARIANT * | v | |||
| ) |
Definition at line 653 of file CommonSmart.cpp.
| void CopyTo | ( | const VARIANT & | v, | |
| BSTR * | a | |||
| ) |
Definition at line 626 of file CommonSmart.cpp.
| void CopyTo | ( | const VARIANT & | v, | |
| double & | a | |||
| ) |
Definition at line 611 of file CommonSmart.cpp.
| void CopyTo | ( | const VARIANT & | v, | |
| long & | a | |||
| ) |
Definition at line 596 of file CommonSmart.cpp.
| void CopyTo | ( | const VARIANT & | v, | |
| short & | a | |||
| ) |
Definition at line 581 of file CommonSmart.cpp.
| void CopyTo | ( | const VARIANT & | v, | |
| unsigned char & | a | |||
| ) |
Definition at line 566 of file CommonSmart.cpp.
| void CopyTo | ( | const CComObjPtr< T > & | p, | |
| VARIANT * | v | |||
| ) | [inline] |
Definition at line 294 of file DecoratorSmart.h.
| void CopyTo | ( | IDispatch * | p, | |
| VARIANT * | v | |||
| ) |
Definition at line 541 of file CommonSmart.cpp.
| void CopyTo | ( | BSTR | a, | |
| VARIANT * | v | |||
| ) |
Definition at line 525 of file CommonSmart.cpp.
| void CopyTo | ( | double | a, | |
| VARIANT * | v | |||
| ) |
Definition at line 511 of file CommonSmart.cpp.
| void CopyTo | ( | long | a, | |
| VARIANT * | v | |||
| ) |
Definition at line 497 of file CommonSmart.cpp.
| void CopyTo | ( | short | a, | |
| VARIANT * | v | |||
| ) |
Definition at line 483 of file CommonSmart.cpp.
| void CopyTo | ( | unsigned char | a, | |
| VARIANT * | v | |||
| ) |
Definition at line 469 of file CommonSmart.cpp.
| void CopyTo | ( | SAFEARRAY * | p, | |
| GUID * | start, | |||
| GUID * | end | |||
| ) |
Definition at line 449 of file CommonSmart.cpp.
| void CopyTo | ( | SAFEARRAY * | p, | |
| long * | start, | |||
| long * | end | |||
| ) |
Definition at line 431 of file CommonSmart.cpp.
| void CopyTo | ( | SAFEARRAY * | p, | |
| unsigned char * | start, | |||
| unsigned char * | end | |||
| ) |
Definition at line 413 of file CommonSmart.cpp.
| void CopyTo | ( | SAFEARRAY * | p, | |
| CComBstrObj * | start, | |||
| CComBstrObj * | end | |||
| ) |
Definition at line 347 of file CommonSmart.cpp.
| void CopyTo | ( | const GUID * | start, | |
| const GUID * | end, | |||
| SAFEARRAY ** | p | |||
| ) |
Definition at line 255 of file CommonSmart.cpp.
| void CopyTo | ( | const long * | start, | |
| const long * | end, | |||
| SAFEARRAY ** | p | |||
| ) |
Definition at line 220 of file CommonSmart.cpp.
| void CopyTo | ( | const unsigned char * | start, | |
| const unsigned char * | end, | |||
| SAFEARRAY ** | p | |||
| ) |
Definition at line 184 of file CommonSmart.cpp.
| void CopyTo | ( | const CComBstrObj * | start, | |
| const CComBstrObj * | end, | |||
| SAFEARRAY ** | p | |||
| ) |
Definition at line 114 of file CommonSmart.cpp.
| void CopyTo | ( | BSTR | p, | |
| CComBSTR & | b | |||
| ) | [inline] |
Definition at line 226 of file DecoratorSmart.h.
| void CopyTo | ( | const CComBSTR & | b, | |
| BSTR * | q | |||
| ) | [inline] |
Definition at line 225 of file DecoratorSmart.h.
| void CopyTo | ( | const GUID & | guid, | |
| CComBstrObj & | b | |||
| ) | [inline] |
Definition at line 221 of file DecoratorSmart.h.
| void CopyTo | ( | BSTR | p, | |
| char * | s, | |||
| int | charlen | |||
| ) | [inline] |
Definition at line 220 of file DecoratorSmart.h.
| void CopyTo | ( | const char * | p, | |
| int | len, | |||
| CComBstrObj & | b | |||
| ) | [inline] |
Definition at line 218 of file DecoratorSmart.h.
| void CopyTo | ( | const GUID & | guid, | |
| BSTR * | p | |||
| ) |
Definition at line 94 of file CommonSmart.cpp.
| void CopyTo | ( | const OLECHAR * | p, | |
| GUID & | guid | |||
| ) |
Definition at line 86 of file CommonSmart.cpp.
| void CopyTo | ( | const OLECHAR * | p, | |
| int | olelen, | |||
| char * | s, | |||
| int | charlen | |||
| ) |
Definition at line 70 of file DecoratorSmart.cpp.
| void CopyTo | ( | const char * | p, | |
| int | len, | |||
| BSTR * | b | |||
| ) |
Definition at line 18 of file DecoratorSmart.cpp.
| void CopyTo | ( | BSTR | p, | |
| CComBstrObj & | b | |||
| ) | [inline] |
Definition at line 190 of file DecoratorSmart.h.
| void CopyTo | ( | const CComBstrObj & | b, | |
| BSTR * | q | |||
| ) | [inline] |
Definition at line 189 of file DecoratorSmart.h.
| void CopyTo | ( | BSTR | p, | |
| BSTR * | q | |||
| ) | [inline] |
Definition at line 181 of file DecoratorSmart.h.
| void CopyTo | ( | const CComObjPtr< T > & | p, | |
| Q ** | q | |||
| ) | [inline] |
Definition at line 95 of file DecoratorSmart.h.
| void CopyTo | ( | T * | p, | |
| Q ** | q | |||
| ) | [inline] |
Definition at line 91 of file DecoratorSmart.h.
| void CreateComObject | ( | CComPtr< T > & | p | ) | [inline] |
Definition at line 134 of file DecoratorSmart.h.
| void CreateComObject | ( | CComObjPtr< T > & | p | ) | [inline] |
Definition at line 110 of file DecoratorSmart.h.
| void CreateComPartObject | ( | LPUNKNOWN | pUnkOuter, | |
| CComObjPtr< T > & | p | |||
| ) | [inline] |
Definition at line 121 of file DecoratorSmart.h.
| long GetArrayLength | ( | const VARIANT & | v | ) |
Definition at line 694 of file CommonSmart.cpp.
| long GetArrayLength | ( | SAFEARRAY * | p | ) |
Definition at line 296 of file CommonSmart.cpp.
| void GetArrayStart | ( | const VARIANT & | v, | |
| long *& | start | |||
| ) |
Definition at line 720 of file CommonSmart.cpp.
| void GetArrayStart | ( | const VARIANT & | v, | |
| unsigned char *& | start | |||
| ) |
Definition at line 712 of file CommonSmart.cpp.
| void GetArrayStart | ( | const VARIANT & | v, | |
| CComBstrObj *& | start | |||
| ) |
Definition at line 704 of file CommonSmart.cpp.
| void GetArrayStart | ( | SAFEARRAY * | p, | |
| GUID *& | start | |||
| ) |
Definition at line 337 of file CommonSmart.cpp.
| void GetArrayStart | ( | SAFEARRAY * | p, | |
| long *& | start | |||
| ) |
Definition at line 317 of file CommonSmart.cpp.
| void GetArrayStart | ( | SAFEARRAY * | p, | |
| unsigned char *& | start | |||
| ) |
Definition at line 327 of file CommonSmart.cpp.
| void GetArrayStart | ( | SAFEARRAY * | p, | |
| CComBstrObj *& | start | |||
| ) |
Definition at line 307 of file CommonSmart.cpp.
| int GetCharLength | ( | VARIANT & | v | ) |
Definition at line 665 of file CommonSmart.cpp.
| int GetCharLength | ( | BSTR | p | ) | [inline] |
Definition at line 219 of file DecoratorSmart.h.
| int GetCharLength | ( | const OLECHAR * | p, | |
| int | olelen | |||
| ) |
Definition at line 52 of file DecoratorSmart.cpp.
| bool IsEqualObject | ( | IUnknown * | p, | |
| IUnknown * | q | |||
| ) |
Definition at line 840 of file CommonSmart.cpp.
| void MoveTo | ( | VARIANT * | v, | |
| CComBstrObj * | start, | |||
| CComBstrObj * | end | |||
| ) |
Definition at line 789 of file CommonSmart.cpp.
| void MoveTo | ( | CComBstrObj * | start, | |
| CComBstrObj * | end, | |||
| VARIANT * | v | |||
| ) |
Definition at line 740 of file CommonSmart.cpp.
| void MoveTo | ( | VARIANT * | p, | |
| VARIANT * | q | |||
| ) | [inline] |
Definition at line 310 of file DecoratorSmart.h.
| void MoveTo | ( | const CComObjPtr< T > & | p, | |
| VARIANT * | v | |||
| ) | [inline] |
Definition at line 308 of file DecoratorSmart.h.
| void MoveTo | ( | IDispatch ** | p, | |
| VARIANT * | v | |||
| ) |
Definition at line 553 of file CommonSmart.cpp.
| void MoveTo | ( | const VARIANT & | v, | |
| BSTR * | b | |||
| ) |
| void MoveTo | ( | BSTR | b, | |
| VARIANT * | v | |||
| ) |
| void MoveTo | ( | SAFEARRAY * | p, | |
| CComBstrObj * | start, | |||
| CComBstrObj * | end | |||
| ) |
Definition at line 380 of file CommonSmart.cpp.
| void MoveTo | ( | CComBstrObj * | start, | |
| CComBstrObj * | end, | |||
| SAFEARRAY ** | p | |||
| ) |
Definition at line 149 of file CommonSmart.cpp.
| void MoveTo | ( | BSTR * | p, | |
| CComBSTR & | b | |||
| ) | [inline] |
Definition at line 229 of file DecoratorSmart.h.
| void MoveTo | ( | CComBSTR & | b, | |
| BSTR * | q | |||
| ) | [inline] |
Definition at line 228 of file DecoratorSmart.h.
| void MoveTo | ( | BSTR * | p, | |
| CComBstrObj & | b | |||
| ) | [inline] |
Definition at line 202 of file DecoratorSmart.h.
| void MoveTo | ( | CComBstrObj & | b, | |
| BSTR * | q | |||
| ) | [inline] |
Definition at line 201 of file DecoratorSmart.h.
| void MoveTo | ( | BSTR * | p, | |
| BSTR * | q | |||
| ) | [inline] |
Definition at line 192 of file DecoratorSmart.h.
| void MoveTo | ( | CComObjPtr< T > & | p, | |
| CComObjPtr< Q > & | q | |||
| ) | [inline] |
Definition at line 86 of file DecoratorSmart.h.
| void MoveTo | ( | CComObjPtr< T > & | p, | |
| Q ** | q | |||
| ) | [inline] |
Definition at line 82 of file DecoratorSmart.h.
| VARIANT* PutInOut | ( | CComVariant & | v | ) | [inline] |
Definition at line 277 of file DecoratorSmart.h.
| SAFEARRAY** PutInOut | ( | CComSafeArray & | a | ) | [inline] |
Definition at line 245 of file DecoratorSmart.h.
| BSTR* PutInOut | ( | CComBstrObj & | s | ) | [inline] |
Definition at line 176 of file DecoratorSmart.h.
| T** PutInOut | ( | CComObjPtr< T > & | p | ) | [inline] |
Definition at line 77 of file DecoratorSmart.h.
| VARIANT* PutOut | ( | CComVariant & | v | ) | [inline] |
Definition at line 276 of file DecoratorSmart.h.
| SAFEARRAY** PutOut | ( | CComSafeArray & | a | ) | [inline] |
Definition at line 244 of file DecoratorSmart.h.
| BSTR* PutOut | ( | CComBstrObj & | s | ) | [inline] |
Definition at line 175 of file DecoratorSmart.h.
| T** PutOut | ( | CComObjPtr< T > & | p | ) | [inline] |
Definition at line 74 of file DecoratorSmart.h.
| HRESULT QueryInterface | ( | IUnknown * | p, | |
| CComObjPtr< T > & | q | |||
| ) | [inline] |
Definition at line 105 of file DecoratorSmart.h.
| HRESULT QueryInterface | ( | IUnknown * | p, | |
| T ** | q | |||
| ) | [inline] |
Definition at line 101 of file DecoratorSmart.h.
1.6.3