VMware GemFire Native C++ Reference  9.1
Assert.hpp File Reference

Assertion functions for debugging. More...

Go to the source code of this file.

Data Structures

class  apache::geode::client::Assert
 Declares debugging assertion reporting functions. More...
 

Namespaces

 apache
 Each enum represents a predefined RegionAttributes in a Cache.
 

Macros

#define GF_D_ASSERT(x)
 Throws the given assertion if GF_DEBUG_ASSERTS is true. More...
 
#define GF_DEBUG_ASSERTS   0
 Change this to 1 to use assertion functions. More...
 
#define GF_DEV_ASSERT(x)
 Throws the given assertion if GF_DEVEL_ASSERTS is true. More...
 
#define GF_R_ASSERT(x)   apache::geode::client::Assert::assertTrue(x, #x, __FILE__, __LINE__)
 Throws the given assertion. More...
 

Detailed Description

Assertion functions for debugging.

Macro Definition Documentation

#define GF_D_ASSERT (   x)

Throws the given assertion if GF_DEBUG_ASSERTS is true.

#define GF_DEBUG_ASSERTS   0

Change this to 1 to use assertion functions.

#define GF_DEV_ASSERT (   x)

Throws the given assertion if GF_DEVEL_ASSERTS is true.

#define GF_R_ASSERT (   x)    apache::geode::client::Assert::assertTrue(x, #x, __FILE__, __LINE__)

Throws the given assertion.


Pivotal GemFire C++ Cache API Documentation