CubbyFlow::Serializable Class Referenceabstract

Abstract base class for any serializable class. More...

#include <Core/Utils/Serialization.hpp>

Inheritance diagram for CubbyFlow::Serializable:
CubbyFlow::Grid< N > CubbyFlow::GridSystemData< N > CubbyFlow::ParticleSystemData< N > CubbyFlow::PointNeighborSearcher< N > CubbyFlow::ScalarGrid< N > CubbyFlow::VectorGrid< N > CubbyFlow::SPHSystemData< N > CubbyFlow::PointHashGridSearcher< N > CubbyFlow::PointKdTreeSearcher< N > CubbyFlow::PointParallelHashGridSearcher< N > CubbyFlow::PointSimpleListSearcher< N > CubbyFlow::CellCenteredScalarGrid< N > CubbyFlow::VertexCenteredScalarGrid< N > CubbyFlow::CollocatedVectorGrid< N > CubbyFlow::FaceCenteredGrid< N > CubbyFlow::CellCenteredVectorGrid< N > CubbyFlow::VertexCenteredVectorGrid< N >

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...
 
Serializableoperator= (const Serializable &)=default
 Default copy assignment operator. More...
 
Serializableoperator= (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]

CubbyFlow::Serializable::Serializable ( )
default

Default constructor.

◆ Serializable() [2/3]

CubbyFlow::Serializable::Serializable ( const Serializable )
default

Default copy constructor.

◆ Serializable() [3/3]

CubbyFlow::Serializable::Serializable ( Serializable &&  )
defaultnoexcept

Default move constructor.

◆ ~Serializable()

virtual CubbyFlow::Serializable::~Serializable ( )
virtualdefault

Default virtual destructor.

Member Function Documentation

◆ Deserialize()

◆ operator=() [1/2]

Serializable& CubbyFlow::Serializable::operator= ( const Serializable )
default

Default copy assignment operator.

◆ operator=() [2/2]

Serializable& CubbyFlow::Serializable::operator= ( Serializable &&  )
defaultnoexcept

Default move assignment operator.

◆ Serialize()


The documentation for this class was generated from the following file: