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

#include <CLIOption.hh>

Inheritance diagram for openmsx::CLIOption:
Inheritance graph
[legend]

Public Member Functions

 CLIOption (const CLIOption &)=delete
 
 CLIOption (CLIOption &&)=delete
 
CLIOptionoperator= (const CLIOption &)=delete
 
CLIOptionoperator= (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
 

Protected Member Functions

 CLIOption ()=default
 
 ~CLIOption ()=default
 

Static Protected Member Functions

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

Constructor & Destructor Documentation

◆ CLIOption() [1/3]

openmsx::CLIOption::CLIOption ( const CLIOption )
delete

◆ CLIOption() [2/3]

openmsx::CLIOption::CLIOption ( CLIOption &&  )
delete

◆ CLIOption() [3/3]

openmsx::CLIOption::CLIOption ( )
protecteddefault

◆ ~CLIOption()

openmsx::CLIOption::~CLIOption ( )
protecteddefault

Member Function Documentation

◆ getArgument()

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

◆ operator=() [1/2]

CLIOption & openmsx::CLIOption::operator= ( CLIOption &&  )
delete

◆ operator=() [2/2]

CLIOption & openmsx::CLIOption::operator= ( const CLIOption )
delete

◆ optionHelp()

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

◆ parseDone()

virtual void openmsx::CLIOption::parseDone ( )
inlinevirtual

Reimplemented in openmsx::HDImageCLI.

Definition at line 20 of file CLIOption.hh.

◆ parseOption()

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

◆ peekArgument()

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

Definition at line 19 of file CLIOption.cc.


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