Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

COMBase Class Reference
[Qt-COM Support Layer]

#include <COMDefs.h>

Inheritance diagram for COMBase:

COMBaseWithEI CInterface< IUnknown, COMBaseWithEI >

List of all members.


Detailed Description

Base COM class the CInterface template and all wrapper classes are derived from. Provides common functionality for all COM wrappers.

Definition at line 182 of file COMDefs.h.


Public Member Functions

HRESULT lastRC () const

Static Public Member Functions

static HRESULT CleanupCOM ()
template<typename CE, typename QE>
static void FromSafeArray (const com::SafeIfaceArray< CE > &aArr, QVector< QE > &aVec)
static void FromSafeArray (const com::SafeGUIDArray &aArr, QVector< QUuid > &aVec)
static void FromSafeArray (const com::SafeArray< BSTR > &aArr, QVector< QString > &aVec)
template<typename T>
static void FromSafeArray (const com::SafeArray< T > &aArr, QVector< T > &aVec)
template<typename CT, typename QT>
static void FromSafeArray (const com::SafeArray< CT * > &aArr, QVector< QT * > &aVec)
template<typename CT, typename QT>
static void FromSafeArray (const com::SafeArray< CT > &aArr, QVector< QT > &aVec)
template<class I, class CI>
static void FromSafeIfaceArray (const com::SafeIfaceArray< I > &aArr, QVector< CI > &aVec)
static HRESULT InitializeCOM ()
static QUuid ToQUuid (const GUID &id)
template<typename QE, typename CE>
static void ToSafeArray (const QVector< QE > &aVec, com::SafeIfaceArray< CE > &aArr)
static void ToSafeArray (const QVector< QUuid > &aVec, com::SafeGUIDArray &aArr)
static void ToSafeArray (const QVector< QString > &aVec, com::SafeArray< BSTR > &aArr)
template<typename T>
static void ToSafeArray (const QVector< T > &aVec, com::SafeArray< T > &aArr)
template<typename QT, typename CT>
static void ToSafeArray (const QVector< QT * > &aVec, com::SafeArray< CT * > &aArr)
template<typename QT, typename CT>
static void ToSafeArray (const QVector< QT > &aVec, com::SafeArray< CT > &aArr)
template<class CI, class I>
static void ToSafeIfaceArray (const QVector< CI > &aVec, com::SafeIfaceArray< I > &aArr)

Static Protected Member Functions

static void addref (IUnknown *aIface)
static GUID GUIDIn (const QUuid &uuid)
static void release (IUnknown *aIface)

Protected Attributes

HRESULT mRC

Friends

class COMErrorInfo

Classes

class  BSTRIn
class  BSTROut
class  ENUMOut
class  GUIDOut

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

Generated by  Doxygen 1.6.0   Back to index