#include <SkySubScale.hxx>
Public Member Functions | |
SkySubScale () | |
Constructor just sets the method name. | |
virtual | ~SkySubScale () |
Destructor. | |
void | setSource (IntMap &aTblMap, IntMap &aColMap, StringMap aUnits) |
Source is data column with the name of the FITS files. | |
void | setTarget (IntMap &aColMap, StringMap aUnits) |
Target is data column with the frame ID. | |
void | doit (TableData< DataType > &aData, int aFirstRow, int aLastRow) |
Fill up the frame ID column. | |
void | doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2) |
Private Attributes | |
int | mSourceCol |
int | mTargetCol |
This class implements the method to calculate the frame ID from another FITS file whose name is already in one of the data columns
SkySubScale< DataType >::SkySubScale | ( | ) | [inline] |
Constructor just sets the method name.
virtual SkySubScale< DataType >::~SkySubScale | ( | ) | [inline, virtual] |
Destructor.
void SkySubScale< DataType >::doit | ( | TableData< DataType > & | aData, | |
int | aFirstRow, | |||
int | aLastRow | |||
) | [inline, virtual] |
Fill up the frame ID column.
Implements DataMethod< DataType >.
References Logger::addMessage(), TableData< DataType >::assign(), convertType(), SkySubScale< DataType >::mSourceCol, SkySubScale< DataType >::mTargetCol, DefaultValues::realdef, and TableData< DataType >::value().
void SkySubScale< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
TableData< DataType > & | data, | |||
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Implements DataMethod< DataType >.
void SkySubScale< DataType >::setSource | ( | IntMap & | aTblMap, | |
IntMap & | aColMap, | |||
StringMap | aUnits | |||
) | [inline, virtual] |
Source is data column with the name of the FITS files.
Implements DataMethod< DataType >.
References SkySubScale< DataType >::mSourceCol.
void SkySubScale< DataType >::setTarget | ( | IntMap & | aColMap, | |
StringMap | aUnits | |||
) | [inline, virtual] |
Target is data column with the frame ID.
Implements DataMethod< DataType >.
References SkySubScale< DataType >::mTargetCol.
int SkySubScale< DataType >::mSourceCol [private] |
Referenced by SkySubScale< DataType >::doit(), and SkySubScale< DataType >::setSource().
int SkySubScale< DataType >::mTargetCol [private] |
Referenced by SkySubScale< DataType >::doit(), and SkySubScale< DataType >::setTarget().