CComponentStaticInfoBase.h
Go to the documentation of this file.
1 #ifndef icomp_CComponentStaticInfoBase_included
2 #define icomp_CComponentStaticInfoBase_included
3 
4 
5 // STL includes
6 #include <QtCore/QByteArray>
7 #include <QtCore/QMap>
8 
9 // ACF includes
11 
12 
13 namespace icomp
14 {
15 
16 
18 {
19 public:
20  // reimplemented (icomp::IComponentStaticInfo)
21  virtual int GetComponentType() const;
22  virtual const IAttributeStaticInfo* GetAttributeInfo(const QByteArray& attributeId) const;
23  virtual const IComponentStaticInfo* GetEmbeddedComponentInfo(const QByteArray& embeddedId) const;
24  virtual const QString& GetDescription() const;
25  virtual const QString& GetKeywords() const;
26 
27  // reimplemented (icomp::IElementStaticInfo)
28  virtual Ids GetMetaIds(int metaGroupId) const;
29  virtual const IElementStaticInfo* GetSubelementInfo(const QByteArray& subcomponentId) const;
30 
31  // reimplemented (iattr::IAttributesMetaInfoProvider)
33  virtual const iattr::IAttributeMetaInfo* GetAttributeMetaInfo(const QByteArray& attributeId) const;
34 };
35 
36 
37 } // namespace icomp
38 
39 
40 #endif // !icomp_CComponentStaticInfoBase_included
41 
42 
virtual iattr::IAttributesProvider::AttributeIds GetAttributeMetaIds() const
Get all IDs of known attribute meta informations.
virtual const QString & GetDescription() const
Get human readable description of this component.
virtual const IAttributeStaticInfo * GetAttributeInfo(const QByteArray &attributeId) const
Get set of attributes.
virtual const iattr::IAttributeMetaInfo * GetAttributeMetaInfo(const QByteArray &attributeId) const
Get property with the given index.
virtual const IComponentStaticInfo * GetEmbeddedComponentInfo(const QByteArray &embeddedId) const
Return number of interfaces for specific slot.
virtual Ids GetMetaIds(int metaGroupId) const
Get list of meta IDs associated with some meta key.
virtual const IElementStaticInfo * GetSubelementInfo(const QByteArray &subcomponentId) const
Return number of interfaces for specific slot.
QSet< QByteArray > AttributeIds
virtual int GetComponentType() const
Get information about component type.
Describe component attribute static information.
This interface provide static information about element meta info.
This interface provide static information about component meta info.
virtual const QString & GetKeywords() const
Get keywords for this component.
Meta information describing single attribute.

© 2007-2017 Witold Gantzke and Kirill Lepskiy