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 | |||||||
![]() | ![]() | ||||||
Include Headers
seqan/arg_parse.h
Member Functions
Constructor |
Functions
Adds a ArgParseArgument object to the ArgumentParser. | |
Returns the label for the given ArgParseArgument. Either the user defined label is returned or a default label (based on the ArgumentType is used). | |
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. Retrieves the value of an argument given by its position. | |
Returns all values of the ArgParseArgument object as const std::vector. Returns all values of an option given on the command line. | |
Returns true if a value for the given position is available. | |
Returns true if a default value was given for that argument. Returns whether an option has a default value or not. | |
Returns whether the argument is a double. | |
Returns whether the argument is an input file. | |
Returns whether the argument is an integer. | |
Returns whether the argument can be given multiple times. | |
Returns whether the argument is an output file. | |
Returns true if a value was assigned to the argument. Returns whether an option was set on the parsed command line. | |
Returns whether the argument is a string. | |
Returns the number of allowed values for this ArgParseArgument. | |
Sets the maximum value of a ArgParseArgument object. | |
Sets the minimum value of a ArgParseArgument object. | |
Sets the set of allowed values of a ArgParseArgument object. |
See Also
SeqAn - Sequence Analysis Library - www.seqan.de