|
RSTools 3.1.0
Versatile C++20 utility library
|
How many values an option or positional takes. More...
#include <RST/parser/Argument.hpp>
Static Public Member Functions | |
| static Nargs | exactly (int n) |
| static Nargs | atLeast (int n) |
| static Nargs | between (int mn, int mx) |
| static Nargs | zeroOrMore () |
| static Nargs | oneOrMore () |
| static Nargs | optional () |
Public Attributes | |
| int | min = 1 |
| int | max = 1 |
| -1 means unlimited. | |
How many values an option or positional takes.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| int RST::Parser::Nargs::min = 1 |
| int RST::Parser::Nargs::max = 1 |
-1 means unlimited.