StormByte C++ Library 0.0.9999
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
|
The class to serialize and deserialize data. More...
#include <serializable.hxx>
Public Member Functions | |
Serializable (const DecayedT &data) noexcept | |
The constructor of the Serializable class. | |
Serializable (const Serializable &other) noexcept=delete | |
The copy constructor of the Serializable class. | |
Serializable (Serializable &&other) noexcept=delete | |
The move constructor of the Serializable class. | |
~Serializable () noexcept=default | |
The destructor of the Serializable class. | |
Serializable & | operator= (const Serializable &other) noexcept=delete |
The assignment operator of the Serializable class. | |
Serializable & | operator= (Serializable &&other) noexcept=delete |
The move assignment operator of the Serializable class. | |
Buffer::Simple | Serialize () const noexcept |
The function to serialize the data. | |
Static Public Member Functions | |
static StormByte::Expected< T, Buffer::BufferOverflow > | Deserialize (const Buffer::Simple &data) noexcept |
The function to deserialize the data. | |
static std::size_t | Size (const DecayedT &data) noexcept |
The class to serialize and deserialize data.
T | The type of the data to serialize and deserialize. |
|
inlinenoexcept |
The constructor of the Serializable class.
data | The data to serialize. |
|
deletenoexcept |
The copy constructor of the Serializable class.
other | The other Serializable to copy. |
|
deletenoexcept |
The move constructor of the Serializable class.
other | The other Serializable to move. |
|
inlinestaticnoexcept |
The function to deserialize the data.
data | The data to deserialize. |
|
deletenoexcept |
The assignment operator of the Serializable class.
other | The other Serializable to assign. |
|
deletenoexcept |
The move assignment operator of the Serializable class.
other | The other Serializable to assign. |
|
inlinenoexcept |
The function to serialize the data.
data | The data to serialize. |