IDOMCatalog interface The IDOMCatalog serves as a catalog for addressable DOM nodes, where a DOM node ID is used as the address of the node. More...
#include <idomcatalog.h>
Public Member Functions | |
virtual DOMid | createNewDOMid (const EDLSysString &uri)=0 |
Creates a new DOM id from a URI string. | |
virtual DOMid | createNewDOMid (uint32 id1, uint32 id2=0)=0 |
Creates a new DOM id based on an integer identifier. | |
virtual bool | registerObject (DOMid id, const IEDLObjectPtr &ptrObject)=0 |
Registers the IEDLObject specified by ptrObject in the catalog, under the ID specified by id. | |
virtual bool | registerNumbers (DOMid id, uint32 id1, uint32 id2)=0 |
Registers the number pait in the catalog, under the ID specified by id. | |
virtual bool | unregisterObject (DOMid id)=0 |
Unregisters the IEDLObject currently registered under the specified ID in the catalog. | |
virtual bool | getObject (DOMid id, IEDLObjectPtr &ptrObject)=0 |
Retrieves an IEDLObject by using its DOM id. | |
virtual bool | getURI (DOMid id, EDLSysString &uri)=0 |
Retrieves the URI of a registered object by using its DOM ID. | |
virtual DOMid | getIdByURI (const EDLSysString &uri, bool createIfNotExist=false)=0 |
Retrieve the DOM ID of a registered resource by using its URI, optionally creating it. | |
virtual DOMid | getIdByNumbers (uint32 id1, uint32 id2=0, bool createIfNotExist=false)=0 |
Retrieve the DOM ID of a registered resource by using the integer identifier(s) used to create the DOM ID, optionally creating it. | |
virtual DOMid | getIdByIndex (uint32 index) const =0 |
Retrieve the DOM ID of a registered resource by its index in the internal vector. | |
virtual uint32 | getCount () const =0 |
Retrieve count of registered resource objects. | |
Public Member Functions inherited from IEDLObject | |
virtual const CClassID & | getClassID () const =0 |
Returns class ID of IEDLObject. | |
virtual bool | init (CClassParams *pData) |
The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory. | |
virtual bool | clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory) |
Create a copy of EDLObject. | |
Public Member Functions inherited from IRCObject | |
virtual void | addRef () const =0 |
Increases the reference count of the actual object pointed to. This would take place during an assignment or copying. | |
virtual bool | decRef () const =0 |
Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to. | |
virtual int32 | getRefCount () const =0 |
Retrieve the current reference count of the actual object pointed to. | |
Static Public Member Functions | |
static const CClassID & | classID () |
Retrieves the class id of IDOMCatalog. | |
Additional Inherited Members | |
Protected Member Functions inherited from IRCObject | |
virtual | ~IRCObject () |
Virtual destructor. | |
IDOMCatalog interface The IDOMCatalog serves as a catalog for addressable DOM nodes, where a DOM node ID is used as the address of the node.
|
inlinestatic |
Retrieves the class id of IDOMCatalog.
|
pure virtual |
Creates a new DOM id from a URI string.
uri | A string uniquely addressing a resource. |
|
pure virtual |
Creates a new DOM id based on an integer identifier.
id1 | A numeric identifier. |
id2 | A second numeric identifier (optional. Presently not used, and set to zero.) |
|
pure virtual |
Retrieve count of registered resource objects.
|
pure virtual |
Retrieve the DOM ID of a registered resource by its index in the internal vector.
index | The registered resource index |
|
pure virtual |
Retrieve the DOM ID of a registered resource by using the integer identifier(s) used to create the DOM ID, optionally creating it.
id1 | A numeric identifier. |
id2 | A second numeric identifier (optional. Presently not used, and set to zero.) |
createIfNotExist | If set to true, create a new DOM ID if it doesn't already exist |
|
pure virtual |
Retrieve the DOM ID of a registered resource by using its URI, optionally creating it.
uri | URI of the resource whose DOM ID is required. |
createIfNotExist | If set to true, create a new DOM ID if it doesn't already exist |
|
pure virtual |
Retrieves an IEDLObject by using its DOM id.
id | The DOM ID of the IEDLObject to retrieve. |
ptrObject | A Smart pointer to receive a reference to the retrieved IEDLObject. |
|
pure virtual |
Retrieves the URI of a registered object by using its DOM ID.
id | DOM ID of the resource |
uri | Pointer to receive the URI for the resource |
|
pure virtual |
Registers the number pait in the catalog, under the ID specified by id.
id | The ID to register the object under. |
id1 | A numeric identifier. |
id2 | A second numeric identifier. |
|
pure virtual |
Registers the IEDLObject specified by ptrObject in the catalog, under the ID specified by id.
id | The ID to register the object under. |
ptrObject | A smart pointer to the IEDLObject to register. |
|
pure virtual |
Unregisters the IEDLObject currently registered under the specified ID in the catalog.
id | The DOM id of the object to unregister. |