Storage::Disk::MBR::PartitionTable Class Reference
#include <MBR.h>
Inheritance diagram for Storage::Disk::MBR::PartitionTable:
Collaboration diagram for Storage::Disk::MBR::PartitionTable:
Additional Inherited Members | |
![]() | |
using | Iterator = typename LinkedObjectTemplate< ObjectType >::template IteratorTemplate< ObjectType, ObjectType *, ObjectType & > |
using | ConstIterator = typename LinkedObjectTemplate< ObjectType >::template IteratorTemplate< const ObjectType, const ObjectType *, const ObjectType & > |
![]() | |
LinkedObject * | mHead {nullptr} |
Member Function Documentation
◆ add()
|
inline |
Add a new MBR partition definition.
- Parameters
-
sysType Intended content for this partition (or 'unknown') SysIndicator Appropriate system code SI_xxx offset Start offset, or 0 to have position calculated size Size of partition (in bytes), or percentage (0-100) of total partitionable disk space flags
- Return values
-
bool true on success
- Note
- MBR does not have partition name field; this will appear as 'mbr1', 'mbr2', etc.
The documentation for this class was generated from the following file: