Abstract base class for any serializable class. More...
#include <Core/Utils/Serialization.hpp>
 
  
 | Public Member Functions | |
| Serializable ()=default | |
| Default constructor.  More... | |
| Serializable (const Serializable &)=default | |
| Default copy constructor.  More... | |
| Serializable (Serializable &&) noexcept=default | |
| Default move constructor.  More... | |
| virtual | ~Serializable ()=default | 
| Default virtual destructor.  More... | |
| Serializable & | operator= (const Serializable &)=default | 
| Default copy assignment operator.  More... | |
| Serializable & | operator= (Serializable &&) noexcept=default | 
| Default move assignment operator.  More... | |
| 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.
Constructor & Destructor Documentation
◆ Serializable() [1/3]
| 
 | default | 
Default constructor.
◆ Serializable() [2/3]
| 
 | default | 
Default copy constructor.
◆ Serializable() [3/3]
| 
 | defaultnoexcept | 
Default move constructor.
◆ ~Serializable()
| 
 | virtualdefault | 
Default virtual destructor.
Member Function Documentation
◆ Deserialize()
| 
 | pure virtual | 
Deserializes this instance from the flat buffer.
Implemented in CubbyFlow::GridSystemData< N >, CubbyFlow::ScalarGrid< N >, CubbyFlow::ParticleSystemData< N >, CubbyFlow::SPHSystemData< N >, CubbyFlow::PointParallelHashGridSearcher< N >, CubbyFlow::PointHashGridSearcher< N >, CubbyFlow::PointSimpleListSearcher< N >, CubbyFlow::PointKdTreeSearcher< N >, and CubbyFlow::VectorGrid< N >.
◆ operator=() [1/2]
| 
 | default | 
Default copy assignment operator.
◆ operator=() [2/2]
| 
 | defaultnoexcept | 
Default move assignment operator.
◆ Serialize()
| 
 | pure virtual | 
Serializes this instance into the flat buffer.
Implemented in CubbyFlow::GridSystemData< N >, CubbyFlow::ScalarGrid< N >, CubbyFlow::ParticleSystemData< N >, CubbyFlow::SPHSystemData< N >, CubbyFlow::PointParallelHashGridSearcher< N >, CubbyFlow::PointHashGridSearcher< N >, CubbyFlow::PointSimpleListSearcher< N >, CubbyFlow::PointKdTreeSearcher< N >, and CubbyFlow::VectorGrid< N >.
The documentation for this class was generated from the following file:
- Core/Utils/Serialization.hpp
 1.8.13
 1.8.13