gemfire::Assert Class Reference


Detailed Description

Declares debugging assertion reporting functions.

Static Public Member Functions

static void assertTrue (bool expression, const char *expressionText, const char *file, int line)
 If the given expression is true, does nothing, otherwise calls throwAssertion .
static void throwAssertion (const char *expressionText, const char *file, int line)
 Throws the given assertion.

Member Function Documentation

static void gemfire::Assert::assertTrue ( bool  expression,
const char *  expressionText,
const char *  file,
int  line 
) [inline, static]

If the given expression is true, does nothing, otherwise calls throwAssertion .

static void gemfire::Assert::throwAssertion ( const char *  expressionText,
const char *  file,
int  line 
) [static]

Throws the given assertion.


GemFire C++ Cache API Documentation