|
ACF $AcfVersion:0$
|
Pointer to component attribute. More...
#include <TAttributeMember.h>
Public Types | |
| typedef Attribute | AttributeType |
| typedef Attribute::ValueType | AttributeValueType |
| typedef void | InterfaceType |
Public Member Functions | |
| TAttributeMember () | |
| void | Init (const IComponent *ownerPtr, const IRealAttributeStaticInfo &staticInfo) |
| Initialize this attribute. | |
| bool | IsValid () const |
| Check if this attribute is valid. | |
| const Attribute * | GetAttributePtr () const |
| Access to internal attribute pointer. | |
| const AttributeValueType & | GetOriginalValue () const |
| Get value of attribute. | |
| const Attribute * | operator-> () const |
| Access to internal attribute pointer. | |
| const AttributeValueType & | operator* () const |
| Get value of attribute. | |
Protected Member Functions | |
| void | SetAttribute (const Attribute *attributePtr) |
| bool | InitInternal (const IComponent *ownerPtr, const IRealAttributeStaticInfo &staticInfo, const IComponent **definitionComponentPtr) |
| Internal initialize of attribute. | |
Pointer to component attribute.
Definition at line 26 of file TAttributeMember.h.
| typedef Attribute icomp::TAttributeMember< Attribute >::AttributeType |
Definition at line 29 of file TAttributeMember.h.
| typedef Attribute::ValueType icomp::TAttributeMember< Attribute >::AttributeValueType |
Definition at line 30 of file TAttributeMember.h.
| typedef void icomp::TAttributeMember< Attribute >::InterfaceType |
Definition at line 31 of file TAttributeMember.h.
| icomp::TAttributeMember< Attribute >::TAttributeMember | ( | ) |
Definition at line 91 of file TAttributeMember.h.
| const Attribute * icomp::TAttributeMember< Attribute >::GetAttributePtr | ( | ) | const |
Access to internal attribute pointer.
Definition at line 116 of file TAttributeMember.h.
| const TAttributeMember< Attribute >::AttributeValueType & icomp::TAttributeMember< Attribute >::GetOriginalValue | ( | ) | const |
Get value of attribute.
The String attributes will not be translated.
Definition at line 125 of file TAttributeMember.h.
| void icomp::TAttributeMember< Attribute >::Init | ( | const IComponent * | ownerPtr, |
| const IRealAttributeStaticInfo & | staticInfo | ||
| ) |
Initialize this attribute.
| ownerPtr | pointer to parent component of this attribute. |
| staticInfo | static info structure creating this attribute. |
Definition at line 99 of file TAttributeMember.h.
|
protected |
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 161 of file TAttributeMember.h.
References icomp::IRealAttributeStaticInfo::GetAttributeId(), icomp::IComponent::GetComponentContext(), icomp::CComponentContext::GetHierarchyAddress(), and icomp::IComponent::GetParentComponent().
| bool icomp::TAttributeMember< Attribute >::IsValid | ( | ) | const |
Check if this attribute is valid.
Definition at line 107 of file TAttributeMember.h.
Referenced by iprm::TParamsPtrBase< ParamsSet, ParameterInterace >::Init().
| const TAttributeMember< Attribute >::AttributeValueType & icomp::TAttributeMember< Attribute >::operator* | ( | ) | const |
Get value of attribute.
Access to object pointed by internal pointer or translated values for String.
Definition at line 143 of file TAttributeMember.h.
| const Attribute * icomp::TAttributeMember< Attribute >::operator-> | ( | ) | const |
Access to internal attribute pointer.
Definition at line 134 of file TAttributeMember.h.
|
protected |
Definition at line 154 of file TAttributeMember.h.