1 #ifndef _PDXWRAPPER_HPP_ 2 #define _PDXWRAPPER_HPP_ 12 #include "PdxSerializer.hpp" 13 #include "PdxSerializable.hpp" 32 PdxWrapper(
void * userObject,
const char * className);
39 void * getObject(
bool detach =
false);
44 const char * getClassName()
const;
47 bool operator==(
const CacheableKey& other )
const;
50 uint32_t hashcode( )
const;
56 void toData( PdxWriterPtr output );
61 void fromData( PdxReaderPtr input );
65 void toData( DataOutput& output )
const;
70 Serializable* fromData( DataInput& input );
76 int32_t classId( )
const {
return 0; }
85 uint32_t objectSize()
const;
95 CacheableStringPtr toString( )
const;
97 virtual ~PdxWrapper();
103 PdxWrapper(
const char * className);
106 PdxSerializerPtr m_serializer;
111 friend class SerializationRegistry;
113 PdxWrapper(
const PdxWrapper& );
115 const PdxWrapper& operator=(
const PdxWrapper& );
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