Implementation of an util::OptionReader for command line processing.
More...
Inherits util::OptionReader.
List of all members.
Public Member Functions
Protected Attributes
Detailed Description
Implementation of an util::OptionReader for command line processing.
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
File options must follow directly after command. No intervening file arguments!
Constructor & Destructor Documentation
util::CommandLineReader::CommandLineReader |
( |
int |
argc, |
|
|
char * |
argv[] | |
|
) |
| | |
virtual util::CommandLineReader::~CommandLineReader |
( |
|
) |
[virtual] |
Member Function Documentation
virtual string util::CommandLineReader::nextOptionName |
( |
|
) |
throw (UException) [virtual] |
virtual string util::CommandLineReader::nextOptionValue |
( |
const Option * |
op |
) |
throw (UException) [virtual] |
virtual bool util::CommandLineReader::done |
( |
|
) |
[virtual] |
list<string> util::CommandLineReader::fileArguments |
( |
|
) |
|
vector<string> util::CommandLineReader::fileArgumentsVector |
( |
|
) |
|
string util::CommandLineReader::progName |
( |
|
) |
|
Member Data Documentation