openMSX
Public Member Functions | Static Public Member Functions | List of all members
openmsx::CassettePlayerCLI Class Referencefinal

#include <CassettePlayerCLI.hh>

Inheritance diagram for openmsx::CassettePlayerCLI:
Inheritance graph
[legend]
Collaboration diagram for openmsx::CassettePlayerCLI:
Collaboration graph
[legend]

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
 
CLIOptionoperator= (const CLIOption &)=delete
 
virtual void parseDone ()
 
- Public Member Functions inherited from openmsx::CLIFileType
 CLIFileType (const CLIFileType &)=delete
 
CLIFileTypeoperator= (const 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)
 

Detailed Description

Definition at line 10 of file CassettePlayerCLI.hh.

Constructor & Destructor Documentation

◆ CassettePlayerCLI()

openmsx::CassettePlayerCLI::CassettePlayerCLI ( CommandLineParser parser)
explicit

Member Function Documentation

◆ fileTypeCategoryName()

std::string_view openmsx::CassettePlayerCLI::fileTypeCategoryName ( ) const
overridevirtual

Implements openmsx::CLIFileType.

Definition at line 51 of file CassettePlayerCLI.cc.

◆ fileTypeHelp()

std::string_view openmsx::CassettePlayerCLI::fileTypeHelp ( ) const
overridevirtual

Implements openmsx::CLIFileType.

Definition at line 46 of file CassettePlayerCLI.cc.

◆ getExtensions()

std::span< const std::string_view > openmsx::CassettePlayerCLI::getExtensions ( )
static

Definition at line 9 of file CassettePlayerCLI.cc.

Referenced by CassettePlayerCLI().

◆ optionHelp()

std::string_view openmsx::CassettePlayerCLI::optionHelp ( ) const
overridevirtual

Implements openmsx::CLIOption.

Definition at line 30 of file CassettePlayerCLI.cc.

◆ parseFileType()

void openmsx::CassettePlayerCLI::parseFileType ( const std::string &  filename,
std::span< std::string > &  cmdLine 
)
overridevirtual

◆ parseOption()

void openmsx::CassettePlayerCLI::parseOption ( const std::string &  option,
std::span< std::string > &  cmdLine 
)
overridevirtual

Implements openmsx::CLIOption.

Definition at line 24 of file CassettePlayerCLI.cc.

References openmsx::CLIOption::getArgument(), and parseFileType().


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