1 #ifndef PDXSERIALIZER_HPP_ 2 #define PDXSERIALIZER_HPP_ 13 #include "PdxReader.hpp" 14 #include "PdxWriter.hpp" 41 virtual ~PdxSerializer(){}
49 virtual void * fromData(
const char * className,
PdxReaderPtr pr) = 0;
56 virtual bool toData(
void * userObject,
const char * className,
PdxWriterPtr pw) = 0;
68 virtual UserObjectSizer getObjectSizer(
const char * className) {
return NULL; };
void(* UserDeallocator)(void *, const char *)
Function pointer type which takes a void pointer to an instance of a user object to delete and class ...
Definition: PdxSerializer.hpp:20
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
uint32_t(* UserObjectSizer)(void *, const char *)
Function pointer type which takes a void pointer to an instance of a user object and class name to re...
Definition: PdxSerializer.hpp:25
#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
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:35