|
CFx SDK Documentation
2023 SP0
|
#include <OdErrorContext.h>
Public Member Functions | |
| virtual | ~OdErrorContext () |
| virtual OdString | description () const =0 |
| virtual OdResult | code () const =0 |
| OdString | completeDescription () const |
| OdErrorContext * | getPreviousError () const |
| void | setPreviousError (OdErrorContext *pPreviousError) |
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 | |
| OdErrorContext () | |
| OdErrorContext (OdErrorContext *pPreviousError) | |
Protected Attributes | |
| OdErrorContext * | m_pPreviousError |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
This class implements a node in an ErrorContext stack.
Corresponding C++ library: TD_Root <group Error_Classes>
Definition at line 43 of file OdErrorContext.h.
|
inlineprotected |
Definition at line 47 of file OdErrorContext.h.
|
protected |
| pPreviousError | [in] Pointer to the previous ErrorContext object. |
|
virtual |
|
pure virtual |
Returns the OdResult code of this ErrorContext object.
Implemented in TxErrorContext, and AECErrorContext.
| OdString OdErrorContext::completeDescription | ( | ) | const |
Returns the complete description of this ErrorContext object.
The default implementation of this function returns a string in the following format:
<Description n-1>\n
Previous error: <Description n-2>\n
Previous error: <Description n-3>\n
...
Previous error: <Description 0>\n
|
pure virtual |
Returns the description of this ErrorContext object.
Implemented in TxErrorContext, and AECErrorContext.
|
inline |
Returns the ErrorContext object previous to this one in this ErrorContext stack.
Definition at line 82 of file OdErrorContext.h.
| void OdErrorContext::setPreviousError | ( | OdErrorContext * | pPreviousError | ) |
Sets the ErrorContext object previous to this one in this ErrorContext stack.
| pPreviousError | [in] Pointer to the previous ErrorContext object. |
|
protected |
Definition at line 46 of file OdErrorContext.h.