IDS peak AFL v2.1.0
Loading...
Searching...
No Matches
peak_common_iserializable.hpp
Go to the documentation of this file.
1
5
6#pragma once
7
9
10namespace peak
11{
12namespace common
13{
14namespace serialization
15{
26{
27public:
28 virtual ~ISerializable() = default;
29
38 virtual void Serialize(IArchive& archive) const = 0;
39
48 virtual void Deserialize(const IArchive& archive) = 0;
49};
50
51} // namespace serialization
52} // namespace common
53} // namespace peak
Interface for a hierarchical key-value archive system.
Definition peak_common_iarchive.hpp:54
Interface for objects that can be serialized to and deserialized from an archive.
Definition peak_common_iserializable.hpp:26
virtual void Deserialize(const IArchive &archive)=0
Deserializes the object's state from the provided archive.
virtual void Serialize(IArchive &archive) const =0
Serializes the current object into the provided 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