Storage::Iterator Class Reference

#include <Iterator.h>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = Partition
 
using difference_type = std::ptrdiff_t
 
using pointer = Partition *
 
using reference = Partition &
 

Public Member Functions

 Iterator (Device &device)
 
 Iterator (Device &device, Partition::Type type, uint8_t subtype)
 
 Iterator (Partition::Type type, uint8_t subtype)
 
 operator bool () const
 
Iterator operator++ (int)
 
Iteratoroperator++ ()
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 
Partition operator* () const
 
Iterator begin ()
 
Iterator end ()
 

Member Typedef Documentation

◆ difference_type

using Storage::Iterator::difference_type = std::ptrdiff_t

◆ iterator_category

using Storage::Iterator::iterator_category = std::forward_iterator_tag

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ Iterator() [1/3]

Storage::Iterator::Iterator ( Device device)
inline

◆ Iterator() [2/3]

Storage::Iterator::Iterator ( Device device,
Partition::Type  type,
uint8_t  subtype 
)
inline

◆ Iterator() [3/3]

Storage::Iterator::Iterator ( Partition::Type  type,
uint8_t  subtype 
)

Member Function Documentation

◆ begin()

Iterator Storage::Iterator::begin ( )
inline

◆ end()

Iterator Storage::Iterator::end ( )
inline

◆ operator bool()

Storage::Iterator::operator bool ( ) const
inlineexplicit

◆ operator!=()

bool Storage::Iterator::operator!= ( const Iterator other) const
inline

◆ operator*()

Partition Storage::Iterator::operator* ( ) const
inline

◆ operator++() [1/2]

Iterator& Storage::Iterator::operator++ ( )
inline

◆ operator++() [2/2]

Iterator Storage::Iterator::operator++ ( int  )
inline

◆ operator==()

bool Storage::Iterator::operator== ( const Iterator other) const
inline

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