class Repository : public RefCountedObject
Collection of snapshots used in report generation.
A Repository is a collection of Snapshots. The repository defines the set of snapshots included in a report generation. There are three types of snapshots; Images (for instance a snapshot of the model or a plot), table data and 3D models. See Snapshot for further descriptions on the different snapshot types.
Creates an empty repository.
size_t snapshotCount() const
Returns the number of snapshots in this repository.
bool removeSnapshot(size_t index)
Removes the snapshot at the give index in the repository.
Removes all snapshots from the repository.