FACT++  1.0
void SetupConfiguration ( Configuration conf)

Definition at line 29 of file getevent.cc.

References Configuration::AddOptions(), and Configuration::SetArgumentPositions().

Referenced by main().

30 {
31  po::options_description control("Program options");
32  control.add_options()
33  ("target,t", var<string>()->required(), "")
34  ("event,e", var<uint32_t>(), "")
35  ;
36 
37  po::positional_options_description p;
38  p.add("target", 1); // The first positional options
39  p.add("event", 2); // The second positional options
40 
41  conf.AddOptions(control);
42  conf.SetArgumentPositions(p);
43 }
void SetArgumentPositions(const po::positional_options_description &desc)
void AddOptions(const po::options_description &opt, bool visible=true)
Definition: Configuration.h:92
double p
Definition: palObs.c:169

+ Here is the call graph for this function:

+ Here is the caller graph for this function: