#include <peak_common/serialization/peak_common_iserializer.hpp>

Public Member Functions | |
| virtual | ~ISerializer ()=default |
| virtual void | Write (const IArchive &archive, std::ostream &stream)=0 |
| Serializes data and writes it to the specified output stream. | |
Interface for serializing data to an output stream.
This interface defines a contract for writing structured or binary data into an output stream.
Implementations of this interface are responsible for formatting and writing the contents of one or more archives to a given output destination.
|
virtualdefault |
|
pure virtual |
Serializes data and writes it to the specified output stream.
| archive | The archive which will be written to file. |
| stream | The output stream to which serialized data will be written. |
Implemented in Serializer.