openMSX
Classes | 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, span< std::string > &cmdLine) override
 
std::string_view optionHelp () const override
 
void parseFileType (const std::string &arg, span< std::string > &cmdLine) override
 
std::string_view fileTypeHelp () const override
 
- Public Member Functions inherited from openmsx::CLIOption
virtual void parseDone ()
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::CLIOption
 ~CLIOption ()=default
 
std::string getArgument (const std::string &option, span< std::string > &cmdLine) const
 
std::string peekArgument (const span< std::string > &cmdLine) const
 
- Protected Member Functions inherited from openmsx::CLIFileType
 ~CLIFileType ()=default
 

Detailed Description

Definition at line 10 of file MSXRomCLI.hh.

Constructor & Destructor Documentation

◆ MSXRomCLI()

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

Member Function Documentation

◆ fileTypeHelp()

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

Implements openmsx::CLIFileType.

Definition at line 47 of file MSXRomCLI.cc.

◆ optionHelp()

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

Implements openmsx::CLIOption.

Definition at line 37 of file MSXRomCLI.cc.

◆ parseFileType()

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

Implements openmsx::CLIFileType.

Definition at line 42 of file MSXRomCLI.cc.

◆ parseOption()

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

Implements openmsx::CLIOption.

Definition at line 25 of file MSXRomCLI.cc.

References openmsx::CLIOption::getArgument().


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