#include <UT_ErrorManager.h>
Classes | |
| class | Scope |
| A global error manager scope. More... | |
Public Member Functions | |
| UT_ErrorManager () | |
| ~UT_ErrorManager () | |
| UT_ErrorSeverity | addMessage (const char *type, int code, const char *msg=0) |
| UT_ErrorSeverity | addPrompt (const char *type, int code, const char *msg=0) |
| UT_ErrorSeverity | addWarning (const char *type, int code, const char *msg=0) |
| UT_ErrorSeverity | addError (const char *type, int code, const char *msg=0) |
| UT_ErrorSeverity | addFatal (const char *type, int code, const char *msg=0) |
| UT_ErrorSeverity | systemError (const char *msg=0) |
| UT_ErrorSeverity | systemWarning (const char *msg=0) |
| UT_ErrorSeverity | commonWarning (UT_CommonErrorCode what, const char *msg=0) |
| UT_ErrorSeverity | commonError (UT_CommonErrorCode what, const char *msg=0) |
| UT_ErrorSeverity | addDeadlockError () |
| UT_ErrorSeverity | addGeneric (const char *type, int code, const char *msg, UT_ErrorSeverity sev) |
| void | clearAndDestroyErrors () |
| int | getNumErrors () const |
| int | stealErrors (UT_ErrorManager &victim, int rangestart=0, int rangeend=-1, UT_ErrorSeverity severity=UT_ERROR_NONE, bool borrow_only=false) |
| int | removeError (int index) |
| int | findError (const char *type, int code) const |
| int | getErrorMessages (UT_String &messages, UT_ErrorSeverity severity=UT_ERROR_NONE, int headerflag=1) |
| UT_ErrorSeverity | getSeverity () |
| UT_ErrorSeverity | getErrorState () |
| void | pruneDuplicates () |
| bool | isDisabled () const |
| void | setDisabled (bool f) |
| UT_ErrorSeverity | updateSeverity (UT_ErrorSeverity sev) |
| bool | hasDeadlockError () const |
Protected Member Functions | |
| void | setReadFlag (int state) |
| int | getReadFlag () const |
| void | setNeedScan (int state) |
| int | getNeedScan () const |
| void | setDeadlockError (bool onoff) |
Definition at line 34 of file UT_ErrorManager.h.
| UT_ErrorManager::UT_ErrorManager | ( | ) |
| UT_ErrorManager::~UT_ErrorManager | ( | ) |
| UT_ErrorSeverity UT_ErrorManager::addDeadlockError | ( | ) |
| UT_ErrorSeverity UT_ErrorManager::addError | ( | const char * | type, | |
| int | code, | |||
| const char * | msg = 0 | |||
| ) |
| UT_ErrorSeverity UT_ErrorManager::addFatal | ( | const char * | type, | |
| int | code, | |||
| const char * | msg = 0 | |||
| ) |
| UT_ErrorSeverity UT_ErrorManager::addGeneric | ( | const char * | type, | |
| int | code, | |||
| const char * | msg, | |||
| UT_ErrorSeverity | sev | |||
| ) |
| UT_ErrorSeverity UT_ErrorManager::addMessage | ( | const char * | type, | |
| int | code, | |||
| const char * | msg = 0 | |||
| ) |
| UT_ErrorSeverity UT_ErrorManager::addPrompt | ( | const char * | type, | |
| int | code, | |||
| const char * | msg = 0 | |||
| ) |
| UT_ErrorSeverity UT_ErrorManager::addWarning | ( | const char * | type, | |
| int | code, | |||
| const char * | msg = 0 | |||
| ) |
| void UT_ErrorManager::clearAndDestroyErrors | ( | ) |
| UT_ErrorSeverity UT_ErrorManager::commonError | ( | UT_CommonErrorCode | what, | |
| const char * | msg = 0 | |||
| ) |
| UT_ErrorSeverity UT_ErrorManager::commonWarning | ( | UT_CommonErrorCode | what, | |
| const char * | msg = 0 | |||
| ) |
| int UT_ErrorManager::findError | ( | const char * | type, | |
| int | code | |||
| ) | const |
| int UT_ErrorManager::getErrorMessages | ( | UT_String & | messages, | |
| UT_ErrorSeverity | severity = UT_ERROR_NONE, |
|||
| int | headerflag = 1 | |||
| ) |
| UT_ErrorSeverity UT_ErrorManager::getErrorState | ( | ) | [inline] |
Definition at line 90 of file UT_ErrorManager.h.
| int UT_ErrorManager::getNeedScan | ( | ) | const [inline, protected] |
Definition at line 137 of file UT_ErrorManager.h.
| int UT_ErrorManager::getNumErrors | ( | ) | const [inline] |
Definition at line 64 of file UT_ErrorManager.h.
| int UT_ErrorManager::getReadFlag | ( | ) | const [inline, protected] |
Definition at line 131 of file UT_ErrorManager.h.
| UT_ErrorSeverity UT_ErrorManager::getSeverity | ( | ) | [inline] |
Definition at line 82 of file UT_ErrorManager.h.
| bool UT_ErrorManager::hasDeadlockError | ( | ) | const [inline] |
Definition at line 113 of file UT_ErrorManager.h.
| bool UT_ErrorManager::isDisabled | ( | ) | const [inline] |
Definition at line 94 of file UT_ErrorManager.h.
| void UT_ErrorManager::pruneDuplicates | ( | ) |
| int UT_ErrorManager::removeError | ( | int | index | ) |
| void UT_ErrorManager::setDeadlockError | ( | bool | onoff | ) | [inline, protected] |
Definition at line 142 of file UT_ErrorManager.h.
| void UT_ErrorManager::setDisabled | ( | bool | f | ) | [inline] |
Definition at line 98 of file UT_ErrorManager.h.
| void UT_ErrorManager::setNeedScan | ( | int | state | ) | [protected] |
| void UT_ErrorManager::setReadFlag | ( | int | state | ) | [protected] |
| int UT_ErrorManager::stealErrors | ( | UT_ErrorManager & | victim, | |
| int | rangestart = 0, |
|||
| int | rangeend = -1, |
|||
| UT_ErrorSeverity | severity = UT_ERROR_NONE, |
|||
| bool | borrow_only = false | |||
| ) |
| UT_ErrorSeverity UT_ErrorManager::systemError | ( | const char * | msg = 0 |
) |
| UT_ErrorSeverity UT_ErrorManager::systemWarning | ( | const char * | msg = 0 |
) |
| UT_ErrorSeverity UT_ErrorManager::updateSeverity | ( | UT_ErrorSeverity | sev | ) | [inline] |
Definition at line 106 of file UT_ErrorManager.h.
1.5.9