23 #ifndef STORAGE_LVM_PV_H 24 #define STORAGE_LVM_PV_H 27 #include "storage/Devices/Device.h" 43 static std::vector<LvmPv*> get_all(
Devicegraph* devicegraph);
44 static std::vector<const LvmPv*> get_all(
const Devicegraph* devicegraph);
46 bool has_blk_device()
const;
50 bool has_lvm_vg()
const;
52 const LvmVg* get_lvm_vg()
const;
59 const Impl& get_impl()
const;
61 virtual LvmPv* clone()
const override;
70 bool is_lvm_pv(
const Device* device);
A Volume Group of the Logical Volume Manager (LVM).
Definition: LvmVg.h:59
The master container of the libstorage.
Definition: Devicegraph.h:153
An abstract Block Device.
Definition: BlkDevice.h:41
An abstract base class of storage devices, and a vertex in the Devicegraph.
Definition: Device.h:75
LvmPv * to_lvm_pv(Device *device)
Converts pointer to Device to pointer to LvmPv.
The storage namespace.
Definition: Actiongraph.h:37