24#ifndef STORAGE_IMPLICIT_PT_H
25#define STORAGE_IMPLICIT_PT_H
28#include "storage/Devices/PartitionTable.h"
42 class ImplicitPt :
public PartitionTable
54 static ImplicitPt* load(
Devicegraph* devicegraph,
const xmlNode* node);
61 const Impl& get_impl()
const;
63 virtual ImplicitPt* clone()
const override;
72 ImplicitPt(Impl* impl);
An abstract base class for storage devices.
Definition Device.h:82
The main container of the libstorage-ng.
Definition Devicegraph.h:170
Class to represent implicit partition table.
Definition ImplicitPt.h:43
static ImplicitPt * create(Devicegraph *devicegraph)
Create a device of type ImplicitPt.
void create_implicit_partition()
Create the implicit partition.
The storage namespace.
Definition Actiongraph.h:40
bool is_implicit_pt(const Device *device)
Checks whether device points to a ImplicitPt.
ImplicitPt * to_implicit_pt(Device *device)
Converts pointer to Device to pointer to ImplicitPt.