CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OdRxDynamicAttribute Class Reference

#include <RxAttribute.h>

Inheritance diagram for OdRxDynamicAttribute:
OdRxAttribute OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdRxDynamicAttribute)
 
OdString getName () const
 
const OdRxValuegetValue () const
 
OdRxValuegetValue ()
 
- Public Member Functions inherited from OdRxAttribute
 ODRX_DECLARE_MEMBERS (OdRxAttribute)
 
virtual ~OdRxAttribute ()
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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
 

Static Public Member Functions

static OdRxAttributePtr createObject (const OdString &name, const OdRxValue &value)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Protected Member Functions

 OdRxDynamicAttribute (OdRxDynamicAttributeImpl *)
 
- Protected Member Functions inherited from OdRxAttribute
 OdRxAttribute (OdRxAttributeImpl *)
 

Additional Inherited Members

- Protected Attributes inherited from OdRxAttribute
OdRxAttributeImplm_pImpl
 

Detailed Description

This attribute can be used to store various values (values attached to dynamic property etc).

<group OdRx_Classes>

Definition at line 983 of file RxAttribute.h.

Constructor & Destructor Documentation

◆ OdRxDynamicAttribute()

OdRxDynamicAttribute::OdRxDynamicAttribute ( OdRxDynamicAttributeImpl *  )
protected

Member Function Documentation

◆ createObject()

static OdRxAttributePtr OdRxDynamicAttribute::createObject ( const OdString name,
const OdRxValue value 
)
static

Constructor. Creates an attribute of the OdRxDynamicAttribute type.

Parameters
name[in] The name of value.
value[in] The value to stored in attribute.
Returns
Smart pointer to a constructed attribute object.

◆ getName()

OdString OdRxDynamicAttribute::getName ( ) const

Retrieves the name of the value stored in attribute.

Returns
Name of the value stored in attribute.

◆ getValue() [1/2]

OdRxValue & OdRxDynamicAttribute::getValue ( )

Retrieves value stored in attribute (non - constant version).

Returns
Value stored in attribute.

◆ getValue() [2/2]

const OdRxValue & OdRxDynamicAttribute::getValue ( ) const

Retrieves value stored in attribute.

Returns
Value stored in attribute.

◆ ODRX_DECLARE_MEMBERS()

OdRxDynamicAttribute::ODRX_DECLARE_MEMBERS ( OdRxDynamicAttribute  )

The documentation for this class was generated from the following file: