23 #ifndef STORAGE_MD_SUBDEVICE_H 24 #define STORAGE_MD_SUBDEVICE_H 29 #include "storage/Holders/Subdevice.h" 63 void set_member(
const std::string& member);
70 const Impl& get_impl()
const;
MdSubdevice * to_md_subdevice(Holder *holder)
Converts pointer to Holder to pointer to MdSubdevice.
static MdSubdevice * create(Devicegraph *devicegraph, const Device *source, const Device *target)
Create a holder of type MdSubdevice.
const std::string & get_member() const
The "member" string of the MdMember in the MdContainer.
The main container of the libstorage-ng.
Definition: Devicegraph.h:169
An abstract base class for storage devices.
Definition: Device.h:81
Generic holder from one device to a subdevice, e.g.
Definition: Subdevice.h:40
An abstract base class for storage holders.
Definition: Holder.h:56
Holder from a MdContainer to a MdMember.
Definition: MdSubdevice.h:40
The storage namespace.
Definition: Actiongraph.h:39
bool is_md_subdevice(const Holder *holder)
Checks whether holder points to an MdSubdevice.