InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IDBStreamCopyData Class Referenceabstract

#include <IDBStreamCopyData.h>

Inheritance diagram for IDBStreamCopyData:
IPMUnknown

Public Member Functions

virtual void Set (IDataBase *srcDB, IDataBase *destDB, UID id, IPMUnknown *pmobject)=0
 
virtual IDataBaseGetSourceDataBase () const =0
 
virtual IDataBaseGetDestinationDataBase () const =0
 
virtual UID GetUID () const =0
 
virtual IPMUnknownGetPMObject () const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Data interface for controlling a copy database stream. Used for direct object-to-object copy

in the database. You shouldn't need to use this interface.

See Also
StreamUtil
IDBStreamData

Member Function Documentation

virtual IDataBase* IDBStreamCopyData::GetDestinationDataBase () const
pure virtual

Return the destination database

Returns
the destination database
virtual IPMUnknown* IDBStreamCopyData::GetPMObject () const
pure virtual

Return a pointer to the helper object. The pointer is not AddRef'd, so its lifetime is still owned by the stream.

Returns
a pointer to the helper object
virtual IDataBase* IDBStreamCopyData::GetSourceDataBase () const
pure virtual

Return the source database

Returns
the source database
virtual UID IDBStreamCopyData::GetUID () const
pure virtual

Return the destination UID

Returns
the destination UID
virtual void IDBStreamCopyData::Set (IDataBasesrcDB,
IDataBasedestDB,
UID id,
IPMUnknownpmobject 
)
pure virtual

Set which objects we're copying from and to.

Parameters
srcDBDatabase we're copying from
destDBDatabase we're copying to
idUID of the object we're copying to
pmobjectA helper object in the copy (contains optional extra info for the copy)