1 #ifndef __GEMFIRE_PDXREADER_H__ 2 #define __GEMFIRE_PDXREADER_H__ 13 #include "PdxUnreadFields.hpp" 18 typedef SharedPtr<PdxReader> PdxReaderPtr;
52 virtual char readChar(
const char* fieldName) = 0;
63 virtual wchar_t readWideChar(
const char* fieldName) = 0;
74 virtual bool readBoolean(
const char* fieldName) = 0;
85 virtual int8_t readByte(
const char* fieldName) = 0;
96 virtual int16_t readShort(
const char* fieldName) = 0;
107 virtual int32_t readInt(
const char* fieldName) = 0;
118 virtual int64_t readLong(
const char* fieldName) = 0;
129 virtual float readFloat(
const char* fieldName) = 0;
140 virtual double readDouble(
const char* fieldName) = 0;
151 virtual char* readString(
const char* fieldName) = 0;
162 virtual wchar_t* readWideString(
const char* fieldName) = 0;
173 virtual CacheablePtr readObject(
const char* fieldName) = 0;
185 virtual char* readCharArray(
const char* fieldName, int32_t& length) = 0;
197 virtual wchar_t* readWideCharArray(
const char* fieldName, int32_t& length) = 0;
208 virtual bool* readBooleanArray (
const char* fieldName, int32_t& length) = 0;
220 virtual int8_t* readByteArray(
const char* fieldName, int32_t& length) = 0;
232 virtual int16_t* readShortArray(
const char* fieldName, int32_t& length) = 0;
244 virtual int32_t* readIntArray(
const char* fieldName, int32_t& length) = 0;
256 virtual int64_t* readLongArray(
const char* fieldName, int32_t& length ) = 0;
268 virtual float* readFloatArray(
const char* fieldName, int32_t& length) = 0;
280 virtual double* readDoubleArray(
const char* fieldName, int32_t& length) = 0;
292 virtual char** readStringArray(
const char* fieldName, int32_t& length) = 0;
304 virtual wchar_t** readWideStringArray(
const char* fieldName, int32_t& length) = 0;
328 virtual int8_t** readArrayOfByteArrays(
const char* fieldName, int32_t& arrayLength, int32_t** elementLength ) = 0;
348 virtual bool hasField(
const char* fieldName) = 0;
357 virtual bool isIdentityField(
const char* fieldName) = 0;
Contains generic template definitions for Cacheable types and instantiations for built-in types...
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
A PdxReader will be passed to PdxSerializable.fromData or during deserialization of a PDX...
Definition: PdxReader.hpp:29
PdxReader()
constructors
Definition: PdxReader.hpp:36
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
This abstract base class is the base class of all user objects that have the shared capability of ref...
Definition: SharedBase.hpp:31
virtual ~PdxReader()
destructor
Definition: PdxReader.hpp:41
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:35