IDS peak AFL v2.0.1
Loading...
Searching...
No Matches
peak_common_iserializable.hpp
Go to the documentation of this file.
1
10
11#pragma once
12
14
15namespace peak
16{
17namespace common
18{
19namespace serialization
20{
31{
32public:
33 virtual ~ISerializable() = default;
34
43 virtual void Serialize(IArchive& archive) const = 0;
44
53 virtual void Deserialize(const IArchive& archive) = 0;
54};
55
56} // namespace serialization
57} // namespace common
58} // namespace peak
Interface for a hierarchical key-value archive system.
Definition peak_common_iarchive.hpp:59
Interface for objects that can be serialized to and deserialized from an archive.
Definition peak_common_iserializable.hpp:31
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:45
Root namespace for common types and interfaces shared across multiple libraries.
Definition peak_common_math.hpp:22