Argsparse
All Classes Namespaces Functions Properties Pages
Argparse.ArgumentMultiplicity.AllThatFollow Class Referencesealed

Represents such a multiplicity in which all the following argument parts belong to the given plain argument. More...

Inheritance diagram for Argparse.ArgumentMultiplicity.AllThatFollow:
Argparse.ArgumentMultiplicity

Public Member Functions

 AllThatFollow (int MinimumNumberOfArguments=0)
 

Properties

int MinimumNumberOfArguments [get]
 

Detailed Description

Represents such a multiplicity in which all the following argument parts belong to the given plain argument.

Parameters
MinimumNumberOfArgumentsAllow for the specification of minimum number of parts required which should then be enforced by the parser.

Only one such argument is allowed per parser. Do not mix non-required SpecificCount arguments with AllThatFollow

Constructor & Destructor Documentation

◆ AllThatFollow()

Argparse.ArgumentMultiplicity.AllThatFollow.AllThatFollow ( int MinimumNumberOfArguments = 0)
inline
Parameters
MinimumNumberOfArgumentsMinimum number of values that should be present for the argument to be considered valid. This number must be non-negative.
Exceptions
ArgumentExceptionThrown when MinimumNumberOfArguments is negative.

The documentation for this class was generated from the following file: