#include <CmdLineOption.h>
Inheritance diagram for acdk::lang::CmdLineOption:
Public Member Functions | |
CmdLineOption (IN(RString) option, IN(RString) alias, bool expectArg, IN(RString) help, bool required=false) | |
CmdLineOption (IN(RString) option, IN(RString) shortoption, IN(RString) alias, bool expectArg, IN(RString) help, bool required=false) | |
void | printOn (IN(::acdk::io::RPrintWriter) out) |
Public Attributes | |
RString | _option |
the option as string like: -v -value | |
RString | _shortOption |
like -v | |
RString | _alias |
the alias. | |
bool | _expectArg |
if set, option what to have an value -acdk-opt=value or -acdk-opt value | |
RString | _docText |
documents the option | |
bool | _required |
This options has to be specified. | |
bool | _parsed |
This options is detected. |
|
|
|
|
|
|
|
the alias. if this is not Nil, this value will be used as key in the Property |
|
documents the option
|
|
if set, option what to have an value -acdk-opt=value or -acdk-opt value if not set, value is 1 if option is set |
|
the option as string like: -v -value
|
|
This options is detected.
|
|
This options has to be specified.
|
|
like -v
|