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

#include <HDImageCLI.hh>

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

Public Member Functions

 HDImageCLI (CommandLineParser &parser)
 
void parseOption (const std::string &option, span< std::string > &cmdLine) override
 
void parseDone () override
 
string_view optionHelp () const override
 

Static Public Member Functions

static std::string getImageForId (int id)
 

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
 

Detailed Description

Definition at line 10 of file HDImageCLI.hh.

Constructor & Destructor Documentation

◆ HDImageCLI()

openmsx::HDImageCLI::HDImageCLI ( CommandLineParser parser)
explicit

Member Function Documentation

◆ getImageForId()

string openmsx::HDImageCLI::getImageForId ( int  id)
static

Definition at line 29 of file HDImageCLI.cc.

References end(), and ranges::find_if().

Referenced by openmsx::HD::HD().

◆ optionHelp()

string_view openmsx::HDImageCLI::optionHelp ( ) const
overridevirtual

Implements openmsx::CLIOption.

Definition at line 53 of file HDImageCLI.cc.

◆ parseDone()

void openmsx::HDImageCLI::parseDone ( )
overridevirtual

Reimplemented from openmsx::CLIOption.

Definition at line 42 of file HDImageCLI.cc.

◆ parseOption()

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

Implements openmsx::CLIOption.

Definition at line 22 of file HDImageCLI.cc.

References openmsx::CLIOption::getArgument().


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