Public Member Functions | Protected Member Functions | List of all members
openmsx::CLIOption Class Referenceabstract

#include <CLIOption.hh>

Inheritance diagram for openmsx::CLIOption:
Inheritance graph

Public Member Functions

virtual void parseOption (const std::string &option, span< std::string > &cmdLine)=0
virtual void parseDone ()
virtual std::string_view optionHelp () const =0

Protected Member Functions

 ~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 9 of file CLIOption.hh.

Constructor & Destructor Documentation

◆ ~CLIOption()

openmsx::CLIOption::~CLIOption ( )

Member Function Documentation

◆ getArgument()

string openmsx::CLIOption::getArgument ( const std::string &  option,
span< std::string > &  cmdLine 
) const

◆ optionHelp()

virtual std::string_view openmsx::CLIOption::optionHelp ( ) const
pure virtual

◆ parseDone()

virtual void openmsx::CLIOption::parseDone ( )

Reimplemented in openmsx::HDImageCLI.

Definition at line 14 of file CLIOption.hh.

◆ parseOption()

virtual void openmsx::CLIOption::parseOption ( const std::string &  option,
span< std::string > &  cmdLine 
pure virtual

◆ peekArgument()

string openmsx::CLIOption::peekArgument ( const span< std::string > &  cmdLine) const

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