openMSX
Classes | Public Member Functions | List of all members
openmsx::MSXtar Class Reference

#include <MSXtar.hh>

Public Member Functions

 MSXtar (SectorAccessibleDisk &disk, const MsxChar2Unicode &msxChars_)
 
 MSXtar (MSXtar &&other) noexcept
 
 ~MSXtar ()
 
void chdir (std::string_view newRootDir)
 
void mkdir (std::string_view newRootDir)
 
std::string dir ()
 
std::string addFile (const std::string &filename)
 
std::string addDir (std::string_view rootDirName)
 
std::string getItemFromDir (std::string_view rootDirName, std::string_view itemName)
 
void getDir (std::string_view rootDirName)
 

Detailed Description

Definition at line 41 of file MSXtar.hh.

Constructor & Destructor Documentation

◆ MSXtar() [1/2]

openmsx::MSXtar::MSXtar ( SectorAccessibleDisk disk,
const MsxChar2Unicode msxChars_ 
)
explicit

◆ MSXtar() [2/2]

openmsx::MSXtar::MSXtar ( MSXtar &&  other)
noexcept

Definition at line 220 of file MSXtar.cc.

◆ ~MSXtar()

openmsx::MSXtar::~MSXtar ( )

Definition at line 238 of file MSXtar.cc.

References openmsx::SectorAccessibleDisk::writeSector(), and xrange().

Member Function Documentation

◆ addDir()

string openmsx::MSXtar::addDir ( std::string_view  rootDirName)

Definition at line 1012 of file MSXtar.cc.

◆ addFile()

string openmsx::MSXtar::addFile ( const std::string &  filename)

Definition at line 1017 of file MSXtar.cc.

◆ chdir()

void openmsx::MSXtar::chdir ( std::string_view  newRootDir)

Definition at line 872 of file MSXtar.cc.

◆ dir()

string openmsx::MSXtar::dir ( )

Definition at line 839 of file MSXtar.cc.

References openmsx::SectorBuffer::dirEntry.

◆ getDir()

void openmsx::MSXtar::getDir ( std::string_view  rootDirName)

Definition at line 1027 of file MSXtar.cc.

◆ getItemFromDir()

string openmsx::MSXtar::getItemFromDir ( std::string_view  rootDirName,
std::string_view  itemName 
)

Definition at line 1022 of file MSXtar.cc.

◆ mkdir()

void openmsx::MSXtar::mkdir ( std::string_view  newRootDir)

Definition at line 877 of file MSXtar.cc.


The documentation for this class was generated from the following files: