IDS peak ICV v1.2.0
Loading...
Searching...
No Matches
peak_common_ideserializer.hpp
Go to the documentation of this file.
1
11#pragma once
12
14
15#include <istream>
16#include <memory>
17
18namespace peak
19{
20namespace common
21{
22namespace serialization
23{
24
32{
33public:
34 virtual ~IDeserializer() = default;
35
48 PEAK_COMMON_NO_DISCARD virtual std::shared_ptr<IArchive> Read(std::istream& stream) = 0;
49};
50
51} // namespace serialization
52} // namespace common
53} // namespace peak
Interface for deserializing structured data from an input stream into an archive.
virtual std::shared_ptr< IArchive > Read(std::istream &stream)=0
Deserializes data from the specified input stream into an archive.