23 #ifndef STORAGE_SWAP_H 24 #define STORAGE_SWAP_H 27 #include "storage/Filesystems/BlkFilesystem.h" 40 static std::vector<Swap*> get_all(
Devicegraph* devicegraph);
41 static std::vector<const Swap*> get_all(
const Devicegraph* devicegraph);
48 const Impl& get_impl()
const;
50 virtual Swap* clone()
const override;
59 bool is_swap(
const Device* device);
The master container of the libstorage.
Definition: Devicegraph.h:153
Definition: BlkFilesystem.h:42
Swap * to_swap(Device *device)
Converts pointer to Device to pointer to Swap.
An abstract base class of storage devices, and a vertex in the Devicegraph.
Definition: Device.h:75
The storage namespace.
Definition: Actiongraph.h:37