openMSX
Public Member Functions | 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

virtual ~CLIOption ()
 
virtual void parseOption (const std::string &option, array_ref< std::string > &cmdLine)=0
 
virtual string_ref optionHelp () const =0
 

Protected Member Functions

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

virtual openmsx::CLIOption::~CLIOption ( )
inlinevirtual

Definition at line 12 of file CLIOption.hh.

Member Function Documentation

string openmsx::CLIOption::getArgument ( const std::string &  option,
array_ref< std::string > &  cmdLine 
) const
protected
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
protected

Definition at line 21 of file CLIOption.cc.

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


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