FACT++  1.0
void setupConfiguration ( Configuration conf)

Definition at line 1483 of file fitsDecompressor.cc.

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

Referenced by main().

1484 {
1485  po::options_description configs("FitsCompressor options");
1486  configs.add_options()
1487  ("inputFile,i", vars<string>(), "Input file")
1488  ("drs,d", var<string>(), "Input drs calibration file")
1489  ("rowPerTile,r", var<unsigned int>(), "Number of rows per tile. Default is 100")
1490  ("output,o", var<string>(), "Output file. If empty, .fz is appened to the original name")
1491  ("threads,t", var<unsigned int>(), "Number of threads to use for compression")
1492  ("compression,c", vars<string>(), "which compression to use for which column. Syntax <colName>=<compressionScheme>")
1493  ("quiet,q", po_switch(), "Should the program display any text at all ?")
1494  ("verify,v", po_switch(), "Should we verify the data that has been compressed ?")
1495  ;
1496  po::positional_options_description positional;
1497  positional.add("inputFile", -1);
1498  conf.AddOptions(configs);
1499  conf.SetArgumentPositions(positional);
1500 }
po::typed_value< bool > * po_switch()
void SetArgumentPositions(const po::positional_options_description &desc)
void AddOptions(const po::options_description &opt, bool visible=true)
Definition: Configuration.h:92

+ Here is the call graph for this function:

+ Here is the caller graph for this function: