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

#include <DiskImageUtils.hh>

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

Classes

struct  AttribValue
 

Public Types

enum class  Attrib : uint8_t {
  REGULAR = 0x00 , READONLY = 0x01 , HIDDEN = 0x02 , SYSTEM = 0x04 ,
  VOLUME = 0x08 , DIRECTORY = 0x10 , ARCHIVE = 0x20
}
 

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 62 of file DiskImageUtils.hh.

Member Enumeration Documentation

◆ Attrib

enum class openmsx::MSXDirEntry::Attrib : uint8_t
strong
Enumerator
REGULAR 
READONLY 
HIDDEN 
SYSTEM 
VOLUME 
DIRECTORY 
ARCHIVE 

Definition at line 63 of file DiskImageUtils.hh.

Member Function Documentation

◆ base()

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

Definition at line 92 of file DiskImageUtils.hh.

References filename.

◆ ext()

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

Definition at line 93 of file DiskImageUtils.hh.

References filename.

◆ operator==()

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

Member Data Documentation

◆ attrib

AttribValue openmsx::MSXDirEntry::attrib

Definition at line 85 of file DiskImageUtils.hh.

◆ date

Endian::L16 openmsx::MSXDirEntry::date

Definition at line 88 of file DiskImageUtils.hh.

◆ filename

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

Definition at line 84 of file DiskImageUtils.hh.

Referenced by base(), and ext().

◆ reserved

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

Definition at line 86 of file DiskImageUtils.hh.

◆ size

Endian::L32 openmsx::MSXDirEntry::size

Definition at line 90 of file DiskImageUtils.hh.

◆ startCluster

Endian::L16 openmsx::MSXDirEntry::startCluster

Definition at line 89 of file DiskImageUtils.hh.

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

◆ time

Endian::L16 openmsx::MSXDirEntry::time

Definition at line 87 of file DiskImageUtils.hh.


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