#include <FrameID.hxx>


Public Member Functions | |
| IndirectFrameID (const std::string &aFilePath) | |
| Constructor just sets the method name. | |
| virtual | ~IndirectFrameID () |
| Destructor. | |
| void | setSource (IntMap &tbls, IntMap &cols, StringMap units) |
| Source is data column with the name of the FITS files. | |
| void | setTarget (IntMap &cols, StringMap units) |
| Target is data column with the frame ID. | |
| void | doit (TableData< DataType > &data, int row1, int row2) |
| Fill up the frame ID column. | |
| void | doit2 (TableData< DataType > &inpData, TableData< DataType > &data, int row1, int row2) |
Private Attributes | |
| int | fidColno |
| int | fileColno |
| std::string | mFilePath |
This class implements the method to calculate the frame ID from another FITS file whose name is already in one of the data columns
| IndirectFrameID< DataType >::IndirectFrameID | ( | const std::string & | aFilePath | ) | [inline] |
Constructor just sets the method name.
| virtual IndirectFrameID< DataType >::~IndirectFrameID | ( | ) | [inline, virtual] |
Destructor.
| void IndirectFrameID< DataType >::doit | ( | TableData< DataType > & | data, | |
| int | row1, | |||
| int | row2 | |||
| ) | [inline, virtual] |
Fill up the frame ID column.
Implements DataMethod< DataType >.
References Logger::addMessage(), Logger::addWarning(), TableData< DataType >::assign(), FitsFile::closeFile(), IndirectFrameID< DataType >::fidColno, IndirectFrameID< DataType >::fileColno, ExpectNames::fileName, DataOps::makeFrameID(), IndirectFrameID< DataType >::mFilePath, TableData< DataType >::setundef(), and TableData< DataType >::value().
| void IndirectFrameID< DataType >::doit2 | ( | TableData< DataType > & | inpData, | |
| TableData< DataType > & | data, | |||
| int | row1, | |||
| int | row2 | |||
| ) | [inline, virtual] |
Implements DataMethod< DataType >.
| void IndirectFrameID< DataType >::setSource | ( | IntMap & | tbls, | |
| IntMap & | cols, | |||
| StringMap | units | |||
| ) | [inline, virtual] |
Source is data column with the name of the FITS files.
Implements DataMethod< DataType >.
References IndirectFrameID< DataType >::fileColno.
| void IndirectFrameID< DataType >::setTarget | ( | IntMap & | cols, | |
| StringMap | units | |||
| ) | [inline, virtual] |
Target is data column with the frame ID.
Implements DataMethod< DataType >.
References IndirectFrameID< DataType >::fidColno.
int IndirectFrameID< DataType >::fidColno [private] |
Referenced by IndirectFrameID< DataType >::doit(), and IndirectFrameID< DataType >::setTarget().
int IndirectFrameID< DataType >::fileColno [private] |
Referenced by IndirectFrameID< DataType >::doit(), and IndirectFrameID< DataType >::setSource().
std::string IndirectFrameID< DataType >::mFilePath [private] |
Referenced by IndirectFrameID< DataType >::doit().
1.6.3