OptVal

the field of command container which is used to register a option on the command. the name of it is the name of this option. can implicitly convert to bool value same as the result of ArgVal.isValid. T is the innerType of the option or the elemental type of innerType isMandatory true to set it mandatory, default is false, shortAndVal the short flag and value flag(if needed) seperated by space, comma and |

Alias This

isValid

Members

Aliases

InnerType
alias InnerType = T

the inner type of the option

Functions

get
auto get()

get the value in type of T

isValid
bool isValid()

test whether the inner value is ready.

opAssign
auto opAssign(Option value)

assign the inner value through passing into Option variable

Manifest constants

MANDATORY
enum MANDATORY;
Undocumented in source.
OPTIONAL
enum OPTIONAL;
Undocumented in source.
OPTIONAL
enum OPTIONAL;
Undocumented in source.
OPTVAL_FLAG_
enum OPTVAL_FLAG_;
Undocumented in source.
SHORT_FLAG_AND_VAL_STR
enum SHORT_FLAG_AND_VAL_STR;
Undocumented in source.
VARIADIC
enum VARIADIC;
Undocumented in source.
VARIADIC
enum VARIADIC;
Undocumented in source.

Variables

_inner
Option _inner;
Undocumented in source.

Meta