TF++, Miscellaneous classes and modules in C++:
|
Evaluate options and arguments given on the command line. More...
Modules | |
Interface provided through commandline.h | |
Interface provided through commandline.h. | |
Interface provided through xcmdline.h | |
Interface provided through xcmdline.h. | |
Namespaces | |
tfxx::cmdline | |
Namespace containing all components of module commandline. ,. | |
Classes | |
struct | tfxx::cmdline::Declare |
struct to define options ,This struct is used to define a list of options. An example is: More... | |
struct | tfxx::cmdline::Filename |
A struct to hold filename together with options ,If a filename is given together with its specific parameters in. More... | |
class | tfxx::cmdline::Commandline |
Evaluates commandline by calling long_getopt . ,You may instantiate a Commandline object by passing the C-variables iargc and argv (which are passed to main ) and a Declare-list to the constructor. The constructor itself will call the function long_getopt to evaluate the command line and stores the results. More... | |
Evaluate options and arguments given on the command line.
The module is presented in namespace tfxx::cmdline. You will find an example in tests/commandlinetest.cc.