TF++, Miscellaneous classes and modules in C++:
|
struct to define options ,This struct is used to define a list of options. An example is: More...
#include <commandline.h>
Public Attributes | |
const char * | opt_string |
option name More... | |
Eopt_arg_mode | opt_arg_mode |
option argument mode More... | |
const char * | arg_default |
option default argument More... | |
struct to define options ,
This struct is used to define a list of options. An example is:
It defines the options -help
, -v
, and -d
, where the latter does take an argument and the first two not. The array options
[] is passed to tfxx::cmdline::Commandline. The first entry in each Declare defines the option anme, the second the argument mode and the third the default argument.
Definition at line 136 of file commandline.h.