CFx SDK Documentation 2024 SP0
|
#include <RxAttribute.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdRxDynamicCollectionAttribute) | |
int | count () const |
const OdRxDynamicAttribute * | getAt (int index) const |
OdRxDynamicAttribute * | getAt (int index) |
const OdRxDynamicAttribute * | getByName (const OdString name, bool caseSensitive) const |
OdRxDynamicAttribute * | getByName (const OdString name, bool caseSensitive) |
OdResult | add (const OdRxDynamicAttribute *attribute) |
OdResult | remove (const OdRxDynamicAttribute *attribute) |
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 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 | |
OdRxDynamicCollectionAttribute (OdRxDynamicCollectionAttributeImpl *) | |
Protected Member Functions inherited from OdRxAttribute | |
OdRxAttribute (OdRxAttributeImpl *) | |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Attributes inherited from OdRxAttribute | |
OdRxAttributeImpl * | m_pImpl |
<group OdRx_Classes>
Container for the dynamic attributes.
Definition at line 1044 of file RxAttribute.h.
|
protected |
OdResult OdRxDynamicCollectionAttribute::add | ( | const OdRxDynamicAttribute * | attribute | ) |
Adds an attribute to the collection.
attribute | [in] Attribute to be added to the collection. |
int OdRxDynamicCollectionAttribute::count | ( | ) | const |
Constructor. Creates an attribute of the OdRxDynamicCollectionAttribute type.
Gets the number of elements in the collection.
OdRxDynamicAttribute * OdRxDynamicCollectionAttribute::getAt | ( | int | index | ) |
Retrieves the attribute at the specified index (non-constant version).
index | [in] Index of the attribute to be retrieved. |
const OdRxDynamicAttribute * OdRxDynamicCollectionAttribute::getAt | ( | int | index | ) | const |
Retrieves the attribute at the specified index (constant version).
index | [in] Index of the attribute to be retrieved. |
OdRxDynamicAttribute * OdRxDynamicCollectionAttribute::getByName | ( | const OdString | name, |
bool | caseSensitive | ||
) |
Retrieves the attribute by its name (non-constant version).
name | [in] Name of the attribute to be retrieved. |
caseSensitive | [in] Case sensitive string comparison flag. |
const OdRxDynamicAttribute * OdRxDynamicCollectionAttribute::getByName | ( | const OdString | name, |
bool | caseSensitive | ||
) | const |
Retrieves the attribute by its name.
name | [in] Name of the attribute to be retrieved. |
caseSensitive | [in] Case sensitive string comparison flag. |
OdRxDynamicCollectionAttribute::ODRX_DECLARE_MEMBERS | ( | OdRxDynamicCollectionAttribute | ) |
OdResult OdRxDynamicCollectionAttribute::remove | ( | const OdRxDynamicAttribute * | attribute | ) |
Removes the attribute from the collection.
attribute | [in] Attribute to be removed from the collection. |