![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
This is ClanLib's assertion class.
Contained in: global
Derived from:
none
Derived by:
none
Group: Core (System)
#include <ClanLib/core.h>
public function member index: |
||
Operations: |
||
static void | enable_channels | (int channel_mask); |
static void | die | (bool a, const char* file, int line, const char* func, const char* assert_str); |
static void | info | (int channel, const char* text, const char* file, int line); |
static void | add_listener | (CL_AssertListener* listener); |
static void | remove_listener | (CL_AssertListener* listener); |
listener - The listener to be added.
a - Asserts if false.
file - Name of the file where the assert occurred.
line - Line in the file where the assert occurred.
func - Function in which the assert occurred.
assert_str - String that describe the assertion check.
channel_mask - Channels to be enabled.
channel - Channel to use. (Use the ErrorChannels enum's)
text - text to print.
file - Name of the file where this was printed from.
line - Line in the file where this was printed from.
listener - The listener to be removed.