VMware Tanzu GemFire Native C++ Reference
10.1.5
|
20 #ifndef GEODE_PDXSERIALIZABLE_H_
21 #define GEODE_PDXSERIALIZABLE_H_
28 #include "internal/geode_base.hpp"
73 #endif // GEODE_PDXSERIALIZABLE_H_
virtual const std::string & getClassName() const =0
Get the Type for the Object.
A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.
Definition: PdxWriter.hpp:41
A PdxReader will be passed to PdxSerializable.fromData or during deserialization of a PDX.
Definition: PdxReader.hpp:58
virtual void toData(PdxWriter &output) const =0
Serialize this object in Geode PDX format.
This base class is the superclass of all user objects in the cache that can be serialized.
Definition: Serializable.hpp:53
std::string toString() const override
Display this object as 'string', which depends on the implementation in the subclasses.
Represents a cacheable key.
Definition: CacheableKey.hpp:40
int32_t hashcode() const override
return the hashcode for this key.
virtual void fromData(PdxReader &input)=0
Deserialize this object.
An interface for objects whose contents can be serialized as PDX types.
Definition: PdxSerializable.hpp:41
bool operator==(const CacheableKey &other) const override
return true if this key matches other.
Apache Geode C++ Cache API Documentation