CFx SDK Documentation
2023 SP0
|
#include <odole.h>
Public Member Functions | |
virtual IUnknown * | GetIUnknown (OdDbObject *pObject)=0 |
virtual bool | SetIUnknown (OdDbObject *pObject, IUnknown *pIUnknown=0)=0 |
virtual IUnknown * | GetIUnknown (OdDbDatabase *pDb)=0 |
virtual bool | SetIUnknown (OdDbDatabase *pDb, IUnknown *pIUnknown=0)=0 |
virtual IDispatch * | GetDocIDispatch (OdDbDatabase *pDatabase)=0 |
virtual bool | SetDocIDispatch (OdDbDatabase *pDatabase, IDispatch *pIDispatch=0)=0 |
This class maintains a link between an object and its respective COM wrapper. Corresponding C++ library: TD_Db <group Other_Classes>
|
pure virtual |
Return the IDispatch of the document to which the specified database belongs.
pDb | [in] Pointer to the database. |
|
pure virtual |
Returns the IUnknown of the COM wrapper for the specified database.
\param pDb [in] Pointer to the database. \remarks
Returns NULL if no wrapper is found.
|
pure virtual |
Returns the IUnknown of the COM wrapper for the specified database -resident object.
\param pObject [in] Pointer to the object. \remarks
Returns NULL if no wrapper is found.
|
pure virtual |
Sets the link between the specified database and the specified document to which it belongs..
pDb | [in] Pointer to the database. |
pIDispatch | [in] Pointer to the IDispatch of the document.. |
|
pure virtual |
Sets the link between the specified database and the specified COM wrapper.
\param pDb [in] Pointer to the database.
pIUnknown | [in] Pointer to the COM wrapper. \remarksIf pIUnknown is NULL, the link is removed. |
|
pure virtual |
Sets the link between the specified database -resident object and the specified COM wrapper.
\param pObject [in] Pointer to the object.
pIUnknown | [in] Pointer to the COM wrapper. \remarksIf pIUnknown is NULL, the link is removed. |