![]() |
ICF 3.1.1.10
Technical documentation of ICF Libraries
|
Pointer to component attribute. More...
#include <TMultiAttributeMember.h>
Public Types | |
| typedef Attribute | AttributeType |
| typedef Attribute::ValueType | AttributeValueType |
| typedef void | InterfaceType |
Public Member Functions | |
| 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 | |
| bool | InitInternal (const IComponent *ownerPtr, const IRealAttributeStaticInfo &staticInfo, const IComponent **definitionComponentPtr) |
Pointer to component attribute.
Definition at line 24 of file TMultiAttributeMember.h.
| Attribute icomp::TMultiAttributeMember< Attribute >::AttributeType |
Definition at line 27 of file TMultiAttributeMember.h.
| Attribute::ValueType icomp::TMultiAttributeMember< Attribute >::AttributeValueType |
Definition at line 28 of file TMultiAttributeMember.h.
| void icomp::TMultiAttributeMember< Attribute >::InterfaceType |
Definition at line 29 of file TMultiAttributeMember.h.
| icomp::TMultiAttributeMember< Attribute >::TMultiAttributeMember | ( | ) |
Definition at line 78 of file TMultiAttributeMember.h.
| int icomp::TMultiAttributeMember< Attribute >::FindValue | ( | const AttributeValueType & | value | ) | const |
Find attribute value.
Definition at line 125 of file TMultiAttributeMember.h.
| int icomp::TMultiAttributeMember< Attribute >::GetCount | ( | ) | const |
Get number of attributes.
Definition at line 101 of file TMultiAttributeMember.h.
| void icomp::TMultiAttributeMember< Attribute >::Init | ( | const IComponent * | ownerPtr, |
| const IRealAttributeStaticInfo & | staticInfo ) |
Internal initialize of attribute.
| ownerPtr | pointer to parent component of this attribute. |
| staticInfo | static info structure creating this attribute. |
| definitionComponentPtr | optional pointer will be set with pointer to component defining this attribute. If this attribute was exported it will differ from parent component. |
Definition at line 85 of file TMultiAttributeMember.h.
|
protected |
Definition at line 138 of file TMultiAttributeMember.h.
References icomp::IComponentContext::GetAttribute(), icomp::IRealAttributeStaticInfo::GetAttributeId(), icomp::IComponent::GetComponentContext(), and icomp::IComponent::GetParentComponent().
| bool icomp::TMultiAttributeMember< Attribute >::IsValid | ( | ) | const |
Check if this attribute is valid.
Definition at line 94 of file TMultiAttributeMember.h.
| const TMultiAttributeMember< Attribute >::AttributeValueType & icomp::TMultiAttributeMember< Attribute >::operator[] | ( | int | index | ) | const |
Access to object pointed by internal pointer.
Definition at line 113 of file TMultiAttributeMember.h.
© Witold Gantzke and Kirill Lepskiy