#include <uconf.hpp>
example:
char* input_file = null; int value = 0; bool reco_mode = false;
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: