Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

UOption Struct Reference

command line options of the UAppli. More...

#include <uconf.hpp>

List of all members.

Static Public Member Functions

UOptionArg * Arg (bool &val)
UOptionArg * Arg (int &val)
UOptionArg * Arg (char *&val)
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 Sat Feb 21 23:28:22 2004 for Ubit[Eric.Lecolinet@enst.fr] by doxygen 1.3.5