#include <Error.h>
Inherits Object, and Singleton< T >< Error >.
Inheritance diagram for Error:


Public Member Functions | |
| int | verror (const String &fileName, const unsigned int lineNum, const String &functionName, const char *format, va_list ap) |
| int | error (const String &fileName, const unsigned int lineNum, const String &functionName, const char *format,...) __attribute__((format(printf |
| int int | errorFatal (const String &fileName, const unsigned int lineNum, const String &functionName, const char *format,...) __attribute__((format(printf |
| int int int | warning (const String &fileName, const unsigned int lineNum, const String &functionName, const char *format,...) __attribute__((format(printf |
| int int int int | info (const String &fileName, const unsigned int lineNum, const String &functionName, const char *format,...) __attribute__((format(printf |
| SIGNAL (debug, const String &, const String &, const unsigned int, const String &, const String &) | |
| SIGNAL (error, const String &, const String &, const unsigned int, const String &, const String &) | |
| SIGNAL (errorFatal, const String &, const String &, const unsigned int, const String &, const String &) | |
| SIGNAL (warning, const String &, const String &, const unsigned int, const String &, const String &) | |
| SIGNAL (info, const String &, const String &, const unsigned int, const String &, const String &) | |
Static Public Member Functions | |
| int int int int static void | printBackTrace () |
Private Member Functions | |
| Error () | |
| virtual | ~Error () |
Friends | |
| class | Singleton< Error > |
Definition at line 82 of file Error.h.
| int Error::verror | ( | const String & | fileName, | |
| const unsigned int | lineNum, | |||
| const String & | functionName, | |||
| const char * | format, | |||
| va_list | ap | |||
| ) |
Definition at line 42 of file Error.cpp.
References COLOR_ERROR(), CSTRING(), EMIT, error(), FAILURE, LIMIT_CSTRING_SIZE, and String::timestamp().
Referenced by error().
| int Error::errorFatal | ( | const String & | fileName, | |
| const unsigned int | lineNum, | |||
| const String & | functionName, | |||
| const char * | format, | |||
| ... | ||||
| ) |
Definition at line 69 of file Error.cpp.
References COLOR_ERROR_FATAL(), CSTRING(), EMIT, error(), FAILURE, GET_MESSAGE, printBackTrace(), and String::timestamp().
| int Error::warning | ( | const String & | fileName, | |
| const unsigned int | lineNum, | |||
| const String & | functionName, | |||
| const char * | format, | |||
| ... | ||||
| ) |
Definition at line 103 of file Error.cpp.
References COLOR_WARNING(), CSTRING(), EMIT, GET_MESSAGE, OK, and String::timestamp().
| int Error::info | ( | const String & | fileName, | |
| const unsigned int | lineNum, | |||
| const String & | functionName, | |||
| const char * | format, | |||
| ... | ||||
| ) |
Definition at line 119 of file Error.cpp.
References COLOR_INFO(), CSTRING(), EMIT, GET_MESSAGE, OK, and String::timestamp().
| void Error::printBackTrace | ( | ) | [static] |
Definition at line 135 of file Error.cpp.
References COLOR_BACKTRACE(), CSTRING(), and LIMIT_BACKTRACE_DEPTH.
Referenced by errorFatal().
| Error::SIGNAL | ( | debug | , | |
| const String & | , | |||
| const String & | , | |||
| const unsigned | int, | |||
| const String & | , | |||
| const String & | ||||
| ) |
| Error::SIGNAL | ( | error | , | |
| const String & | , | |||
| const String & | , | |||
| const unsigned | int, | |||
| const String & | , | |||
| const String & | ||||
| ) |
| Error::SIGNAL | ( | errorFatal | , | |
| const String & | , | |||
| const String & | , | |||
| const unsigned | int, | |||
| const String & | , | |||
| const String & | ||||
| ) |
| Error::SIGNAL | ( | warning | , | |
| const String & | , | |||
| const String & | , | |||
| const unsigned | int, | |||
| const String & | , | |||
| const String & | ||||
| ) |
| Error::SIGNAL | ( | info | , | |
| const String & | , | |||
| const String & | , | |||
| const unsigned | int, | |||
| const String & | , | |||
| const String & | ||||
| ) |
1.5.1