28#include "storage/Holders/Holder.h"
40 class User :
public Holder
55 static User* load(
Devicegraph* devicegraph,
const xmlNode* node);
57 virtual User* clone()
const override;
64 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
Generic holder from one device to another device, e.g.
Definition User.h:41
static User * create(Devicegraph *devicegraph, const Device *source, const Device *target)
Create a holder of type User.
The storage namespace.
Definition Actiongraph.h:40
User * to_user(Holder *holder)
Converts pointer to Holder to pointer to User.
bool is_user(const Holder *holder)
Checks whether holder points to an User.