|
CFx SDK Documentation 2024 SP0
|
#include <RxProperty.h>
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdRxProperty) | |
| OdRxProperty () | |
| OdResult | getValue (const OdRxObject *pO, OdRxValue &value) const |
| OdResult | setValue (OdRxObject *pO, const OdRxValue &value) const |
Public Member Functions inherited from OdRxPropertyBase | |
| ODRX_DECLARE_MEMBERS (OdRxPropertyBase) | |
| virtual bool | isReadOnly (const OdRxObject *pO) const |
Public Member Functions inherited from OdRxMember | |
| ODRX_DECLARE_MEMBERS (OdRxMember) | |
| const OdString & | name () const throw () |
| OdString | localName () const throw () |
| const OdRxValueType & | type () const throw () |
| const OdRxAttributeCollection & | attributes () const throw () |
| OdRxAttributeCollection & | attributes () throw () |
| const OdRxObject * | owner () const throw () |
| const OdArray< OdRxMemberPtr > * | children () const throw () |
Public Member Functions inherited from OdRxObject | |
| ODRX_HEAP_OPERATORS () | |
| OdRxObject () | |
| virtual | ~OdRxObject () |
| virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
| virtual OdRxObject * | x (const OdRxClass *pClass) const |
| virtual OdRxClass * | isA () const |
| virtual void | addRef ()=0 |
| virtual void | release ()=0 |
| virtual long | numRefs () const |
| bool | isKindOf (const OdRxClass *pClass) const |
| virtual OdRxObjectPtr | clone () const |
| virtual void | copyFrom (const OdRxObject *pSource) |
| virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
| virtual bool | isEqualTo (const OdRxObject *pOther) const |
Protected Member Functions | |
| virtual OdResult | subGetValue (const OdRxObject *pO, OdRxValue &value) const |
| virtual OdResult | subSetValue (OdRxObject *pO, const OdRxValue &value) const |
| OdRxProperty (OdRxPropertyImpl *) | |
Protected Member Functions inherited from OdRxPropertyBase | |
| OdRxPropertyBase (OdRxPropertyBaseImpl *) | |
Protected Member Functions inherited from OdRxMember | |
| virtual | ~OdRxMember () |
| OdRxMember (OdRxMemberImpl *) | |
| virtual OdString | subLocalName () const |
| virtual OdResult | subChildren (OdArray< OdRxMemberPtr > &children) const |
| virtual OdResult | subChildrenEx (OdArray< OdRxMemberPtr > *&pChildren) const |
| void | init (const OdString &name, const OdRxValueType *type, const OdRxObject *owner=0) |
Friends | |
| class | OdRxPropertyImpl |
| class | OdRxPropertyOverrule |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxMember | |
| static void | deleteMember (const OdRxMember *pMember) throw () |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
Protected Attributes inherited from OdRxMember | |
| OdRxMemberImpl * | m_pImpl |
<group OdRx_Classes> Scalar property class. Represent a proxy access to some object property. Usable in property palettes, fields evaluation etc.
Definition at line 85 of file RxProperty.h.
| OdRxProperty::OdRxProperty | ( | ) |
|
protected |
| OdResult OdRxProperty::getValue | ( | const OdRxObject * | pO, |
| OdRxValue & | value | ||
| ) | const |
Gets the property value.
| pO | [in] The object which property to retrieve. |
| value | [out] Resulting value. |
| OdRxProperty::ODRX_DECLARE_MEMBERS | ( | OdRxProperty | ) |
| OdResult OdRxProperty::setValue | ( | OdRxObject * | pO, |
| const OdRxValue & | value | ||
| ) | const |
Sets the property value.
| pO | [in] The object which property to set. |
| value | [in] Property value to set. |
|
protectedvirtual |
Method called by getValue() to actually get the value. To be overloaded by the property implementation.
Reimplemented in OdRxSubProperty.
|
protectedvirtual |
Method called by setValue() to actually set the value. To be overloaded by the property implementation.
Reimplemented in OdRxSubProperty.
|
friend |
Definition at line 120 of file RxProperty.h.
|
friend |
Definition at line 121 of file RxProperty.h.