#include <Assert.h>
Static Public Member Functions | |
static bool | assertState (const void *pState, const char *pFile, int32 line) |
static bool | assertState (bool state, const char *pFile, int32 line) |
01) Pointer assert:
assert(pointer);
02) Bool assert:
assert(int32 > 0);
03) Pointer and bool assert:
assert(pointer != NULL && int32 > 0);
static bool Assert::assertState | ( | const void * | pState, | |
const char * | pFile, | |||
int32 | line | |||
) | [static] |
This method is used to catch the pointer assertion.
pState | the object assert statement. | |
pFile | the caller file. | |
line | the caller line. |
static bool Assert::assertState | ( | bool | state, | |
const char * | pFile, | |||
int32 | line | |||
) | [static] |
This method is used to catch the bool assertion.
state | the bool assert statement. | |
pFile | the caller file. | |
line | the caller line. |