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
 
std::string_view optionHelp () const override
 
- Public Member Functions inherited from openmsx::CLIOption
 CLIOption (const CLIOption &)=delete
 
CLIOptionoperator= (const CLIOption &)=delete
 

Static Public Member Functions

static std::string getImageForId (int id)
 

Additional Inherited Members

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

Detailed Description

Definition at line 10 of file HDImageCLI.hh.

Constructor & Destructor Documentation

◆ HDImageCLI()

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

Member Function Documentation

◆ getImageForId()

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

Definition at line 32 of file HDImageCLI.cc.

References end(), ranges::find(), and id.

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

◆ optionHelp()

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

Implements openmsx::CLIOption.

Definition at line 55 of file HDImageCLI.cc.

◆ parseDone()

void openmsx::HDImageCLI::parseDone ( )
overridevirtual

Reimplemented from openmsx::CLIOption.

Definition at line 45 of file HDImageCLI.cc.

◆ parseOption()

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

Implements openmsx::CLIOption.

Definition at line 25 of file HDImageCLI.cc.

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


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