Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IDBMemento.h File Reference

Interface for snapshotting and restoring BlockAccessor states. More...

#include <cstddef>
#include <memory>
#include "BlockAccessor.h"
Include dependency graph for IDBMemento.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IDBMemento
 Abstract interface for memento-like management of BlockAccessor states. More...
 

Detailed Description

Interface for snapshotting and restoring BlockAccessor states.

This header declares the IDBMemento interface, which provides a generic API for:

  • taking snapshots of a BlockAccessor (parameter blocks),
  • restoring one or more steps back in the snapshot history,
  • inspecting stored snapshots.

Concrete implementations (e.g. DBMemento) decide how snapshots are stored in memory (stack, ring buffer, etc.).

Definition in file IDBMemento.h.