24#ifndef STORAGE_DASD_PT_H
25#define STORAGE_DASD_PT_H
28#include "storage/Devices/PartitionTable.h"
34 class DasdPt :
public PartitionTable
46 static DasdPt* load(
Devicegraph* devicegraph,
const xmlNode* node);
53 const Impl& get_impl()
const;
55 virtual DasdPt* clone()
const override;
static DasdPt * create(Devicegraph *devicegraph)
Create a device of type DasdPt.
An abstract base class for storage devices.
Definition Device.h:82
The main container of the libstorage-ng.
Definition Devicegraph.h:170
The storage namespace.
Definition Actiongraph.h:40
bool is_dasd_pt(const Device *device)
Checks whether device points to a DasdPt.
DasdPt * to_dasd_pt(Device *device)
Converts pointer to Device to pointer to DasdPt.