VMware GemFire Native Client Cache Reference  9.0.6
DataOutput.hpp File Reference

Go to the source code of this file.

Data Structures

class  gemfire::DataOutput
 Provide operations for writing primitive data values, byte arrays, strings, Serializable objects to a byte stream. More...
 

Namespaces

 gemfire
 This namespace contains all the GemFire C++ API classes, enumerations and globals.
 

Macros

#define GF_ALLOC(v, t, s)
 C style memory allocation that throws OutOfMemoryException if it fails. More...
 
#define GF_RESIZE(v, t, s)
 C style memory re-allocation that throws OutOfMemoryException if it fails. More...
 

Macro Definition Documentation

#define GF_ALLOC (   v,
  t,
 
)
Value:
{ \
v = (t*)malloc((s) * sizeof(t)); \
if ((v) == NULL) { \
throw OutOfMemoryException( \
"Out of Memory while allocating buffer for "#t" of size "#s); \
} \
}

C style memory allocation that throws OutOfMemoryException if it fails.

#define GF_RESIZE (   v,
  t,
 
)
Value:
{ \
v = (t*)realloc(v, (s) * sizeof(t)); \
if ((v) == NULL) { \
throw OutOfMemoryException( \
"Out of Memory while resizing buffer for "#t); \
} \
}

C style memory re-allocation that throws OutOfMemoryException if it fails.


GemFire C++ Cache API Documentation