openMSX
Public Member Functions | List of all members
openmsx::CliExtension Class Referencefinal

#include <CliExtension.hh>

Inheritance diagram for openmsx::CliExtension:
Inheritance graph
[legend]
Collaboration diagram for openmsx::CliExtension:
Collaboration graph
[legend]

Public Member Functions

 CliExtension (CommandLineParser &cmdLineParser)
 
void parseOption (const std::string &option, std::span< std::string > &cmdLine) 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
 
virtual void parseDone ()
 

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 CliExtension.hh.

Constructor & Destructor Documentation

◆ CliExtension()

openmsx::CliExtension::CliExtension ( CommandLineParser cmdLineParser)
explicit

Definition at line 10 of file CliExtension.cc.

References openmsx::CommandLineParser::registerOption().

Member Function Documentation

◆ optionHelp()

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

Implements openmsx::CLIOption.

Definition at line 37 of file CliExtension.cc.

◆ parseOption()

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

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