FACT++  1.0
void SetupConfiguration ( Configuration conf)

Definition at line 19 of file fitsselect.cc.

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

Referenced by main().

20 {
21  po::options_description configs("Fitsdump options");
22  configs.add_options()
23  ("infile", var<string>()->required(), "")
24  ("outfile", var<string>()->required(), "")
25  ("eventlist", var<string>()->required(), "")
26  ;
27 
28  po::positional_options_description p;
29  p.add("infile", 1); // The first positional options
30  p.add("eventlist", 1); // The second positional options
31  p.add("outfile", -1); // All others
32 
33  conf.AddOptions(configs);
34  conf.SetArgumentPositions(p);
35 }
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: