#include <FrameType.hxx>
Public Member Functions | |
FrameType (const FitsFile &aFile) | |
Constructor just sets the method name. | |
virtual | ~FrameType () |
Destructor. | |
void | setSource (IntMap &tbls, IntMap &cols, StringMap units) |
Source is the data column that corresponds to the "recipe" attribute. | |
void | setTarget (IntMap &cols, StringMap units) |
Target is the data column for the frame type. | |
void | doit (TableData< DataType > &data, int row1, int row2) |
void | doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2) |
Private Attributes | |
int | ftypeColno |
std::string | mFrameType |
Implements the method to determine the frame type (stack, mosaic, etc) and puts the data in the result in the appropriate data column
Constructor just sets the method name.
References FitsFile::getFileName(), DataOps::getFrameType(), and FrameType< DataType >::mFrameType.
Destructor.
void FrameType< DataType >::doit | ( | TableData< DataType > & | data, | |
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Fill up the frame type data column. WARNING: it hasn't been coded up properly yet, as it is not known how the frame type will be determined from the "recipe"
Implements DataMethod< DataType >.
References TableData< DataType >::assign(), FrameType< DataType >::ftypeColno, and FrameType< DataType >::mFrameType.
void FrameType< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
TableData< DataType > & | data, | |||
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Implements DataMethod< DataType >.
void FrameType< DataType >::setSource | ( | IntMap & | tbls, | |
IntMap & | cols, | |||
StringMap | units | |||
) | [inline, virtual] |
Source is the data column that corresponds to the "recipe" attribute.
Implements DataMethod< DataType >.
void FrameType< DataType >::setTarget | ( | IntMap & | cols, | |
StringMap | units | |||
) | [inline, virtual] |
Target is the data column for the frame type.
Implements DataMethod< DataType >.
References FrameType< DataType >::ftypeColno.
int FrameType< DataType >::ftypeColno [private] |
Referenced by FrameType< DataType >::doit(), and FrameType< DataType >::setTarget().
std::string FrameType< DataType >::mFrameType [private] |
Referenced by FrameType< DataType >::doit(), and FrameType< DataType >::FrameType().