IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
peak_common_iserializer.hpp
Go to the documentation of this file.
1
11#pragma once
12
13#include <ostream>
14
16
17namespace peak
18{
19namespace common
20{
21namespace serialization
22{
23
37{
38public:
39 virtual ~ISerializer() = default;
40
47 virtual void Write(const IArchive& archive, std::ostream& stream) = 0;
48};
49
50} // namespace serialization
51} // namespace common
52} // namespace peak
Interface for a hierarchical key-value archive system.
Interface for serializing data to an output stream.
virtual void Write(const IArchive &archive, std::ostream &stream)=0
Serializes data and writes it to the specified output stream.