IDS peak ICV v1.1.0
Loading...
Searching...
No Matches
IDeserializer Class Referenceabstract

#include <peak_common/serialization/peak_common_ideserializer.hpp>

Inheritance diagram for IDeserializer:

Public Member Functions

virtual ~IDeserializer ()=default
 
virtual std::shared_ptr< IArchive > Read (std::istream &stream)=0
 Deserializes data from the specified input stream into an archive.
 

Detailed Description

Interface for deserializing structured data from an input stream into an archive.

Since
ids_peak_common 1.0

Definition at line 31 of file peak_common_ideserializer.hpp.

Constructor & Destructor Documentation

◆ ~IDeserializer()

virtual ~IDeserializer ( )
virtualdefault

Member Function Documentation

◆ Read()

virtual std::shared_ptr< IArchive > Read ( std::istream & stream)
pure virtual

Deserializes data from the specified input stream into an archive.

This function reads raw data from the provided std::istream and converts it into a structured IArchive object. The stream must be open, valid, and ready for reading before this function is called.

Parameters
streamThe input stream to read from. It should point to the beginning of a valid archive format.
Returns
A shared pointer to the deserialized IArchive.

Implemented in Deserializer.