6#include <QtCore/QByteArray>
50 typedef QSet<QByteArray>
Ids;
101 const QByteArray& elementId,
103 bool ensureElementCreated =
true) = 0;
115 virtual bool RenameElement(
const QByteArray& oldElementId,
const QByteArray& newElementId) = 0;
166 const QByteArray& elementId,
167 const QByteArray& interfaceName,
168 bool state =
true) = 0;
176 const QByteArray& exportId,
177 const QByteArray& elementId) = 0;
Represents global address of component.
Interface representing information stored in component registry.
virtual IRegistry * InsertEmbeddedRegistry(const QByteArray ®istryId)=0
Insert embedded registry with specified ID.
virtual void SetKeywords(const QString &keywords)=0
Set keywords for this registry used for search.
virtual const ExportedElementsMap & GetExportedElementsMap() const =0
Get access to map used to convert exported sub-elements to internal sub-element ID's.
virtual bool RemoveEmbeddedRegistry(const QByteArray ®istryId)=0
Remove embedded registry with specified ID.
virtual bool RenameElement(const QByteArray &oldElementId, const QByteArray &newElementId)=0
Rename an registry element.
virtual ElementInfo * InsertElementInfo(const QByteArray &elementId, const icomp::CComponentAddress &address, bool ensureElementCreated=true)=0
Insert new attribute info object to collection of attributes.
virtual const QString & GetKeywords() const =0
Get keywords for this registry used for search.
virtual const ExportedInterfacesMap & GetExportedInterfacesMap() const =0
Get access to information structure of exported interfaces.
virtual Ids GetEmbeddedRegistryIds() const =0
Get list of IDs of embedded registries.
QMap< QByteArray, QByteArray > ExportedInterfacesMap
Map assigning interface ID (undecorated) to component ID exporting this interface.
virtual void SetDescription(const QString &description)=0
set human readable description of this registry.
virtual const ElementInfo * GetElementInfo(const QByteArray &elementId) const =0
Get access to stored attribute info structure.
QMap< QByteArray, QByteArray > ExportedElementsMap
Map assigning exported sub-component names to internal subcomponent ID's.
istd::TDelPtr< IRegistryElement > ElementPtr
virtual void SetElementInterfaceExported(const QByteArray &elementId, const QByteArray &interfaceName, bool state=true)=0
Enable or disable exporting single or all interfaces of element.
virtual bool RemoveElementInfo(const QByteArray &elementId)=0
Removes attribute info structure from this collection.
virtual const QString & GetDescription() const =0
Get human readable description of this registry.
virtual void SetElementExported(const QByteArray &exportId, const QByteArray &elementId)=0
Set element to be exported.
virtual Ids GetElementIds() const =0
Get ID list of existing elements.
virtual bool RenameEmbeddedRegistry(const QByteArray &oldRegistryId, const QByteArray &newRegistryId)=0
Rename a embedded registry.
virtual IRegistry * GetEmbeddedRegistry(const QByteArray ®istryId) const =0
Get access to embedded registry using its ID.
Common class for all classes which objects can be archived or restored from archive.
Pointer wrapper providing automatic deleting pointed object during destruction.
Package with interfaces and class used for components concept.
Describe information stored with each element.
icomp::CComponentAddress address
Address of component used to create its instance.
ElementPtr elementPtr
Pointer to registry element.