|
CFx SDK Documentation 2026 SP0
|
#include <OdDefinitionBase.h>
Public Member Functions | |
| void | initialize (bool bReset=false) |
| OdResult | update () |
| OdResult | remove () |
| DefinitionType | getDefinitionType () const |
| OdResult | getCode (OdString &sCode) const |
| OdResult | setCode (const OdString &sCode) |
| OdResult | getDescription (OdString &sDescription) const |
| OdResult | setDescription (const OdString &sDescription) |
| OdResult | getSource (OdString &sSource) const |
| OdResult | setSource (const OdString &sSource) |
| virtual void | copyFrom (const OdRxObject *pSource) ODRX_OVERRIDE |
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 OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
| virtual bool | isEqualTo (const OdRxObject *pOther) const |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
| static void | rxInit () |
| static void | rxUninit () |
This class is the base class for definition classes.
<group OdSpatialReference_Classes>
Definition at line 62 of file OdDefinitionBase.h.
|
virtual |
details Copies the contents of the specified object into this object.
| pSource | [in] Pointer to the source object. |
Throws: eNotApplicable Exception
Reimplemented from OdRxObject.
Returns the code of base definition.
| sCode | [out] Code of base definition. |
| DefinitionType OdSpatialReference::OdDefinitionBase::getDefinitionType | ( | ) | const |
Returns the type of base definition.
Returns the description of base definition.
| sDescription | [out] Description of base definition. |
Returns the source of base definition.
| sSource | [out] Source of base definition. |
Initializes or resets definition data to initial values.
| bReset | [in] If true - the definition data will be reset to initial values regardless of whether this definition data is initialized or not. |
| OdResult OdSpatialReference::OdDefinitionBase::remove | ( | ) |
Removes data of this definition from its dictionary.
Sets the code of base definition.
| sCode | [in] Code of base definition. |
Sets the description of base definition.
| sDescription | [in] Description of base definition. |
Sets the source of base definition.
| sSource | [in] Source of base definition. |
| OdResult OdSpatialReference::OdDefinitionBase::update | ( | ) |
Adds or updates data of this definition in its dictionary.