IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
ISerializable Class Reference
Inheritance diagram for ISerializable:

Public Member Functions

None serialize (self, IArchive archive)
 Serializes the current object into the provided archive.
 
None deserialize (self, IArchive archive)
 Deserializes the object's state from the provided archive.
 

Detailed Description

Interface for objects that can be serialized to and deserialized from an archive.

Classes implementing this interface provide mechanisms to convert their internal state into a portable form using an IArchive, and restore it later from the same archive.

Since
ids_peak_common 1.1

Definition at line 6 of file iserializable.py.

Member Function Documentation

◆ deserialize()

None deserialize ( self,
IArchive archive )

Deserializes the object's state from the provided archive.

This method reads data from the given IArchive and reconstructs the internal state of the object.

Parameters
archiveThe archive from which to read the object's data.
Since
ids_peak_common 1.1

Definition at line 36 of file iserializable.py.

◆ serialize()

None serialize ( self,
IArchive archive )

Serializes the current object into the provided archive.

This method writes the internal state of the object into the given IArchive so that it can later be reconstructed using :meth:deserialize.

Parameters
archiveThe archive to which the object data will be written.
Since
ids_peak_common 1.1

Definition at line 20 of file iserializable.py.