VMware GemFire Native Client C++ API Reference
|
VMware VMware GemFire Native C++ Reference 10.4.3
|
Loading...
Searching...
No Matches
PdxWrapper.hpp
A PdxReader will be passed to PdxSerializable.fromData or during deserialization of a PDX.
Definition PdxReader.hpp:58
An interface for objects whose contents can be serialized as PDX types.
Definition PdxSerializable.hpp:41
The PdxWrapper class allows domain classes to be used in Region operations.
Definition PdxWrapper.hpp:46
const std::string & getClassName() const override
Get the Type for the Object.
int32_t hashcode() const override
return the hashcode for this key.
void fromData(PdxReader &input) override
Deserialize this object.
void toData(PdxWriter &output) const override
Serialize this object in Geode PDX format.
std::string toString() const override
Display this object as 'string', which depends on the implementation in the subclasses.
bool operator==(const CacheableKey &other) const override
return true if this key matches other.
std::shared_ptr< void > getObject()
Returns the pointer to the user object which is deserialized with a PdxSerializer.
PdxWrapper(std::shared_ptr< void > userObject, std::string className)
Constructor which takes the address of the user object to contain for PDX serialization.
A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.
Definition PdxWriter.hpp:41
Apache Geode C++ Cache API Documentation