Class
ArgParseArgument
Stores information for a specific command line argument. It can be either an argument of a ArgParseArgument or directly an Argument on the command line.

ArgParseArgument

ArgParseOption

ArgParseArgument
Include Headers
seqan/arg_parse.h
Member Functions

ArgParseArgument | Constructor

Functions

addArgument | Adds a ArgParseArgument object to the ArgumentParser.
getArgumentLabel | Returns the label for the given ArgParseArgument. Either the user defined label is returned or a default label (based on the ArgumentType is used).
getArgumentValue | Returns the value of the ArgParseArgument object. If the ArgParseArgument is a list or can hold multiple values (numberOfArguments) you can specify which value you want to get. If not set the first value will be returned.
getArgumentValues | Returns all values of the ArgParseArgument object as const std::vector.
getFileExtension | Returns the file extension for the given file argument.
hasDefault | Returns true if a default value was given for that argument.
hasValue | Returns true if a value for the given position is available.
isDoubleArgument | Returns whether the argument is a double.
isInputFileArgument | Returns whether the argument is an input file.
isInt64Argument | Returns whether the argument is a 64 bit integer.
isIntegerArgument | Returns whether the argument is an integer.
isListArgument | Returns whether the argument can be given multiple times.
isOutputFileArgument | Returns whether the argument is an output file.
isSet | Returns true if a value was assigned to the argument.
isStringArgument | Returns whether the argument is a string.
numberOfAllowedValues | Returns the number of allowed values for this ArgParseArgument.
setHelpText | Sets the help text for an ArgParseArgument.
setMaxValue | Sets the maximum value of a ArgParseArgument object.
setMinValue | Sets the minimum value of a ArgParseArgument object.
setValidValues | Sets the set of allowed values of a ArgParseArgument object.

See Also
ArgParseOption, ArgumentParser
SeqAn - Sequence Analysis Library - www.seqan.de

Page built @2014/10/13 16:12:56