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

#include <IPersistUIDData.h>

Inheritance diagram for IPersistUIDData:
IPMUnknownCPersistUIDRefData

Public Types

enum  { kDefaultIID = IID_IPERSISTUIDDATA }
 

Public Member Functions

virtual void SetUID (const UID &id)=0
 
virtual UID GetUID () 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

A UID data interface that holds a reference to an object by UID only. Useful for storing a UID reference persistently, or if you already know the database. There is another interface called IUIDData that can store both a UID and a database pointer. Use that interface if you don't need to store the information persistantly.

See Also
IUIDData

Member Function Documentation

virtual UID IPersistUIDData::GetUID () const
pure virtual

Get the value.

Returns
UID the UID of the object.

Implemented in CPersistUIDRefData.

virtual void IPersistUIDData::SetUID (const UIDid)
pure virtual

Set the value.

Parameters
idUID of the object

Implemented in CPersistUIDRefData.