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
Collaboration diagram for openmsx::HDImageCLI:
Collaboration graph

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

Static Public Member Functions

static std::string getImageForId (int id)

Additional Inherited Members

- Protected Member Functions inherited from openmsx::CLIOption
 ~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)

Member Function Documentation

◆ getImageForId()

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

Definition at line 29 of file

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

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

◆ optionHelp()

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

Implements openmsx::CLIOption.

Definition at line 52 of file

◆ parseDone()

void openmsx::HDImageCLI::parseDone ( )

Reimplemented from openmsx::CLIOption.

Definition at line 42 of file

◆ parseOption()

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

Implements openmsx::CLIOption.

Definition at line 22 of file

References openmsx::CLIOption::getArgument().

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