openMSX
Public Member Functions | Public Attributes | Friends | List of all members
openmsx::MSXDirEntry::AttribValue Struct Reference

#include <DiskImageUtils.hh>

Public Member Functions

constexpr AttribValue ()=default
 
constexpr AttribValue (Attrib v)
 
constexpr AttribValue (uint8_t v)
 
constexpr operator bool () const
 
constexpr auto operator<=> (const AttribValue &) const =default
 

Public Attributes

uint8_t value
 

Friends

constexpr AttribValue operator| (AttribValue x, AttribValue y)
 
constexpr AttribValue operator& (AttribValue x, AttribValue y)
 

Detailed Description

Definition at line 72 of file DiskImageUtils.hh.

Constructor & Destructor Documentation

◆ AttribValue() [1/3]

constexpr openmsx::MSXDirEntry::AttribValue::AttribValue ( )
constexprdefault

◆ AttribValue() [2/3]

constexpr openmsx::MSXDirEntry::AttribValue::AttribValue ( Attrib  v)
inlineconstexpr

Definition at line 76 of file DiskImageUtils.hh.

◆ AttribValue() [3/3]

constexpr openmsx::MSXDirEntry::AttribValue::AttribValue ( uint8_t  v)
inlineexplicitconstexpr

Definition at line 77 of file DiskImageUtils.hh.

Member Function Documentation

◆ operator bool()

constexpr openmsx::MSXDirEntry::AttribValue::operator bool ( ) const
inlineexplicitconstexpr

Definition at line 78 of file DiskImageUtils.hh.

References value.

◆ operator<=>()

constexpr auto openmsx::MSXDirEntry::AttribValue::operator<=> ( const AttribValue ) const
constexprdefault

Friends And Related Symbol Documentation

◆ operator&

constexpr AttribValue operator& ( AttribValue  x,
AttribValue  y 
)
friend

Definition at line 81 of file DiskImageUtils.hh.

◆ operator|

constexpr AttribValue operator| ( AttribValue  x,
AttribValue  y 
)
friend

Definition at line 80 of file DiskImageUtils.hh.

Member Data Documentation

◆ value

uint8_t openmsx::MSXDirEntry::AttribValue::value

Definition at line 73 of file DiskImageUtils.hh.

Referenced by operator bool().


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