Interface IArchive

All Known Subinterfaces:
IAlgorithm, IProbeState
All Known Implementing Classes:
BaseMatrix, BaseVector, BunchProbe, BunchProbeState, CovarianceMatrix, DiagnosticProbe, DiagnosticProbeState, DiagnosticTracker, ElsProbe, ElsTracker, EnergyVector, EnsembleProbe, EnsembleProbeState, EnsembleTracker, EnvelopeBacktracker, EnvelopeProbe, EnvelopeProbeState, EnvelopeTracker, EnvelopeTrackerBase, EnvelopeTrackerPmq, EnvelopeTrackerPmqDipole, EnvTrackerAdapt, FieldMapIntegrator, GenericMatrix, GenericSquareMatrix, GenericVector, ParticleProbe, ParticleProbeState, ParticleTracker, PhaseMap, PhaseMatrix, PhaseVector, Probe, ProbeState, R2x2, R3, R3x3, R4, R4x4, R6, R6x6, Rmxn, Rn, SquareMatrix, SynchronousProbe, SynchronousState, SynchronousTracker, Trace3dTracker, Tracker, TrackerAdaptive, Trajectory, TransferMapProbe, TransferMapState, TransferMapTracker, Twiss3D, TwissProbe, TwissProbeState, TwissTracker, TwissTrackerPmq

public interface IArchive
Interface for storing and restoring the state of an object via a data archive exposing the DataAdaptor interface.
Author:
Christopher Allen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    load(DataAdaptor daSource)
    Recover an object's state from an archived data source.
    void
    save(DataAdaptor daArchive)
    Save the state of the object to a data adaptor for later reconstruction.
  • Method Details

    • save

      void save(DataAdaptor daArchive)
      Save the state of the object to a data adaptor for later reconstruction.
      Parameters:
      daArchive - DataAdaptor interface to a data archive
    • load

      void load(DataAdaptor daSource) throws DataFormatException
      Recover an object's state from an archived data source.
      Parameters:
      daSource - DataAdaptor interface to a data source
      Throws:
      DataFormatException - data format of the adaptor is corrupt