|
CFx SDK Documentation 2024 SP0
|
#include <RxAttribute.h>
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdRxDescriptionAttribute) | |
| OdRxDescriptionAttribute (OdRxDescriptionAttributeImpl *) | |
| unsigned int | id () const |
| unsigned int | sourceHint () const |
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 |
Static Public Member Functions | |
| static OdRxAttributePtr | createObject (const OdString &description, unsigned int id=0, unsigned int sourceHint=0) |
| static OdString | getDescription (const OdRxObject *pO) |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
Additional Inherited Members | |
Protected Member Functions inherited from OdRxAttribute | |
| OdRxAttribute (OdRxAttributeImpl *) | |
Protected Attributes inherited from OdRxAttribute | |
| OdRxAttributeImpl * | m_pImpl |
<group OdRx_Classes>
This attribute provides a human readable description of the member for UI.
Definition at line 374 of file RxAttribute.h.
| OdRxDescriptionAttribute::OdRxDescriptionAttribute | ( | OdRxDescriptionAttributeImpl * | ) |
|
static |
Constructor. Creates an attribute to store a description string resource ID and a resource ID hint.
| description | [in] Description string. |
| id | [in] Resource ID of the string. |
| sourceHint | [in] Resource ID hint. |
|
static |
Looks up OdRxDescriptionAttribute on the object if it is a member, (and in the object class attribute list if it is not), and uses OdRxResourceLoader to get the string from resources identified by ID and hint.
| pO | [in] Object to be queried for a description. |
| unsigned int OdRxDescriptionAttribute::id | ( | ) | const |
Gets the description string resource identifier.
| OdRxDescriptionAttribute::ODRX_DECLARE_MEMBERS | ( | OdRxDescriptionAttribute | ) |
| unsigned int OdRxDescriptionAttribute::sourceHint | ( | ) | const |
Gets the description string resource identifier hint.