CFx SDK Documentation
2022 SP0
|
#include <RxAttribute.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdRxResourceLoader) | |
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 OdResult | loadString (const OdRxObject *pClass, unsigned int id, unsigned int sourceHint, OdString &result) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions | |
virtual OdResult | subLoadString (unsigned int id, unsigned int sourceHint, OdString &result)=0 |
Protocol extension to handle loading strings from resources. (E.g. for localization.)
<group OdRx_Classes>
Definition at line 135 of file RxAttribute.h.
|
static |
Load the string identified by the id and hint. Queries the class for OdRxResourceLoader and calls subLoadString() to do the actual loading.
OdRxResourceLoader::ODRX_DECLARE_MEMBERS | ( | OdRxResourceLoader | ) |
|
protectedpure virtual |
Load the string identified by the id and hint. Implementation is up to the application.