3 #ifndef GEODE_SERIALIZABLE_H_ 4 #define GEODE_SERIALIZABLE_H_ 27 #include "geode_globals.hpp" 37 typedef void (*CliCallbackMethod)();
46 typedef PdxSerializable* (*TypeFactoryMethodPdx)();
58 virtual void toData(
DataOutput& output)
const = 0;
74 virtual int32_t classId()
const = 0;
84 virtual int8_t typeId()
const;
94 virtual int8_t DSFID()
const;
104 virtual uint32_t objectSize()
const;
122 static void registerPdxType(TypeFactoryMethodPdx creationFunction);
149 template <
class PRIM>
172 #endif // GEODE_SERIALIZABLE_H_ virtual ~Serializable()
destructor
Definition: Serializable.hpp:155
Each enum represents a predefined RegionAttributes in a Cache.
Definition: Assert.hpp:31
Serializable *(* TypeFactoryMethod)()
signature of functions passed to registerType.
Definition: Serializable.hpp:44
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
Provide operations for writing primitive data values, byte arrays, strings, Serializable objects to a...
Definition: DataOutput.hpp:74
This abstract base class is the base class of all user objects that have the shared capability of ref...
Definition: SharedBase.hpp:40
This abstract base class is the superclass of all user objects in the cache that can be serialized...
Definition: Serializable.hpp:53
Serializable()
constructors
Definition: Serializable.hpp:161
Provide operations for reading primitive data values, byte arrays, strings, Serializable objects from...
Definition: DataInput.hpp:56
This namespace contains all the Geode C++ API classes, enumerations and globals.