#include <UT_ErrorManager.h>
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 | commonWarning (UT_CommonErrorCode what, const char *msg=0) |
| UT_ErrorSeverity | commonError (UT_CommonErrorCode what, const char *msg=0) |
| void | clearAndDestroyErrors () |
| int | getNumErrors () const |
| UT_ErrorSeverity | append (UT_Error *error) |
| 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 () |
Protected Types | |
| enum | { FLAG_ERRORS_READ = 0x01, FLAG_SCAN_NEEDED = 0x02 } |
Protected Member Functions | |
| void | setReadFlag (int state) |
| int | getReadFlag () const |
| void | setNeedScan (int state) |
| int | getNeedScan () const |
Definition at line 33 of file UT_ErrorManager.h.
anonymous enum [protected] |
| UT_ErrorManager::UT_ErrorManager | ( | ) |
| UT_ErrorManager::~UT_ErrorManager | ( | ) |
| 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::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 | |||
| ) |
| UT_ErrorSeverity UT_ErrorManager::append | ( | UT_Error * | error | ) |
| 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 78 of file UT_ErrorManager.h.
| int UT_ErrorManager::getNeedScan | ( | ) | const [inline, protected] |
Definition at line 92 of file UT_ErrorManager.h.
| int UT_ErrorManager::getNumErrors | ( | ) | const [inline] |
Definition at line 50 of file UT_ErrorManager.h.
| int UT_ErrorManager::getReadFlag | ( | ) | const [inline, protected] |
Definition at line 86 of file UT_ErrorManager.h.
| UT_ErrorSeverity UT_ErrorManager::getSeverity | ( | ) | [inline] |
Definition at line 70 of file UT_ErrorManager.h.
| void UT_ErrorManager::pruneDuplicates | ( | ) |
| int UT_ErrorManager::removeError | ( | int | index | ) |
| 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 |
) |
1.5.9