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;
Relation between btrfs quota groups.
Definition: BtrfsQgroupRelation.h:44
static BtrfsQgroupRelation * create(Devicegraph *devicegraph, const Device *source, const Device *target)
Create a holder of type BtrfsQgroupRelation.
const Btrfs * get_btrfs() const
Get the btrfs the relation belongs to.
Class to represent a btrfs filesystem https://en.wikipedia.org/wiki/Btrfs in the devicegraph.
Definition: Btrfs.h:80
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
The storage namespace.
Definition: Actiongraph.h:39
BtrfsQgroupRelation * to_btrfs_qgroup_relation(Holder *holder)
Converts pointer to Holder to pointer to BtrfsQgroupRelation.
bool is_btrfs_qgroup_relation(const Holder *holder)
Checks whether holder points to a BtrfsQgroupRelation.