#include <Magnitudes.hxx>
Public Member Functions | |
ColourIndexError () | |
Constructor just sets the method name. | |
virtual | ~ColourIndexError () |
Destructor. | |
void | setSource (IntMap &tbls, IntMap &cols, StringMap units) |
void | setTarget (IntMap &cols, StringMap units) |
Target is the data column with the colour index error. | |
void | doit (TableData< DataType > &data, int row1, int row2) |
Fill up the data column with the errors in colour index. | |
void | doit2 (TableData< DataType > &inpData, TableData< DataType > &data, int row1, int row2) |
Private Attributes | |
int | err1Colno |
int | err2Colno |
int | ciErrColno |
Implements method to determine the error in the colour index from the errors in the original magnitudes
ColourIndexError< DataType >::ColourIndexError | ( | ) | [inline] |
Constructor just sets the method name.
virtual ColourIndexError< DataType >::~ColourIndexError | ( | ) | [inline, virtual] |
Destructor.
void ColourIndexError< DataType >::doit | ( | TableData< DataType > & | data, | |
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Fill up the data column with the errors in colour index.
Implements DataMethod< DataType >.
References TableData< DataType >::assign(), ColourIndexError< DataType >::ciErrColno, ColourIndexError< DataType >::err1Colno, ColourIndexError< DataType >::err2Colno, TableData< DataType >::isDefined(), DefaultValues::realdef, and TableData< DataType >::value().
void ColourIndexError< DataType >::doit2 | ( | TableData< DataType > & | inpData, | |
TableData< DataType > & | data, | |||
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Implements DataMethod< DataType >.
void ColourIndexError< DataType >::setSource | ( | IntMap & | tbls, | |
IntMap & | cols, | |||
StringMap | units | |||
) | [inline, virtual] |
Source are the data columns corresponding to the errors in the magnitudes that make up the colour index
Implements DataMethod< DataType >.
References ColourIndexError< DataType >::err1Colno, and ColourIndexError< DataType >::err2Colno.
void ColourIndexError< DataType >::setTarget | ( | IntMap & | cols, | |
StringMap | units | |||
) | [inline, virtual] |
Target is the data column with the colour index error.
Implements DataMethod< DataType >.
References ColourIndexError< DataType >::ciErrColno.
int ColourIndexError< DataType >::ciErrColno [private] |
Referenced by ColourIndexError< DataType >::doit(), and ColourIndexError< DataType >::setTarget().
int ColourIndexError< DataType >::err1Colno [private] |
Referenced by ColourIndexError< DataType >::doit(), and ColourIndexError< DataType >::setSource().
int ColourIndexError< DataType >::err2Colno [private] |
Referenced by ColourIndexError< DataType >::doit(), and ColourIndexError< DataType >::setSource().