23 #ifndef STORAGE_STRAY_BLK_DEVICE_H 24 #define STORAGE_STRAY_BLK_DEVICE_H 27 #include "storage/Devices/BlkDevice.h" 70 unsigned long long size);
102 const Impl& get_impl()
const;
A start/length pair with a block size.
Definition: Region.h:84
The main container of the libstorage-ng.
Definition: Devicegraph.h:169
An abstract Block Device.
Definition: BlkDevice.h:48
An abstract base class for storage devices.
Definition: Device.h:81
StrayBlkDevice * to_stray_blk_device(Device *device)
Converts pointer to Device to pointer to StrayBlkDevice.
static StrayBlkDevice * create(Devicegraph *devicegraph, const std::string &name)
Create a device of type StrayBlkDevice.
static StrayBlkDevice * find_by_name(Devicegraph *devicegraph, const std::string &name)
Find a StrayBlkDevice by its name.
The storage namespace.
Definition: Actiongraph.h:38
static std::vector< StrayBlkDevice * > get_all(Devicegraph *devicegraph)
Get all StrayBlkDevices.
This class represents stray block devices.
Definition: StrayBlkDevice.h:48
bool is_stray_blk_device(const Device *device)
Checks whether device points to a StrayBlkDevice.