Public Methods | |
ACE_Get_Opt_Long_Option (const ACE_TCHAR *name, int has_arg, int val=0) | |
ctor | |
~ACE_Get_Opt_Long_Option (void) | |
Default dtor. | |
int | operator< (const ACE_Get_Opt_Long_Option &rhs) |
Public Attributes | |
const ACE_TCHAR * | name_ |
Long option name. | |
int | has_arg_ |
Contains value for <OPTION_ARG_MODE>. | |
int | val_ |
|
ctor
|
|
Default dtor.
|
|
|
|
Contains value for <OPTION_ARG_MODE>.
|
|
Long option name.
|
|
Contains a valid short option character or zero if it doesn't have a corresponding short option. It can also contain a non-printable value that cannot be passed to <optstring> but will be returned by <operator()>. This is handy for simplifying long option handling, see tests/Get_Opt_Test.cpp for an example of this technique. |