Storage::Partition::FullType Struct Reference

Express both partition type and subtype together. More...

#include <Partition.h>

Collaboration diagram for Storage::Partition::FullType:

Public Member Functions

constexpr FullType ()
 
constexpr FullType (Type type, uint8_t subtype)
 
 operator bool () const
 
template<typename T >
constexpr FullType (T subType)
 
bool operator== (const FullType &other) const
 
bool operator!= (const FullType &other) const
 
constexpr uint16_t value () const
 
 operator String () const
 

Public Attributes

Type type
 
uint8_t subtype
 

Detailed Description

Express both partition type and subtype together.

Constructor & Destructor Documentation

◆ FullType() [1/3]

constexpr Storage::Partition::FullType::FullType ( )
inlineconstexpr

◆ FullType() [2/3]

constexpr Storage::Partition::FullType::FullType ( Type  type,
uint8_t  subtype 
)
inlineconstexpr

◆ FullType() [3/3]

template<typename T >
constexpr Storage::Partition::FullType::FullType ( subType)
inlineconstexpr

Member Function Documentation

◆ operator bool()

Storage::Partition::FullType::operator bool ( ) const
inlineexplicit

◆ operator String()

Storage::Partition::FullType::operator String ( ) const

◆ operator!=()

bool Storage::Partition::FullType::operator!= ( const FullType other) const
inline

◆ operator==()

bool Storage::Partition::FullType::operator== ( const FullType other) const
inline

◆ value()

constexpr uint16_t Storage::Partition::FullType::value ( ) const
inlineconstexpr

Member Data Documentation

◆ subtype

uint8_t Storage::Partition::FullType::subtype

◆ type

Type Storage::Partition::FullType::type

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