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

Go to the source code of this file.

Data Structures

class  apache::geode::client::Assert
 

Namespaces

 apache
 Each enum represents a predefined RegionAttributes in a {}.
 

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

◆ GF_D_ASSERT

#define GF_D_ASSERT (   x)

Throws the given assertion if GF_DEBUG_ASSERTS is true.

◆ GF_DEBUG_ASSERTS

#define GF_DEBUG_ASSERTS   0

Change this to 1 to use assertion functions.

◆ GF_DEV_ASSERT

#define GF_DEV_ASSERT (   x)

Throws the given assertion if GF_DEVEL_ASSERTS is true.

◆ GF_R_ASSERT

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

Throws the given assertion.


Pivotal GemFire C++ Cache API Documentation