28#include "storage/Devices/PartitionTable.h"
73 const Impl& get_impl()
const;
75 virtual Gpt* clone()
const override;
An abstract base class for storage devices.
Definition Device.h:82
The main container of the libstorage-ng.
Definition Devicegraph.h:170
static std::vector< Gpt * > get_all(Devicegraph *devicegraph)
Get all GPTs.
bool is_pmbr_boot() const
Query the protective MBR boot flag.
static std::vector< const Gpt * > get_all(const Devicegraph *devicegraph)
Get all GPTs.
void set_pmbr_boot(bool pmbr_boot)
Set the protective MBR boot flag.
static Gpt * create(Devicegraph *devicegraph)
Create a device of type Gpt.
Definition PartitionTable.h:88
The storage namespace.
Definition Actiongraph.h:40
bool is_gpt(const Device *device)
Checks whether device points to a Gpt.
Gpt * to_gpt(Device *device)
Converts pointer to Device to pointer to Gpt.