OptionsFiller Class Reference

Class to fill up the single instance of Options with data. More...

#include <Options.h>

List of all members.

Public Member Functions

void parseCommand (int argc, char *argv[])
void parseFileList (const std::string &fileName)
void parseIllumList (const std::string &fileName)
 Parse the contents of the file that lists the illumination tables.
void parseTableList (const std::string &fileName)
 Parse the file that lists the tables to be ingested to.
void setOption (const std::string &name, int value)
 Set the integer value associated with the given option name.
void setOption (const std::string &name, const double &value)
 Set the doub;e value associated with the given option name.
void setOption (const std::string &name, const std::string &value)
 Set the std::string value associated with the given option name.

Detailed Description

Class to fill up the single instance of Options with data.


Member Function Documentation

void OptionsFiller::parseCommand ( int  argc,
char *  argv[] 
)

Parse the options on the command line and place values in the data in the Options class instance

References Options::valueMap.

Referenced by main().

void OptionsFiller::parseFileList ( const std::string &  fileName  ) 

Parse the contents of the file that lists the FITS files to be ingested

References Options::fileMap, and StringOps::parseTextFile().

Referenced by main().

void OptionsFiller::parseIllumList ( const std::string &  fileName  ) 

Parse the contents of the file that lists the illumination tables.

References Options::illumMap, and StringOps::parseTextFile().

Referenced by main().

void OptionsFiller::parseTableList ( const std::string &  fileName  ) 

Parse the file that lists the tables to be ingested to.

References StringOps::parseTextFile(), and Options::tableMap.

Referenced by main().

void OptionsFiller::setOption ( const std::string &  name,
const std::string &  value 
)

Set the std::string value associated with the given option name.

References Options::valueMap.

void OptionsFiller::setOption ( const std::string &  name,
const double &  value 
)

Set the doub;e value associated with the given option name.

References StringOps::NumToString(), and Options::valueMap.

void OptionsFiller::setOption ( const std::string &  name,
int  value 
)

Set the integer value associated with the given option name.

References StringOps::NumToString(), and Options::valueMap.

Referenced by ObjectID< DataType >::doit().


The documentation for this class was generated from the following files:
Generated on Mon Oct 4 10:39:36 2010 for WfcamSrc by  doxygen 1.6.3