osgCal
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes

CustomAssert Class Reference

List of all members.

Public Types

typedef void(&) HANDLER ()

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
HANDLER GetHandler () const

Static Public Member Functions

static void CreateInstance ()
static void DestroyInstance ()
static CustomAssertInstance ()
static void DefaultHandler ()

Static Public Attributes

static CustomAssertsInstance

Member Typedef Documentation

typedef void(&) CustomAssert::HANDLER()

Constructor & Destructor Documentation

CustomAssert::CustomAssert ( )

Member Function Documentation

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

Member Data Documentation


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