ConverterDataFiller Class Reference

Manager class for the Converter monostate class. More...

#include <Converter.h>

List of all members.

Public Member Functions

 ConverterDataFiller ()
 The constructor is all that's needed to fill up the class.

Private Member Functions

void setFactors (const std::string unit1, const std::string unit2, double factor)

Detailed Description

Manager class for the Converter monostate class.


Constructor & Destructor Documentation

ConverterDataFiller::ConverterDataFiller (  ) 

The constructor is all that's needed to fill up the class.

We need to include here all possible combinations of units that we are expected to encounter.

References setFactors().


Member Function Documentation

void ConverterDataFiller::setFactors ( const std::string  unit1,
const std::string  unit2,
double  factor 
) [private]

Initialises the std::map (dictionary) in the Converter class with the factor that converts between the two given units. The given factor in the argument list is the number that converts unit1 to unit2.

References Converter::convFactor.

Referenced by ConverterDataFiller().


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