ICF 3.1.1.10
Technical documentation of ICF Libraries
IComponentStaticInfo.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#pragma once
7
8
9// Qt includes
10#include <QtCore/QString>
11
12
13// ICF includes
16
17
18namespace icomp
19{
20
21
22class IAttributeStaticInfo;
23
24
31 virtual public IElementStaticInfo,
33{
34public:
38 enum class ComponentType
39 {
43 None,
44
48 Real,
49
54 };
55
59 virtual ComponentType GetComponentType() const = 0;
60
64 virtual const IAttributeStaticInfo* GetAttributeInfo(const QByteArray& attributeId) const = 0;
65
71 virtual const IComponentStaticInfo* GetEmbeddedComponentInfo(const QByteArray& embeddedId) const = 0;
72
76 virtual const QString& GetDescription() const = 0;
77
81 virtual const QString& GetKeywords() const = 0;
82};
83
84
85} // namespace icomp
86
87
Common interface for a container of properties.
Describe component attribute static information.
This interface provide static information about component meta info.
virtual const IAttributeStaticInfo * GetAttributeInfo(const QByteArray &attributeId) const =0
Get set of attributes.
virtual const QString & GetKeywords() const =0
Get keywords for this component.
ComponentType
Specify type of the component realization.
@ Composite
Component is the composition of real or other composite components.
@ Real
Component is realized as a class and managed by the ICF registry package (irp).
virtual const IComponentStaticInfo * GetEmbeddedComponentInfo(const QByteArray &embeddedId) const =0
Return number of interfaces for specific slot.
virtual ComponentType GetComponentType() const =0
Get information about component type.
virtual const QString & GetDescription() const =0
Get human readable description of this component.
This interface provide static information about element meta info.
Package with interfaces and class used for components concept.

© Witold Gantzke and Kirill Lepskiy