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

#include <DiskImageUtils.hh>

Collaboration diagram for openmsx::MSXDirEntry:
Collaboration graph
[legend]

Public Member Functions

auto base () const
 
auto ext () const
 
bool operator== (const MSXDirEntry &other) const =default
 

Public Attributes

std::array< char, 8+3 > filename
 
uint8_t attrib
 
std::array< uint8_t, 10 > reserved
 
Endian::L16 time
 
Endian::L16 date
 
Endian::L16 startCluster
 
Endian::L32 size
 

Static Public Attributes

static constexpr uint8_t ATT_REGULAR = 0x00
 
static constexpr uint8_t ATT_READONLY = 0x01
 
static constexpr uint8_t ATT_HIDDEN = 0x02
 
static constexpr uint8_t ATT_SYSTEM = 0x04
 
static constexpr uint8_t ATT_VOLUME = 0x08
 
static constexpr uint8_t ATT_DIRECTORY = 0x10
 
static constexpr uint8_t ATT_ARCHIVE = 0x20
 

Detailed Description

Definition at line 34 of file DiskImageUtils.hh.

Member Function Documentation

◆ base()

auto openmsx::MSXDirEntry::base ( ) const
inline

Definition at line 51 of file DiskImageUtils.hh.

References filename.

◆ ext()

auto openmsx::MSXDirEntry::ext ( ) const
inline

Definition at line 52 of file DiskImageUtils.hh.

References filename.

◆ operator==()

bool openmsx::MSXDirEntry::operator== ( const MSXDirEntry other) const
default

Member Data Documentation

◆ ATT_ARCHIVE

constexpr uint8_t openmsx::MSXDirEntry::ATT_ARCHIVE = 0x20
staticconstexpr

Definition at line 41 of file DiskImageUtils.hh.

◆ ATT_DIRECTORY

constexpr uint8_t openmsx::MSXDirEntry::ATT_DIRECTORY = 0x10
staticconstexpr

Definition at line 40 of file DiskImageUtils.hh.

◆ ATT_HIDDEN

constexpr uint8_t openmsx::MSXDirEntry::ATT_HIDDEN = 0x02
staticconstexpr

Definition at line 37 of file DiskImageUtils.hh.

◆ ATT_READONLY

constexpr uint8_t openmsx::MSXDirEntry::ATT_READONLY = 0x01
staticconstexpr

Definition at line 36 of file DiskImageUtils.hh.

◆ ATT_REGULAR

constexpr uint8_t openmsx::MSXDirEntry::ATT_REGULAR = 0x00
staticconstexpr

Definition at line 35 of file DiskImageUtils.hh.

◆ ATT_SYSTEM

constexpr uint8_t openmsx::MSXDirEntry::ATT_SYSTEM = 0x04
staticconstexpr

Definition at line 38 of file DiskImageUtils.hh.

◆ ATT_VOLUME

constexpr uint8_t openmsx::MSXDirEntry::ATT_VOLUME = 0x08
staticconstexpr

Definition at line 39 of file DiskImageUtils.hh.

◆ attrib

uint8_t openmsx::MSXDirEntry::attrib

Definition at line 44 of file DiskImageUtils.hh.

◆ date

Endian::L16 openmsx::MSXDirEntry::date

Definition at line 47 of file DiskImageUtils.hh.

◆ filename

std::array<char, 8 + 3> openmsx::MSXDirEntry::filename

Definition at line 43 of file DiskImageUtils.hh.

Referenced by base(), and ext().

◆ reserved

std::array<uint8_t, 10> openmsx::MSXDirEntry::reserved

Definition at line 45 of file DiskImageUtils.hh.

◆ size

Endian::L32 openmsx::MSXDirEntry::size

Definition at line 49 of file DiskImageUtils.hh.

◆ startCluster

Endian::L16 openmsx::MSXDirEntry::startCluster

Definition at line 48 of file DiskImageUtils.hh.

Referenced by openmsx::DirEntryForCluster::onDirEntry().

◆ time

Endian::L16 openmsx::MSXDirEntry::time

Definition at line 46 of file DiskImageUtils.hh.


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