![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
#include <TSubelementStaticInfo.h>
Public Types | |
typedef void *(*) | InterfaceExtractorPtr(ComponentType &component) |
![]() | |
enum class | MetaGroupId : int { Interfaces , Subelements , EmbeddedComponents , Last = Subelements } |
typedef QSet< QByteArray > | Ids |
Public Member Functions | |
TSubelementStaticInfo (const QByteArray &name, CBaseComponentStaticInfo &owner) | |
Constructor attaching this subelement info to the component. | |
virtual void | RegisterInterfaceExtractor (const QByteArray &interfaceName, InterfaceExtractorPtr extractorPtr) |
Register interface ID for this static component info. | |
Ids | GetMetaIds (MetaGroupId metaGroupId) const override |
Get list of meta IDs associated with some meta key. | |
const IElementStaticInfo * | GetSubelementInfo (const QByteArray &subcomponentId) const override |
Return number of interfaces for specific slot. | |
void * | GetComponentInterface (const istd::CClassInfo &interfaceType, IComponent &component, const QByteArray &subId) const override |
Extract instance implemented specified interface from some component. | |
![]() | |
![]() |
Definition at line 23 of file TSubelementStaticInfo.h.
void *(*) icomp::TSubelementStaticInfo< ComponentType >::InterfaceExtractorPtr(ComponentType &component) |
Definition at line 28 of file TSubelementStaticInfo.h.
icomp::TSubelementStaticInfo< ComponentType >::TSubelementStaticInfo | ( | const QByteArray & | name, |
CBaseComponentStaticInfo & | owner ) |
Constructor attaching this subelement info to the component.
Definition at line 77 of file TSubelementStaticInfo.h.
References icomp::CBaseComponentStaticInfo::RegisterSubelementInfo().
|
overridevirtual |
Extract instance implemented specified interface from some component.
Implements icomp::IComponentInterfaceExtractor.
Definition at line 119 of file TSubelementStaticInfo.h.
References istd::CClassInfo::GetConstCasted(), istd::CClassInfo::GetName(), istd::CClassInfo::IsConst(), istd::CClassInfo::IsValid(), istd::CClassInfo::IsVoid(), and icomp::CBaseComponentStaticInfo::s_compInterfaceType.
|
overridevirtual |
Get list of meta IDs associated with some meta key.
Implements icomp::IElementStaticInfo.
Definition at line 93 of file TSubelementStaticInfo.h.
|
overridevirtual |
Return number of interfaces for specific slot.
subcomponentId | ID of subcomponent. |
Implements icomp::IElementStaticInfo.
Definition at line 110 of file TSubelementStaticInfo.h.
|
virtual |
Register interface ID for this static component info.
This interface ID is used for static check if this component can be used to resolve reference dependecy of second one.
Definition at line 84 of file TSubelementStaticInfo.h.
Referenced by icomp::SubElementInterfaceRegistrator< InterfaceType, ComponentType >::SubElementInterfaceRegistrator().
© Witold Gantzke and Kirill Lepskiy