libstorage-ng
|
Holder from a MdContainer to a MdMember. More...
#include <MdSubdevice.h>
Public Member Functions | |
virtual MdSubdevice * | clone () const override |
const std::string & | get_member () const |
The "member" string of the MdMember in the MdContainer. | |
void | set_member (const std::string &member) |
Impl & | get_impl () |
const Impl & | get_impl () const |
![]() | |
Impl & | get_impl () |
const Impl & | get_impl () const |
![]() | |
Device * | get_source () |
const Device * | get_source () const |
sid_t | get_source_sid () const |
Device * | get_target () |
const Device * | get_target () const |
sid_t | get_target_sid () const |
bool | operator== (const Holder &rhs) const |
bool | operator!= (const Holder &rhs) const |
Holder * | copy_to_devicegraph (Devicegraph *devicegraph) const |
Copies the holder to the devicegraph. More... | |
Impl & | get_impl () |
const Impl & | get_impl () const |
void | save (xmlNode *node) const |
Static Public Member Functions | |
static MdSubdevice * | create (Devicegraph *devicegraph, const Device *source, const Device *target) |
static MdSubdevice * | load (Devicegraph *devicegraph, const xmlNode *node) |
![]() | |
static Subdevice * | create (Devicegraph *devicegraph, const Device *source, const Device *target) |
static Subdevice * | load (Devicegraph *devicegraph, const xmlNode *node) |
Protected Member Functions | |
MdSubdevice (Impl *impl) | |
![]() | |
Subdevice (Impl *impl) | |
![]() | |
Holder (Impl *impl) | |
void | create (Devicegraph *devicegraph, const Device *source, const Device *target) |
void | load (Devicegraph *devicegraph, const xmlNode *node) |
Holder from a MdContainer to a MdMember.