23 #ifndef STORAGE_SNAPSHOT_H 24 #define STORAGE_SNAPSHOT_H 27 #include "storage/Holders/Holder.h" 57 virtual Snapshot* clone()
const override;
64 const Impl& get_impl()
const;
bool is_snapshot(const Holder *holder)
Checks whether holder points to a Snapshot.
static Snapshot * create(Devicegraph *devicegraph, const Device *source, const Device *target)
Create a holder of type Snapshot.
The main container of the libstorage-ng.
Definition: Devicegraph.h:169
An abstract base class for storage devices.
Definition: Device.h:81
An abstract base class for storage holders.
Definition: Holder.h:56
Relationship between origin and snapshot.
Definition: Snapshot.h:41
The storage namespace.
Definition: Actiongraph.h:38
Snapshot * to_snapshot(Holder *holder)
Converts pointer to Holder to pointer to Snapshot.