TF++, Miscellaneous classes and modules in C++:
Commandline options and arguments.

Evaluate options and arguments given on the command line. More...

Collaboration diagram for Commandline options and arguments.:

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...
 

Detailed Description

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.

See also
tfxx::cmdline::Commandline
tfxx::cmdline
TEST: Commandline evaluation.