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); }
Provide operations for reading primitive data values, byte arrays, strings, Serializable objects from...
Definition: DataInput.hpp:59
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
virtual void fromData(DataInput &dataInput)=0
deserialize this object.
virtual void toData(DataOutput &dataOutput) const =0
serialize this object
const std::type_info & getType() const
Return the std::type_info of the instance being serialized.
Definition: DataSerializable.hpp:60
This base class is the superclass of all user objects in the cache that can be serialized.
Definition: Serializable.hpp:53