
Functions | |
| void | abort_aux (const char *what, const char *where, int line_no) throw () |
| Helper function called frmo the GVX_ABORT() macro. | |
| void | dump (const char *what, int level, const char *where, int line_no) throw () |
| void | start_newline () throw () |
| void | panic_aux (const char *what, const char *where, int line_no) throw () |
| void | assert_aux (const char *what, const char *where, int line_no) throw () |
| void | precondition_aux (const char *what, const char *where, int line_no) throw () |
| void | postcondition_aux (const char *what, const char *where, int line_no) throw () |
| void | invariant_aux (const char *what, const char *where, int line_no) throw () |
| int | create_key (const char *filename) |
| Allocate a debug key for the given filename. | |
| bool | is_valid_key (int key) |
| Query whether the given value is a valid debug key. | |
| int | lookup_key (const char *filename) |
| Get the debug key associated with the given filename. | |
| int | get_level_for_key (int key) |
| Get the current debug level associated with the given debug key. | |
| void | set_level_for_key (int key, int level) |
| Set the current debug level for the given debug key. | |
| const char * | get_filename_for_key (int key) |
| Get the filename associated with the given debug key. | |
| void | set_global_level (int lev) |
| void | eval (const char *what, int level, const char *where, int line_no, bool nl, bool expr) throw () |
| void | eval (const char *what, int level, const char *where, int line_no, bool nl, char expr) throw () |
| void | eval (const char *what, int level, const char *where, int line_no, bool nl, unsigned char expr) throw () |
| void | eval (const char *what, int level, const char *where, int line_no, bool nl, short expr) throw () |
| void | eval (const char *what, int level, const char *where, int line_no, bool nl, unsigned short expr) throw () |
| void | eval (const char *what, int level, const char *where, int line_no, bool nl, int expr) throw () |
| void | eval (const char *what, int level, const char *where, int line_no, bool nl, unsigned int expr) throw () |
| void | eval (const char *what, int level, const char *where, int line_no, bool nl, long expr) throw () |
| void | eval (const char *what, int level, const char *where, int line_no, bool nl, unsigned long expr) throw () |
| void | eval (const char *what, int level, const char *where, int line_no, bool nl, float expr) throw () |
| void | eval (const char *what, int level, const char *where, int line_no, bool nl, double expr) throw () |
| void | eval (const char *what, int level, const char *where, int line_no, bool nl, const char *expr) throw () |
| void | eval (const char *what, int level, const char *where, int line_no, bool nl, void *expr) throw () |
| void | eval (const char *what, int level, const char *where, int line_no, bool nl, rutz::fstring expr) throw () |
|
||||||||||||||||
|
Helper function called frmo the GVX_ABORT() macro.
|
|
|
Allocate a debug key for the given filename.
Definition at line 178 of file debug.cc. References GVX_DBG_REGISTER::g_debug_keys_mutex, GVX_DBG_REGISTER::g_debug_next_key, GVX_DBG_REGISTER::g_key_filenames, GVX_MUTEX_LOCK, and GVX_DBG_REGISTER::MAX_KEYS. |
|
|
Get the filename associated with the given debug key.
Definition at line 219 of file debug.cc. References GVX_DBG_REGISTER::g_debug_keys_mutex, GVX_DBG_REGISTER::g_key_filenames, and GVX_MUTEX_LOCK. |
|
|
Get the current debug level associated with the given debug key.
Definition at line 204 of file debug.cc. References GVX_DBG_REGISTER::g_debug_keys_mutex, GVX_DBG_REGISTER::g_key_levels, GVX_MUTEX_LOCK, and GVX_DBG_REGISTER::MAX_KEYS. |
|
|
Query whether the given value is a valid debug key.
Definition at line 188 of file debug.cc. References GVX_DBG_REGISTER::MAX_KEYS. Referenced by GVX_DBG_REGISTER::setOneLevel(), and GVX_DBG_REGISTER::setOneLevelc(). |
|
|
Get the debug key associated with the given filename. Returns -1 if the filename is not registered. Definition at line 193 of file debug.cc. References GVX_DBG_REGISTER::g_debug_keys_mutex, GVX_DBG_REGISTER::g_debug_next_key, GVX_DBG_REGISTER::g_key_filenames, GVX_MUTEX_LOCK, and i. Referenced by Gtrace_Init(), and GVX_DBG_REGISTER::setOneLevelc(). |
|
||||||||||||
|
Set the current debug level for the given debug key.
Definition at line 212 of file debug.cc. References GVX_DBG_REGISTER::g_debug_keys_mutex, GVX_DBG_REGISTER::g_key_levels, GVX_MUTEX_LOCK, and GVX_DBG_REGISTER::MAX_KEYS. Referenced by GVX_DBG_REGISTER::setOneLevel(), and GVX_DBG_REGISTER::setOneLevelc(). |
1.4.4