![]() | InDesign SDK 20.5 |
#include <SBOSReference.h>
Public Types | |
| typedef base_type | data_type |
Public Member Functions | |
| SBOSReference () | |
| SBOSReference (const UIDRef &baseUIDRef, SBOSID subItemID=kInvalidSBOSID) | |
| const UIDRef & | GetUIDRef () const |
| UID | GetUID () const |
| IDataBase * | GetDataBase () const |
| SBOSID | GetLogicalID () const |
| void | SetLogicalID (SBOSID newValue) |
| ISBOSObj * | Instantiate () const |
| void | ReadWrite (IPMStream *s, IDataBase *db=nil) |
| bool16 | operator== (const SBOSReference &other) const |
| bool16 | operator!= (const SBOSReference &compareAgainst) const |
| bool16 | operator< (const SBOSReference &compareAgainst) const |
Represents small boss object; stored in the SBOS (small boss object store), and may contain SBOSID.
Maintains a persistent reference to a small boss object, which can be instantiated from one of these SBOSReference 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 SBOSReference 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.
Note: Modified from XMLReference.
| typedef base_type SBOSReference< ISBOSObj >::data_type |
Plain old data type; no specialized copy semantics required for K2Vector.
| inline |
Default constructor
| inline |
Constructor
| baseUIDRef | |
| subItemID |
| inline |
| inline |
Accessor for the sub-item SBOSID
| inline |
| inline |
| inline |
Instantiate an element from the database.
| inline |
Inequality operator
| compareAgainst | comparand |
| inline |
Less than operator
| compareAgainst | comparand |
| inline |
Equality operator
| other | comparand |
| inline |
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 SBOSID
| newValue | for sub-item SBOSID |