Class
CommandLineParser
Stores multiple CommandLineOption objects and parses the command line arguments for these options
CommandLineParser
Member Functions
CommandLineParserConstructor
Functions
addOptionadds an instance of CommandLineOption to the CommandLineParser
appendCmdLineadds a line of text to the help output of the CommandLineParser
argumentCountReturns the count of passed arguments.
getArgumentValueFills the passed variable value with the argument set on the command line.
getOptionValueLongFills the passed variable value with the value set for the option on the command line.
getOptionValueShortFills the passed variable value with the value set for the option on the command line.
hasOptionLongReturns true if the there is an option registered in the parser, that has the passed optionIdentifier
hasOptionShortReturns true if the there is an option registered in the parser, that has the passed optionIdentifier
helpPrints the complete help message for your parser to the stream.
isSetLongReturns true if the option was set on the parsed command line.
isSetShortReturns true if the option was set on the parsed command line.
parseReturns true if the option was set on the parsed command line.
requiredArgumentsusing this option you can define how many non parameterized options are required by your program.
shortHelpPrints a short help message for your parser to the stream
versionPrints a version text to the stream.
SeqAn - Sequence Analysis Library - www.seqan.de