22class IComponentEnvironmentManager;
23class IRegistriesManager;
51 const QByteArray& elementId,
76 typedef std::unique_ptr<IAttributeStaticInfo> AttrMetaInfoPtr;
77 typedef std::map<const IAttributeStaticInfo*, AttrMetaInfoPtr> AttrReplacers;
78 AttrReplacers m_attrReplacers;
80 typedef std::unique_ptr<CCompositeComponentStaticInfo> ComponentInfoPtr;
81 typedef std::map<QByteArray, ComponentInfoPtr> EmbeddedComponentInfos;
82 mutable EmbeddedComponentInfos m_embeddedComponentInfos;
84 QString m_description;
Standard implementation of static info for base component classes.
const iser::IObject * GetAttributeDefaultValue() const override
Get default attribute value.
int GetAttributeFlags() const override
Get flags of this attribute.
QString GetAttributeDescription() const override
Get description of this attribute.
IElementStaticInfo::Ids GetRelatedMetaIds(MetaGroupId metaGroupId, int flags, int flagsMask) const override
Get related meta information.
AttrAsOptionalDelegator(const IAttributeStaticInfo *slavePtr, const iser::IObject *defaultValuePtr)
QByteArray GetAttributeTypeId() const override
Return attribute type ID.
CCompositeComponentStaticInfo(const IRegistry ®istry, const IComponentEnvironmentManager &manager, const IComponentStaticInfo *parentPtr=nullptr)
const QString & GetKeywords() const override
Get keywords for this component.
std::unique_ptr< IComponent > CreateComponent() const override
Create component instance.
const IRegistry & GetRegistry() const
const IRegistry::ElementInfo * GetElementInfoFromRegistry(const IRegistry ®istry, const QByteArray &elementId, const IRegistriesManager &manager) const
Get the element info for the given element ID.
ComponentType GetComponentType() const override
Get information about component type.
const QString & GetDescription() const override
Get human readable description of this component.
const IComponentStaticInfo * GetEmbeddedComponentInfo(const QByteArray &embeddedId) const override
Return number of interfaces for specific slot.
Describe component attribute static information.
This interface provide static information about component meta info.
ComponentType
Specify type of the component realization.
Allow access to registries defined by composed components.
Interface representing information stored in component registry.
Common interface for factorisable model objects.
Package with interfaces and class used for components concept.
Describe information stored with each element.