openMSX
|
#include <HDImageCLI.hh>
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 |
![]() | |
CLIOption (const CLIOption &)=delete | |
CLIOption & | operator= (const CLIOption &)=delete |
virtual void | parseOption (const std::string &option, std::span< std::string > &cmdLine)=0 |
virtual void | parseDone () |
virtual std::string_view | optionHelp () const =0 |
Static Public Member Functions | |
static std::string | getImageForId (int id) |
Additional Inherited Members | |
![]() | |
CLIOption ()=default | |
~CLIOption ()=default | |
![]() | |
static std::string | getArgument (const std::string &option, std::span< std::string > &cmdLine) |
static std::string | peekArgument (const std::span< std::string > &cmdLine) |
Definition at line 10 of file HDImageCLI.hh.
|
explicit |
Definition at line 18 of file HDImageCLI.cc.
References openmsx::CommandLineParser::PHASE_BEFORE_MACHINE, and openmsx::CommandLineParser::registerOption().
|
static |
Definition at line 32 of file HDImageCLI.cc.
References end(), ranges::find(), and id.
Referenced by openmsx::HD::HD().
|
overridevirtual |
Implements openmsx::CLIOption.
Definition at line 55 of file HDImageCLI.cc.
|
overridevirtual |
Reimplemented from openmsx::CLIOption.
Definition at line 45 of file HDImageCLI.cc.
|
overridevirtual |
Implements openmsx::CLIOption.
Definition at line 25 of file HDImageCLI.cc.
References openmsx::CLIOption::getArgument(), and id.