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, array_ref< std::string > &cmdLine)=0
virtual void parseDone ()
virtual string_ref optionHelp () const =0

Protected Member Functions

 ~CLIOption ()
std::string getArgument (const std::string &option, array_ref< std::string > &cmdLine) const
std::string peekArgument (const array_ref< std::string > &cmdLine) const

Detailed Description

Definition at line 9 of file CLIOption.hh.

Constructor & Destructor Documentation

openmsx::CLIOption::~CLIOption ( )

Definition at line 18 of file CLIOption.hh.

References getArgument(), and peekArgument().

Member Function Documentation

string openmsx::CLIOption::getArgument ( const std::string &  option,
array_ref< std::string > &  cmdLine 
) const
virtual string_ref openmsx::CLIOption::optionHelp ( ) const
pure virtual
virtual void openmsx::CLIOption::parseDone ( )

Reimplemented in openmsx::HDImageCLI.

Definition at line 14 of file CLIOption.hh.

References optionHelp().

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

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