Abstract base class for any serializable class. More...
#include <Core/Utils/Serialization.h>
Public Member Functions | |
virtual void | Serialize (std::vector< uint8_t > *buffer) const =0 |
Serializes this instance into the flat buffer. More... | |
virtual void | Deserialize (const std::vector< uint8_t > &buffer)=0 |
Deserializes this instance from the flat buffer. More... | |
Detailed Description
Abstract base class for any serializable class.
Member Function Documentation
◆ Deserialize()
|
pure virtual |
Deserializes this instance from the flat buffer.
Implemented in CubbyFlow::ParticleSystemData2, CubbyFlow::ParticleSystemData3, CubbyFlow::GridSystemData2, CubbyFlow::GridSystemData3, CubbyFlow::PointParallelHashGridSearcher3, CubbyFlow::PointParallelHashGridSearcher2, CubbyFlow::SPHSystemData2, CubbyFlow::SPHSystemData3, CubbyFlow::ScalarGrid2, CubbyFlow::ScalarGrid3, CubbyFlow::PointHashGridSearcher3, CubbyFlow::PointHashGridSearcher2, CubbyFlow::PointSimpleListSearcher2, CubbyFlow::PointSimpleListSearcher3, CubbyFlow::Grid3, CubbyFlow::PointKdTreeSearcher2, CubbyFlow::PointKdTreeSearcher3, CubbyFlow::VectorGrid2, and CubbyFlow::VectorGrid3.
◆ Serialize()
|
pure virtual |
Serializes this instance into the flat buffer.
Implemented in CubbyFlow::ParticleSystemData2, CubbyFlow::ParticleSystemData3, CubbyFlow::GridSystemData2, CubbyFlow::GridSystemData3, CubbyFlow::PointParallelHashGridSearcher3, CubbyFlow::PointParallelHashGridSearcher2, CubbyFlow::SPHSystemData2, CubbyFlow::SPHSystemData3, CubbyFlow::ScalarGrid2, CubbyFlow::ScalarGrid3, CubbyFlow::PointHashGridSearcher3, CubbyFlow::PointHashGridSearcher2, CubbyFlow::PointSimpleListSearcher2, CubbyFlow::PointSimpleListSearcher3, CubbyFlow::Grid3, CubbyFlow::PointKdTreeSearcher2, CubbyFlow::PointKdTreeSearcher3, CubbyFlow::VectorGrid2, and CubbyFlow::VectorGrid3.
The documentation for this class was generated from the following file:
- Core/Utils/Serialization.h