IDS peak AFL v2.0.2
Loading...
Searching...
No Matches
ISerializer Class Referenceabstract

Interface for serializing data to an output stream. More...

#include <peak_common/serialization/peak_common_iserializer.hpp>

Public Member Functions

virtual void Write (const IArchive &archive, std::ostream &stream)=0
 Serializes data and writes it to the specified output stream.

Detailed Description

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.

Since
ids_peak_common 1.0

Member Function Documentation

◆ Write()

virtual void Write ( const IArchive & archive,
std::ostream & stream )
pure virtual

Serializes data and writes it to the specified output stream.

Parameters
archiveThe archive which will be written to file.
streamThe output stream to which serialized data will be written.

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