Storage::Disk::Scanner Class Reference

Class to iterate through disk partition tables. More...

#include <Scanner.h>

Public Member Functions

 Scanner (Device &device)
 
 ~Scanner ()
 
std::unique_ptr< PartInfonext ()
 Obtains the next partition entry (if any) More...
 
 operator bool () const
 

Detailed Description

Class to iterate through disk partition tables.

Supports MBR and GPT partitioning schemes.

Constructor & Destructor Documentation

◆ Scanner()

Storage::Disk::Scanner::Scanner ( Device device)

◆ ~Scanner()

Storage::Disk::Scanner::~Scanner ( )

Member Function Documentation

◆ next()

std::unique_ptr<PartInfo> Storage::Disk::Scanner::next ( )

Obtains the next partition entry (if any)

◆ operator bool()

Storage::Disk::Scanner::operator bool ( ) const
inlineexplicit

The documentation for this class was generated from the following file: