![]() | InDesign SDK 20.5 |
#include <XMLReference.h>
Public Types | |
| typedef base_type | data_type |
Public Member Functions | |
| XMLReference () | |
| XMLReference (const UIDRef &baseUIDRef, LSID subItemID=kInvalidLSID) | |
| XMLReference (const XMLReference &other) | |
| const UIDRef & | GetUIDRef () const |
| UID | GetUID () const |
| IDataBase * | GetDataBase () const |
| LSID | GetLogicalID () const |
| void | SetLogicalID (LSID newValue) |
| IIDXMLElement * | Instantiate (void) const |
| void | ReadWrite (IPMStream *s, IDataBase *db=nil) |
| bool16 | operator== (const XMLReference &other) const |
| bool16 | operator!= (const XMLReference &compareAgainst) const |
| XMLReference & | operator= (const XMLReference &other) |
| bool16 | operator< (const XMLReference &compareAgainst) const |
Represents elements on the logical structure tree; stored in the SBOS (small boss object store), and may contain LSID (same as SBOSID).
Maintains a persistent reference to an IIDXMLElement, which can be instantiated from one of these XMLReference objects.
There are two types of persistent reference; 'base' (few of these) and 'sub-item'. The base type is UID-based, sub-item type isn't.
If the XMLReference is a sub-item type, then the small boss-object store manager (ISBOSMgr) will instantiate the object, otherwise it's just a 'normal' instantiation of a UID-based object from a database.
| typedef base_type XMLReference::data_type |
Plain old data type; no specialised copy semantics required for K2Vector.
| inline |
Default constructor
| inline |
Constructor
| baseUIDRef | |
| subItemID |
| inline |
Copy constructor
| other | object to cpy state from |
| inline |
| inline |
Accessor for the sub-item LSID
| inline |
| IIDXMLElement* XMLReference::Instantiate | ( | void | ) | const |
Instantiate an element from the database.
| inline |
Inequality operator
| compareAgainst | comparand |
| bool16 XMLReference::operator< | ( | const XMLReference & | compareAgainst | ) | const |
Less than operator
| compareAgainst | comparand |
| inline |
Equal operator
| other | value to be copied |
| inline |
Equality operator
| other | comparand |
Method to serialise object to or deserialise object from given stream
| s | stream to read state from or write state to |
| db |
| inline |
Mutator for sub-item LSID
| newValue | for sub-item LSID |