UOption Struct Reference
command line options of the UAppli.
More...
#include <uconf.hpp>
List of all members.
|
Static Public Member Functions |
static class UOptionArg * | Arg (bool &val) |
static class UOptionArg * | Arg (int &val) |
static class UOptionArg * | Arg (char *&val) |
static class UOptionArg * | Arg (const char *&val) |
Public Attributes |
const char * | begname |
const char * | endname |
UOptionArg * | arg |
Detailed Description
command line options of the UAppli.
example:
UOption options[] = {
{"in","put", UOption::Arg(input_file)},
{"val","ue", UOption::Arg(value)},
{"r","eco", UOption::Arg(reco_mode)},
{null, null, null}
};
// updates 'input_file', 'value' and 'reco_mode' if the appropriate
// options are specified in the command line
UConf conf(argc, argv, options);
UAppli appli(conf);
...
The documentation for this struct was generated from the following files:
Generated on Thu May 19 12:40:32 2005 for Ubit[Eric.Lecolinet@enst.fr] by
1.4.2