![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Pointer to list of referenced component objects. More...
#include <TMultiReferenceMember.h>
Public Types | |
typedef TMultiAttributeMember< CMultiReferenceAttribute > | BaseClass |
typedef CInterfaceManipBase | BaseClass2 |
typedef Interface | InterfaceType |
![]() | |
typedef CMultiReferenceAttribute | AttributeType |
typedef CMultiReferenceAttribute::ValueType | AttributeValueType |
typedef void | InterfaceType |
Public Member Functions | |
TMultiReferenceMember () | |
void | Init (const IComponent *ownerPtr, const IRealAttributeStaticInfo &staticInfo) |
bool | IsValid () const |
Check if this reference can be resolved. | |
bool | EnsureInitialized () const |
Ensure that initlization process is closed. | |
Interface * | operator[] (int index) const |
Access to interface of component at specified index. | |
![]() | |
TMultiAttributeMember () | |
void | Init (const IComponent *ownerPtr, const IRealAttributeStaticInfo &staticInfo) |
Internal initialize of attribute. | |
bool | IsValid () const |
Check if this attribute is valid. | |
int | GetCount () const |
Get number of attributes. | |
const AttributeValueType & | operator[] (int index) const |
Access to object pointed by internal pointer. | |
int | FindValue (const AttributeValueType &value) const |
Find attribute value. | |
Protected Member Functions | |
TMultiReferenceMember (const TMultiReferenceMember &ptr) | |
![]() | |
bool | InitInternal (const IComponent *ownerPtr, const IRealAttributeStaticInfo &staticInfo, const IComponent **definitionComponentPtr) |
Additional Inherited Members | |
![]() | |
static bool | SplitId (const QByteArray &complexId, QByteArray &baseId, QByteArray &subId) |
Split component ID into separated ID's. | |
static QByteArray | JoinId (const QByteArray &baseId, const QByteArray &subId) |
Join base component ID and sub ID into composed component ID. | |
![]() | |
template<class Interface > | |
static Interface * | ExtractInterface (IComponent *componentPtr, const QByteArray &subId="") |
Extract interface from component. | |
Pointer to list of referenced component objects.
Don't use direct this class, use macros I_MULTI_REF
and I_ASSIGN_MULTI_*
instead.
Definition at line 24 of file TMultiReferenceMember.h.
TMultiAttributeMember<CMultiReferenceAttribute> icomp::TMultiReferenceMember< Interface >::BaseClass |
Definition at line 27 of file TMultiReferenceMember.h.
CInterfaceManipBase icomp::TMultiReferenceMember< Interface >::BaseClass2 |
Definition at line 28 of file TMultiReferenceMember.h.
Interface icomp::TMultiReferenceMember< Interface >::InterfaceType |
Definition at line 29 of file TMultiReferenceMember.h.
icomp::TMultiReferenceMember< Interface >::TMultiReferenceMember | ( | ) |
Definition at line 68 of file TMultiReferenceMember.h.
|
protected |
Definition at line 141 of file TMultiReferenceMember.h.
bool icomp::TMultiReferenceMember< Interface >::EnsureInitialized | ( | ) | const |
Ensure that initlization process is closed.
Do the same as IsValid()
, for convinience only (to provide better code clarify).
Definition at line 91 of file TMultiReferenceMember.h.
References icomp::IComponent::GetParentComponent(), and icomp::ICompositeComponent::GetSubcomponent().
void icomp::TMultiReferenceMember< Interface >::Init | ( | const IComponent * | ownerPtr, |
const IRealAttributeStaticInfo & | staticInfo ) |
Definition at line 75 of file TMultiReferenceMember.h.
bool icomp::TMultiReferenceMember< Interface >::IsValid | ( | ) | const |
Check if this reference can be resolved.
It calls EnsureInitialized()
.
Definition at line 84 of file TMultiReferenceMember.h.
Interface * icomp::TMultiReferenceMember< Interface >::operator[] | ( | int | index | ) | const |
Access to interface of component at specified index.
Definition at line 124 of file TMultiReferenceMember.h.
© Witold Gantzke and Kirill Lepskiy