Storage::Partition::Info Struct Reference

Partition information. More...

#include <Partition.h>

Inheritance diagram for Storage::Partition::Info:
Collaboration diagram for Storage::Partition::Info:

Public Types

using OwnedList = OwnedLinkedObjectListTemplate< Info >
 
- Public Types inherited from LinkedObjectTemplate< Info >
using Iterator = IteratorTemplate< Info, Info *, Info & >
 
using ConstIterator = IteratorTemplate< const Info, const Info *, const Info & >
 

Public Member Functions

 Info ()
 
 Info (const String &name, FullType fullType, storage_size_t offset, storage_size_t size, Flags flags=0)
 
FullType fullType () const
 
bool match (Type type, uint8_t subType) const
 
virtual const Disk::DiskPartdiskpart () const
 
size_t printTo (Print &p) const override
 
- Public Member Functions inherited from LinkedObjectTemplate< Info >
Info * getNext () const
 
bool insertAfter (Info *object)
 
Iterator begin () const
 
Iterator end () const
 
Iterator cbegin () const
 
Iterator cend () const
 
- Public Member Functions inherited from LinkedObject
virtual ~LinkedObject ()
 
virtual LinkedObjectnext () const
 
bool insertAfter (LinkedObject *object)
 
bool operator== (const LinkedObject &other) const
 
bool operator!= (const LinkedObject &other) const
 
- Public Member Functions inherited from Printable
virtual ~Printable ()
 

Public Attributes

CString name
 
storage_size_t offset {0}
 
storage_size_t size {0}
 
Type type {Type::invalid}
 
uint8_t subtype {SubType::invalid}
 
Flags flags
 

Detailed Description

Partition information.

Member Typedef Documentation

◆ OwnedList

Constructor & Destructor Documentation

◆ Info() [1/2]

Storage::Partition::Info::Info ( )
inline

◆ Info() [2/2]

Storage::Partition::Info::Info ( const String name,
FullType  fullType,
storage_size_t  offset,
storage_size_t  size,
Flags  flags = 0 
)
inline

Member Function Documentation

◆ diskpart()

virtual const Disk::DiskPart* Storage::Partition::Info::diskpart ( ) const
inlinevirtual

Reimplemented in Storage::Disk::PartInfo.

◆ fullType()

FullType Storage::Partition::Info::fullType ( ) const
inline

◆ match()

bool Storage::Partition::Info::match ( Type  type,
uint8_t  subType 
) const
inline

◆ printTo()

size_t Storage::Partition::Info::printTo ( Print p) const
overridevirtual

Implements Printable.

Reimplemented in Storage::Disk::PartInfo.

Member Data Documentation

◆ flags

Flags Storage::Partition::Info::flags

◆ name

CString Storage::Partition::Info::name

◆ offset

storage_size_t Storage::Partition::Info::offset {0}

◆ size

storage_size_t Storage::Partition::Info::size {0}

◆ subtype

uint8_t Storage::Partition::Info::subtype {SubType::invalid}

◆ type

Type Storage::Partition::Info::type {Type::invalid}

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