1 #ifndef __GEMFIRE_SERIALIZABLE_H__ 2 #define __GEMFIRE_SERIALIZABLE_H__ 15 #include "gfcpp_globals.hpp" 24 typedef void ( *CliCallbackMethod) ();
32 typedef PdxSerializable* ( *TypeFactoryMethodPdx ) ();
47 virtual void toData(
DataOutput& output )
const = 0;
63 virtual int32_t classId( )
const = 0;
73 virtual int8_t typeId( )
const;
82 virtual int8_t DSFID( )
const;
92 virtual uint32_t objectSize()
const;
110 static void registerPdxType( TypeFactoryMethodPdx creationFunction );
134 template<
class PRIM >
162 #endif //ifndef __GEMFIRE_SERIALIZABLE_H__ virtual ~Serializable()
destructor
Definition: Serializable.hpp:140
Provide operations for writing primitive data values, byte arrays, strings, Serializable objects to a...
Definition: DataOutput.hpp:62
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
Serializable()
constructors
Definition: Serializable.hpp:148
This abstract base class is the superclass of all user objects in the cache that can be serialized...
Definition: Serializable.hpp:39
#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
Serializable *(* TypeFactoryMethod)()
signature of functions passed to registerType.
Definition: Serializable.hpp:30