args-parser 6.3.3
Loading...
Searching...
No Matches
enums.hpp
Go to the documentation of this file.
1
31#ifndef ARGS__ENUMS_HPP__INCLUDED
32#define ARGS__ENUMS_HPP__INCLUDED
33
34namespace Args {
35
36//
37// ValueOptions
38//
39
41enum class ValueOptions {
43 NoValue = 0,
45 OneValue = 1,
47 ManyValues = 2
48}; // enum class ValueOptions
49
50
51//
52// ArgType
53//
54
56enum class ArgType {
58 Command,
60 Arg,
69}; // enum class ArgType
70
71} /* namespace Args */
72
73#endif // ARGS__ENUMS_HPP__INCLUDED
Group of args where all arguments should be defined.
Definition groups.hpp:139
Argument with one value that can be present only once in the command line.
Definition arg.hpp:58
Group of args where at least one argument should be defined.
Definition groups.hpp:215
Command in the command line interface.
Definition command.hpp:53
MultiArg is a class that presents argument in the command line taht can be presented more than once o...
Definition multi_arg.hpp:59
Group of args where only one argument can be defined.
Definition groups.hpp:57
Definition api.hpp:42
ArgType
Type of the argument.
Definition enums.hpp:56
ValueOptions
Options for value property.
Definition enums.hpp:41
@ OneValue
One value.
@ ManyValues
Many values.
@ NoValue
No values.