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

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::parseOption ( const std::string &  option,
array_ref< std::string > &  cmdLine 
pure virtual
string openmsx::CLIOption::peekArgument ( const array_ref< std::string > &  cmdLine) const

Definition at line 21 of file

References array_ref< T >::empty(), and array_ref< T >::front().

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