Class
CommandLineParser
Stores multiple CommandLineOption objects and parses the command line arguments for these options.
CommandLineParser
Include Headers
seqan/misc/misc_cmdparser.h
Member Functions

CommandLineParser | Constructor

Functions

addHelpLine | Adds an extra line of text below the help text of an option.
addLine | Adds a line of text to the help output of the CommandLineParser.
addOption | Adds a CommandLineOption object to the CommandLineParser.
addSection | Adds a new section the help output of the CommandLineParser.
addTitleLine | Adds a line of text to the title output of the CommandLineParser.
addUsageLine | Adds a line of text to the usage output of the CommandLineParser.
addVersionLine | Adds a line of text to the version output of the CommandLineParser.
argumentCount | Returns the count of passed arguments.
getArgumentValue | Returns an argument set on the command line.
getArgumentValues | Returns all arguments set on the command line.
getOptionValueLong | Retrieves the value of a long-name option given on the command line.
getOptionValueShort | Retrieves the value of a short-name option given on the command line.
getOptionValuesLong | Returns all values of a long-name option given on the command line.
getOptionValuesShort | Returns all values of a short-name option given on the command line.
hasOptionLong | Returns whether a certain long-name option is registered in the parser.
hasOptionShort | Returns whether a certain short-name option is registered in the parser.
help | Prints the complete help message for the parser to a stream.
isSetLong | Returns whether a long-name option was set on the parsed command line.
isSetShort | Returns whether a short-name option was set on the parsed command line.
parse | Parses the command line.
requiredArguments | Sets the number of arguments (non-parameterized options) are required by the program.
shortHelp | Prints a short help message for the parser to a stream
version | Prints a version text to a stream.

SeqAn - Sequence Analysis Library - www.seqan.de

Page built @2012/03/14 16:34:45