Class
ArgParseOption
Stores information for a specific command line option.
![]() | ![]() | ||||||
ArgParseOption |
Include Headers
seqan/arg_parse.h
Remarks
Member Functions
Constructor |
Functions
Adds/appends a new value to the list of default values. | |
Adds a ArgParseOption 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 default value was given for that argument. Returns whether an option has a default value or not. | |
Hides the ArgParseOption from the help screen.
Hides the ArgParseOption defined by the parameter | |
Returns whether option is a switch. | |
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 whether the option is mandatory. | |
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 whether option is visible on the help screen. Default is true. | |
Returns the number of allowed values for this ArgParseArgument. | |
Sets the default value for the given option. | |
Sets the maximum value of a ArgParseArgument object. | |
Sets the minimum value of a ArgParseArgument object. | |
Sets whether or not the option is mandatory.
Sets whether or not the option defined by the parameter | |
Sets the set of allowed values of a ArgParseArgument object. | |
Saves records to a file. Writes the basic information about the ArgParseOption to the provided stream. |
See Also
SeqAn - Sequence Analysis Library - www.seqan.de