openMSX
|
#include <CassettePlayerCLI.hh>
Public Member Functions | |
CassettePlayerCLI (CommandLineParser &parser) | |
void | parseOption (const std::string &option, std::span< std::string > &cmdLine) override |
std::string_view | optionHelp () const override |
void | parseFileType (const std::string &filename, std::span< std::string > &cmdLine) override |
std::string_view | fileTypeHelp () const override |
std::string_view | fileTypeCategoryName () const override |
Public Member Functions inherited from openmsx::CLIOption | |
CLIOption (const CLIOption &)=delete | |
CLIOption (CLIOption &&)=delete | |
CLIOption & | operator= (const CLIOption &)=delete |
CLIOption & | operator= (CLIOption &&)=delete |
virtual void | parseDone () |
Public Member Functions inherited from openmsx::CLIFileType | |
CLIFileType (const CLIFileType &)=delete | |
CLIFileType (CLIFileType &&)=delete | |
CLIFileType & | operator= (const CLIFileType &)=delete |
CLIFileType & | operator= (CLIFileType &&)=delete |
Static Public Member Functions | |
static std::span< const std::string_view > | getExtensions () |
Additional Inherited Members | |
Protected Member Functions inherited from openmsx::CLIOption | |
CLIOption ()=default | |
~CLIOption ()=default | |
Protected Member Functions inherited from openmsx::CLIFileType | |
CLIFileType ()=default | |
~CLIFileType ()=default | |
Static Protected Member Functions inherited from openmsx::CLIOption | |
static std::string | getArgument (const std::string &option, std::span< std::string > &cmdLine) |
static std::string | peekArgument (const std::span< std::string > &cmdLine) |
Definition at line 10 of file CassettePlayerCLI.hh.
|
explicit |
Definition at line 17 of file CassettePlayerCLI.cc.
References getExtensions(), openmsx::CommandLineParser::registerFileType(), and openmsx::CommandLineParser::registerOption().
|
overridevirtual |
Implements openmsx::CLIFileType.
Definition at line 51 of file CassettePlayerCLI.cc.
|
overridevirtual |
Implements openmsx::CLIFileType.
Definition at line 46 of file CassettePlayerCLI.cc.
|
static |
Definition at line 9 of file CassettePlayerCLI.cc.
Referenced by CassettePlayerCLI().
|
overridevirtual |
Implements openmsx::CLIOption.
Definition at line 30 of file CassettePlayerCLI.cc.
|
overridevirtual |
Implements openmsx::CLIFileType.
Definition at line 36 of file CassettePlayerCLI.cc.
References openmsx::TclObject::executeCommand(), openmsx::CommandLineParser::getInterpreter(), openmsx::Interpreter::hasCommand(), and openmsx::makeTclList().
Referenced by parseOption().
|
overridevirtual |
Implements openmsx::CLIOption.
Definition at line 24 of file CassettePlayerCLI.cc.
References openmsx::CLIOption::getArgument(), and parseFileType().