37 virtual void Set(
int &curArg) = 0;
char ** gOptionArgv
The arguments OptionProcessor::Process() is working through.
Command-line option an OptionProcessor matches.
Definition option.h:9
virtual ~Option()
Release the option.
Option(const char *name)
Create an option.
const char * mName
Definition option.h:50
virtual void PrintUsage()=0
Print the option's usage line.
virtual void Set(int &curArg)=0
Apply the option, consuming any value arguments after it.
bool Matches(int &curArg)
Consume the current argument when it names this option.