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