Public Member Functions | |
CustomAssert () | |
void | SetHandler (void(&handler)()) |
bool | Check (bool condition, const char *description, const char *file, const char *function, int line, const char *message="") |
const char * | GetDescription () const |
const char * | GetMember () const |
const char * | GetFile () const |
const char * | GetFunction () const |
const int | GetLine () const |
const char * | GetMessage () const |
typedef | void (&HANDLER)() |
HANDLER | GetHandler () const |
Static Public Member Functions | |
static void | CreateInstance () |
static void | DestroyInstance () |
static CustomAssert & | Instance () |
static void | DefaultHandler () |
Static Public Attributes | |
static CustomAssert * | sInstance |
CustomAssert::CustomAssert | ( | ) |
static void CustomAssert::CreateInstance | ( | ) | [static] |
static void CustomAssert::DestroyInstance | ( | ) | [static] |
static CustomAssert& CustomAssert::Instance | ( | ) | [static] |
void CustomAssert::SetHandler | ( | void(&)() | handler | ) |
bool CustomAssert::Check | ( | bool | condition, | |
const char * | description, | |||
const char * | file, | |||
const char * | function, | |||
int | line, | |||
const char * | message = "" | |||
) |
const char* CustomAssert::GetDescription | ( | ) | const |
const char* CustomAssert::GetMember | ( | ) | const |
const char* CustomAssert::GetFile | ( | ) | const |
const char* CustomAssert::GetFunction | ( | ) | const |
const int CustomAssert::GetLine | ( | ) | const |
const char* CustomAssert::GetMessage | ( | ) | const |
typedef CustomAssert::void | ( | & | HANDLER | ) |
HANDLER CustomAssert::GetHandler | ( | ) | const |
static void CustomAssert::DefaultHandler | ( | ) | [static] |
CustomAssert* CustomAssert::sInstance [static] |