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

#include <MSXtar.hh>

Public Member Functions

 MSXtar (SectorAccessibleDisk &disk)
 
 MSXtar (MSXtar &&other)
 
 ~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 19 of file MSXtar.hh.

Constructor & Destructor Documentation

◆ MSXtar() [1/2]

openmsx::MSXtar::MSXtar ( SectorAccessibleDisk disk)
explicit

◆ MSXtar() [2/2]

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

Definition at line 156 of file MSXtar.cc.

◆ ~MSXtar()

openmsx::MSXtar::~MSXtar ( )

Definition at line 170 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 847 of file MSXtar.cc.

◆ addFile()

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

Definition at line 852 of file MSXtar.cc.

References openmsx::filename.

◆ chdir()

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

Definition at line 719 of file MSXtar.cc.

◆ dir()

string openmsx::MSXtar::dir ( )

Definition at line 690 of file MSXtar.cc.

References openmsx::SectorBuffer::dirEntry, and openmsx::T_MSX_LFN.

◆ getDir()

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

Definition at line 862 of file MSXtar.cc.

◆ getItemFromDir()

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

Definition at line 857 of file MSXtar.cc.

◆ mkdir()

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

Definition at line 724 of file MSXtar.cc.


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