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;
An abstract base class for storage devices.
Definition: Device.h:82
The main container of the libstorage-ng.
Definition: Devicegraph.h:170
An abstract base class for storage holders.
Definition: Holder.h:57
Holder from a MdContainer to a MdMember.
Definition: MdSubdevice.h:41
const std::string & get_member() const
The "member" string of the MdMember in the MdContainer.
static MdSubdevice * create(Devicegraph *devicegraph, const Device *source, const Device *target)
Create a holder of type MdSubdevice.
Generic holder from one device to a subdevice, e.g.
Definition: Subdevice.h:41
The storage namespace.
Definition: Actiongraph.h:40
bool is_md_subdevice(const Holder *holder)
Checks whether holder points to an MdSubdevice.
MdSubdevice * to_md_subdevice(Holder *holder)
Converts pointer to Holder to pointer to MdSubdevice.