VMware Tanzu GemFire Native C++ Reference
10.1.5
|
20 #ifndef GEODE_DATASERIALIZABLE_H_
21 #define GEODE_DATASERIALIZABLE_H_
26 #include "Serializable.hpp"
27 #include "internal/geode_globals.hpp"
60 const std::type_info&
getType()
const {
return typeid(*this); }
67 #endif // GEODE_DATASERIALIZABLE_H_
This base class is the superclass of all user objects in the cache that can be serialized.
Definition: Serializable.hpp:53
virtual void toData(DataOutput &dataOutput) const =0
serialize this object
virtual void fromData(DataInput &dataInput)=0
deserialize this object.
Provide operations for writing primitive data values, byte arrays, strings, Serializable objects to a...
Definition: DataOutput.hpp:48
An interface for objects whose contents can be serialized as primitive types.
Definition: DataSerializable.hpp:39
const std::type_info & getType() const
Return the std::type_info of the instance being serialized.
Definition: DataSerializable.hpp:60
Provide operations for reading primitive data values, byte arrays, strings, Serializable objects from...
Definition: DataInput.hpp:59
Apache Geode C++ Cache API Documentation