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, std::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
 
 CLIOption (CLIOption &&)=delete
 
CLIOptionoperator= (const CLIOption &)=delete
 
CLIOptionoperator= (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, std::span< std::string > &cmdLine)
 
static std::string peekArgument (const std::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 35 of file HDImageCLI.cc.

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

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

◆ optionHelp()

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

Implements openmsx::CLIOption.

Definition at line 58 of file HDImageCLI.cc.

◆ parseDone()

void openmsx::HDImageCLI::parseDone ( )
overridevirtual

Reimplemented from openmsx::CLIOption.

Definition at line 48 of file HDImageCLI.cc.

◆ parseOption()

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

Implements openmsx::CLIOption.

Definition at line 28 of file HDImageCLI.cc.

References openmsx::CLIOption::getArgument().


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