/export/loot1/users/build/gfcppsancout/product/include/gfcpp/DataOutput.hpp File Reference


Detailed Description

Go to the source code of this file.

Namespaces

namespace  gemfire

Data Structures

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

Defines

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


Define 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