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
ArgParseArgumentConstructor
Functions
addArgumentAdds a ArgParseArgument object to the ArgumentParser.
getArgumentLabelReturns the label for the given ArgParseArgument. Either the user defined label is returned or a default label (based on the ArgumentType is used).
getArgumentValueReturns 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.
getArgumentValuesReturns all values of the ArgParseArgument object as const std::vector. Returns all values of an option given on the command line.
hasArgumentValueReturns true if a value for the given position is available.
hasDefaultReturns true if a default value was given for that argument. Returns whether an option has a default value or not.
isDoubleArgumentReturns whether the argument is a double.
isInputFileArgumentReturns whether the argument is an input file.
isIntegerArgumentReturns whether the argument is an integer.
isListArgumentReturns whether the argument can be given multiple times.
isOutputFileArgumentReturns whether the argument is an output file.
isSetReturns true if a value was assigned to the argument. Returns whether an option was set on the parsed command line.
isStringArgumentReturns whether the argument is a string.
numberOfAllowedValuesReturns the number of allowed values for this ArgParseArgument.
setMaxValueSets the maximum value of a ArgParseArgument object.
setMinValueSets the minimum value of a ArgParseArgument object.
setValidValuesSets the set of allowed values of a ArgParseArgument object.
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2012/10/02 11:10:28