#include <string>Include dependency graph for error.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | CError |
Defines | |
| #define | assert(COND) if (!(COND)) MissedAssertion (__FILE__, __LINE__, #COND); |
| #define | FORCE_ASSERT(COND) if (!(COND)) MissedAssertion (__FILE__, __LINE__, #COND); |
| #define | Error(txt) TriggerError(__FILE__, __LINE__, txt) |
Functions | |
| void | MissedAssertion (const char *filename, unsigned long line, const char *message) |
| void | WakeUpDebugger () |
| void | TriggerError (const char *filename, unsigned long line, const std::string &txt) |
| #define assert | ( | COND | ) | if (!(COND)) MissedAssertion (__FILE__, __LINE__, #COND); |
| #define FORCE_ASSERT | ( | COND | ) | if (!(COND)) MissedAssertion (__FILE__, __LINE__, #COND); |
| void MissedAssertion | ( | const char * | filename, | |
| unsigned long | line, | |||
| const char * | message | |||
| ) |
Definition at line 45 of file error.cpp.
00047 { 00048 std::cout << std::endl; 00049 std::cerr << filename << ':' << line 00050 << ": Missed assertion \"" << message << "\"." 00051 << std::endl; 00052 #if defined DEBUG 00053 WakeUpDebugger(); 00054 abort(); 00055 #endif 00056 }
Here is the call graph for this function:

| void TriggerError | ( | const char * | filename, | |
| unsigned long | line, | |||
| const std::string & | txt | |||
| ) |
| void WakeUpDebugger | ( | ) |
1.4.7