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

#include <MSXRomCLI.hh>

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

Public Member Functions

 MSXRomCLI (CommandLineParser &cmdLineParser)
 
void parseOption (const std::string &option, std::span< std::string > &cmdLine) override
 
std::string_view optionHelp () const override
 
void parseFileType (const std::string &arg, 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
 
CLIOptionoperator= (const CLIOption &)=delete
 
CLIOptionoperator= (CLIOption &&)=delete
 
virtual void parseDone ()
 
- Public Member Functions inherited from openmsx::CLIFileType
 CLIFileType (const CLIFileType &)=delete
 
 CLIFileType (CLIFileType &&)=delete
 
CLIFileTypeoperator= (const CLIFileType &)=delete
 
CLIFileTypeoperator= (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 MSXRomCLI.hh.

Constructor & Destructor Documentation

◆ MSXRomCLI()

openmsx::MSXRomCLI::MSXRomCLI ( CommandLineParser cmdLineParser)
explicit

Member Function Documentation

◆ fileTypeCategoryName()

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

Implements openmsx::CLIFileType.

Definition at line 62 of file MSXRomCLI.cc.

◆ fileTypeHelp()

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

Implements openmsx::CLIFileType.

Definition at line 57 of file MSXRomCLI.cc.

◆ getExtensions()

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

Definition at line 16 of file MSXRomCLI.cc.

Referenced by MSXRomCLI().

◆ optionHelp()

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

Implements openmsx::CLIOption.

Definition at line 47 of file MSXRomCLI.cc.

◆ parseFileType()

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

Implements openmsx::CLIFileType.

Definition at line 52 of file MSXRomCLI.cc.

◆ parseOption()

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

Implements openmsx::CLIOption.

Definition at line 35 of file MSXRomCLI.cc.

References openmsx::CLIOption::getArgument().


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