![]() |
IDS peak ICV v1.0.0
|
#include <peak_icv/serialization/peak_icv_serializer.hpp>


Public Member Functions | |
| Serializer (SerializationType type=SerializationType::Json) | |
| Constructor with archive and serialization type. | |
| void | Write (const peak::common::serialization::IArchive &archive, std::ostream &stream) override |
| Writes the serialized archive data to an output stream. | |
A serializer that serializes IArchive objects.
Definition at line 35 of file peak_icv_serializer.hpp.
|
inlineexplicit |
Constructor with archive and serialization type.
Constructs a Serializer with the specified IArchive object and serialization type. The archive will be serialized using the specified format when Write() is called. Default is JSON serialization if no other type is specified.
| type | The serialization type to use as output format (defaults to SerializationType::Json) |
Definition at line 67 of file peak_icv_serializer.hpp.
|
inlineoverridevirtual |
Writes the serialized archive data to an output stream.
Serializes the IArchive object into the configured format (specified during construction) and writes the result to the provided output stream.
| archive | The archive which is written to stream. |
| stream | The output stream to write the serialized data to |
Implements ISerializer.
Definition at line 71 of file peak_icv_serializer.hpp.