ICF 3.0.5.47
Technical documentation of ICF Libraries
IElementStaticInfo.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/QByteArray>
11#include <QtCore/QSet>
12
13// ICF includes
14#include <istd/IPolymorphic.h>
15
16
17namespace icomp
18{
19
20
25class IElementStaticInfo: virtual public istd::IPolymorphic
26{
27public:
28 enum class MetaGroupId: int
29 {
46 };
47
48 typedef QSet<QByteArray> Ids;
49
54 virtual Ids GetMetaIds(MetaGroupId metaGroupId) const = 0;
55
61 virtual const IElementStaticInfo* GetSubelementInfo(const QByteArray& subcomponentId) const = 0;
62};
63
64
65} // namespace icomp
66
67
This interface provide static information about element meta info.
@ EmbeddedComponents
ID of group for embedded types.
@ Interfaces
ID of meta group storing list of supported interfaces.
@ Subelements
ID of group for component subelements.
virtual Ids GetMetaIds(MetaGroupId metaGroupId) const =0
Get list of meta IDs associated with some meta key.
virtual const IElementStaticInfo * GetSubelementInfo(const QByteArray &subcomponentId) const =0
Return number of interfaces for specific slot.
Package with interfaces and class used for components concept.

© Witold Gantzke and Kirill Lepskiy