IDS peak IPL v1.18.0
Loading...
Searching...
No Matches
peak_common_ideserializer.hpp
Go to the documentation of this file.
1
5
6#pragma once
7
9
10#include <istream>
11#include <memory>
12
13namespace peak
14{
15namespace common
16{
17namespace serialization
18{
19
27{
28public:
29 virtual ~IDeserializer() = default;
30
43 PEAK_COMMON_NO_DISCARD virtual std::shared_ptr<IArchive> Read(std::istream& stream) = 0;
44};
45
46} // namespace serialization
47} // namespace common
48} // namespace peak
Interface for deserializing structured data from an input stream into an archive.
Definition peak_common_ideserializer.hpp:27
virtual PEAK_COMMON_NO_DISCARD std::shared_ptr< IArchive > Read(std::istream &stream)=0
Deserializes data from the specified input stream into an archive.
Interfaces for defining serialization and deserialization behavior.
Definition peak_common_iarchive.hpp:40
Root namespace for common types and interfaces shared across multiple libraries.
Definition peak_common_math.hpp:17
#define PEAK_COMMON_NO_DISCARD
Definition peak_common_defines.h:89