![]() | InDesign SDK 20.5 |
#include <IUIDData.h>

Public Types | |
| enum | { kDefaultIID = IID_IUIDDATA } |
Public Member Functions | |
| virtual IDataBase * | GetItemDataBase () const =0 |
| virtual UID | GetItemUID () const =0 |
| UID | Get () const |
| virtual const UIDRef & | GetRef () const =0 |
Set - three alternate ways to set the value | |
| virtual void | Set (const IPMUnknown *item)=0 |
| virtual void | Set (IDataBase *db, UID id)=0 |
| virtual void | Set (const UIDRef &ref)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
IUIDData is a data interface that holds onto a UIDRef (a <database, UID> pair) that can be used to uniquely describe a persistent object.
| pure virtual |
Get the database of the object
| pure virtual |
Get the UID of the object
| pure virtual |
Set the value of the object. The pointer is for use inside the Set function only; the IPMUnknown* will be converted to a <database, UID> pair and held in that form, so that the object is not referenced.
| item | the new object |
Set the value of the object.
| db | the database the object is in |
| UID | the object within the database |
| pure virtual |
Set the value of the object.
| ref | the <database, UID> pair that describes the object |