Inherits util::OptionReader.
Also provides a list (or vector) of file arguments.
Assumed syntax is:
command -s SHORTOPTION --long LONGOPTION ... file_arguments something -s string -f 1.234 --integerarray 1,2,3,4 file1 file2 file3
util::CommandLineReader::CommandLineReader | ( | int | argc, | |
char * | argv[] | |||
) |
virtual util::CommandLineReader::~CommandLineReader | ( | ) | [virtual] |
virtual string util::CommandLineReader::nextOptionName | ( | ) | throw (UException) [virtual] |
Implements util::OptionReader.
virtual string util::CommandLineReader::nextOptionValue | ( | const Option * | op | ) | throw (UException) [virtual] |
Implements util::OptionReader.
virtual bool util::CommandLineReader::done | ( | ) | [virtual] |
Implements util::OptionReader.
list<string> util::CommandLineReader::fileArguments | ( | ) |
vector<string> util::CommandLineReader::fileArgumentsVector | ( | ) |
string util::CommandLineReader::progName | ( | ) |
int util::CommandLineReader::argc_ [protected] |
char** util::CommandLineReader::argv_ [protected] |
int util::CommandLineReader::cur_ [protected] |
bool util::CommandLineReader::done_ [protected] |