23 #ifndef STORAGE_BTRFS_QGROUP_RELATION_H 24 #define STORAGE_BTRFS_QGROUP_RELATION_H 27 #include "storage/Holders/Holder.h" 71 const Impl& get_impl()
const;
Class to represent a btrfs filesystem https://en.wikipedia.org/wiki/Btrfs in the devicegraph.
Definition: Btrfs.h:79
BtrfsQgroupRelation * to_btrfs_qgroup_relation(Holder *holder)
Converts pointer to Holder to pointer to BtrfsQgroupRelation.
static BtrfsQgroupRelation * create(Devicegraph *devicegraph, const Device *source, const Device *target)
Create a holder of type BtrfsQgroupRelation.
The main container of the libstorage-ng.
Definition: Devicegraph.h:169
Relation between btrfs quota groups.
Definition: BtrfsQgroupRelation.h:43
An abstract base class for storage devices.
Definition: Device.h:81
An abstract base class for storage holders.
Definition: Holder.h:56
bool is_btrfs_qgroup_relation(const Holder *holder)
Checks whether holder points to a BtrfsQgroupRelation.
The storage namespace.
Definition: Actiongraph.h:39
const Btrfs * get_btrfs() const
Get the btrfs the relation belongs to.