24 #ifndef STORAGE_USER_H 25 #define STORAGE_USER_H 28 #include "storage/Holders/Holder.h" 57 virtual User* clone()
const override;
64 const Impl& get_impl()
const;
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.
The main container of the libstorage-ng.
Definition: Devicegraph.h:169
An abstract base class for storage devices.
Definition: Device.h:81
static User * create(Devicegraph *devicegraph, const Device *source, const Device *target)
Create a holder of type User.
An abstract base class for storage holders.
Definition: Holder.h:56
Generic holder from one device to another device, e.g.
Definition: User.h:40
The storage namespace.
Definition: Actiongraph.h:39