![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
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. | |
bool | operator== (const Attribute *ptr) const |
bool | operator!= (const Attribute *ptr) const |
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 30 of file TAttributeMember.h.
Attribute icomp::TAttributeMember< Attribute >::AttributeType |
Definition at line 33 of file TAttributeMember.h.
Attribute::ValueType icomp::TAttributeMember< Attribute >::AttributeValueType |
Definition at line 34 of file TAttributeMember.h.
void icomp::TAttributeMember< Attribute >::InterfaceType |
Definition at line 35 of file TAttributeMember.h.
icomp::TAttributeMember< Attribute >::TAttributeMember | ( | ) |
Definition at line 97 of file TAttributeMember.h.
const Attribute * icomp::TAttributeMember< Attribute >::GetAttributePtr | ( | ) | const |
Access to internal attribute pointer.
Definition at line 122 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 131 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 105 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 181 of file TAttributeMember.h.
References icomp::IComponentContext::GetAttribute(), 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 113 of file TAttributeMember.h.
Referenced by iprm::TParamsPtr< ParameterInterace >::Init().
bool icomp::TAttributeMember< Attribute >::operator!= | ( | const Attribute * | ptr | ) | const |
Definition at line 165 of file TAttributeMember.h.
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 149 of file TAttributeMember.h.
const Attribute * icomp::TAttributeMember< Attribute >::operator-> | ( | ) | const |
Access to internal attribute pointer.
Definition at line 140 of file TAttributeMember.h.
bool icomp::TAttributeMember< Attribute >::operator== | ( | const Attribute * | ptr | ) | const |
Definition at line 158 of file TAttributeMember.h.
|
protected |
Definition at line 174 of file TAttributeMember.h.
© Witold Gantzke and Kirill Lepskiy