Assert Class Reference

Description: Assertions. More...

#include <Assert.h>

List of all members.

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)


Detailed Description

Description: Assertions.

Note:
See the Define.h to know how turn ON the assetion.
Usage:
   01) Pointer assert:
       assert(pointer);

   02) Bool assert:
       assert(int32 > 0);

   03) Pointer and bool assert:
       assert(pointer != NULL && int32 > 0);

Member Function Documentation

static bool Assert::assertState ( const void *  pState,
const char *  pFile,
int32  line 
) [static]

This method is used to catch the pointer assertion.

Parameters:
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.

Parameters:
state the bool assert statement.
pFile the caller file.
line the caller line.


The documentation for this class was generated from the following file:

Generated on Mon Mar 3 10:53:09 2008 for Aika by  doxygen 1.5.5