CFx SDK Documentation
2022 SP0
|
#include <RxAttribute.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdRxLocalizedNameAttribute) | |
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 (unsigned int id, unsigned int sourceHint=0) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions | |
OdRxLocalizedNameAttribute (OdRxLocalizedNameAttributeImpl *) | |
Protected Member Functions inherited from OdRxAttribute | |
OdRxAttribute (OdRxAttributeImpl *) | |
Additional Inherited Members | |
Protected Attributes inherited from OdRxAttribute | |
OdRxAttributeImpl * | m_pImpl |
Provides human readable name of the member for UI. Uses OdRxResourceLoader to get the actual name.
<group OdRx_Classes>
Definition at line 163 of file RxAttribute.h.
|
protected |
|
static |
Construct the instance of the attribute to store string identifier.
unsigned int OdRxLocalizedNameAttribute::id | ( | ) | const |
Looks up OdRxLocalizedNameAttribute 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.
Name string resource identifier.
OdRxLocalizedNameAttribute::ODRX_DECLARE_MEMBERS | ( | OdRxLocalizedNameAttribute | ) |
unsigned int OdRxLocalizedNameAttribute::sourceHint | ( | ) | const |
Name string resource identifier hint. (Zero if not set.)