|
virtual const OdTfObject * | getOwner () const =0 |
|
virtual OdResult | getProperty (const OdTfProperty *pPI, OdTfVariant &value, const ItemIndexType arrayIndex=-1) const =0 |
|
virtual OdResult | setProperty (const OdTfProperty *pPI, const OdTfVariant &value, const ItemIndexType arrayIndex=-1)=0 |
|
virtual OdResult | getProperty (const OdString &name, OdTfVariant &value, const ItemIndexType arrayIndex=-1, const OdTfClass *pClass=NULL) const =0 |
|
virtual OdResult | setProperty (const OdString &name, const OdTfVariant &value, const ItemIndexType arrayIndex=-1, const OdTfClass *pClass=NULL)=0 |
|
virtual OdResult | getProperty (const PropertyIndexType propertyIndex, OdTfVariant &value, const ItemIndexType arrayIndex=-1) const =0 |
|
virtual OdResult | setProperty (const PropertyIndexType propertyIndex, const OdTfVariant &value, const ItemIndexType arrayIndex=-1)=0 |
|
virtual void | addReactor (OdTfObjectReactor *pReactor)=0 |
|
virtual void | removeReactor (OdTfObjectReactor *pReactor)=0 |
|
virtual void | addPersistentReactor (OdTfPersistentReactor *pPersistentReactor)=0 |
|
virtual void | removePersistentReactor (OdTfPersistentReactor *pPersistentReactor)=0 |
|
virtual bool | hasPersistentReactor (OdTfPersistentReactor *pPersistentReactor) const =0 |
|
virtual void | getPersistentReactors (OdTfPersistentReactorArray &elmIds)=0 |
|
virtual void | getTransientReactors (OdTfObjectReactorArray &reactors)=0 |
|
| ODRX_DECLARE_MEMBERS (OdGiDrawable) |
|
virtual DrawableType | drawableType () const |
|
ODRX_SEALED_VIRTUAL OdUInt32 | setAttributes (OdGiDrawableTraits *pTraits) const ODRX_SEALED |
|
ODRX_SEALED_VIRTUAL bool | worldDraw (OdGiWorldDraw *pWd) const ODRX_SEALED |
|
ODRX_SEALED_VIRTUAL void | viewportDraw (OdGiViewportDraw *pVd) const ODRX_SEALED |
|
virtual bool | isPersistent () const =0 |
|
virtual OdDbStub * | id () const =0 |
|
virtual void | setGsNode (OdGsCache *pGsNode)=0 |
|
virtual OdGsCache * | gsNode () const =0 |
|
ODRX_SEALED_VIRTUAL OdUInt32 | viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED |
|
virtual OdResult | getGeomExtents (OdGeExtents3d &extents) const |
|
ODRX_SEALED_VIRTUAL OdUInt32 | regenSupportFlags () const ODRX_SEALED |
|
| 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 |
|
An abstract interface class that provides functionality for storing information about an object, allows
to get an access to the internal object's data (properties) and process different events triggered within the object through adding reactor objects for it. This class is an extension for the <exref target="https://docs.opendesign.com/tkernel/OdRxObject.html">OdRxObject class</exref>.
Corresponding C++ library: Od_Tf <group OdTf_Classes>
- See also
- <exref target="https://docs.opendesign.com/tkernel/rtti.html">Run-Time Type Identification</exref> topics in ODA Kernel SDK documentation. <exref target="https://docs.opendesign.com/tbim/tbim_tf.html">Working with the Tf Interface</exref> topics in ODA BimRv SDK documentation.
Definition at line 431 of file TfObject.h.
Sets a new value for the object's property.
- Parameters
-
name | [in] A string that represents the property name. |
value | [in] A new property value. |
arrayIndex | [in] An index of the value from the array property to be set, if the property is an array. |
pClass | [in] A pointer to the class object that owns the property. |
- Returns
- Returns the result of setting the property's value.
If the pointer to the owner object is NULL, the method searches for the property in the hierarchy of the object's parent classes until the property with the specified name is found. If the pointer to the owner object is not NULL, the method searches for the property in the properties of the object that is specified with the pointer passed in the pClass parameter. If the property was found, the method modifies it with the new value. If the property value was successfully set, the method returns the eOk value; otherwise it returns an appropriate error code (for example, if the property index or value index is not correct or if any other error occurs). The method returns the eAmbiguousOutput value if there is more than one property with the specified name in the pClass owner object. In this case the first found property's value is modified.