DataMethod to extract the WSA time stamp. More...
#include <FileTimeStamp.hxx>


Public Member Functions | |
| FileTimeStamp (const FitsFile &aFile) | |
| Constructor takes a FitsFile object and extracts the file time stamp. | |
| virtual | ~FileTimeStamp () |
| Destructor. | |
| void | setSource (IntMap &tbls, IntMap &cols, StringMap units) |
| There are no source data columns. | |
| void | setTarget (IntMap &cols, StringMap units) |
| Target is the data column with the file mTimeStamp. | |
| void | doit (TableData< DataType > &data, int row1, int row2) |
| Fill up data column for. | |
| void | doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2) |
Private Attributes | |
| int | colNo |
| std::string | mTimeStamp |
DataMethod to extract the WSA time stamp.
| FileTimeStamp< DataType >::FileTimeStamp | ( | const FitsFile & | aFile | ) | [inline] |
Constructor takes a FitsFile object and extracts the file time stamp.
References DataOps::getFileTimeStamp(), and FileTimeStamp< DataType >::mTimeStamp.
| virtual FileTimeStamp< DataType >::~FileTimeStamp | ( | ) | [inline, virtual] |
Destructor.
| void FileTimeStamp< DataType >::doit | ( | TableData< DataType > & | data, | |
| int | row1, | |||
| int | row2 | |||
| ) | [inline, virtual] |
Fill up data column for.
Implements DataMethod< DataType >.
References TableData< DataType >::assign(), FileTimeStamp< DataType >::colNo, and FileTimeStamp< DataType >::mTimeStamp.
| void FileTimeStamp< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
| TableData< DataType > & | data, | |||
| int | row1, | |||
| int | row2 | |||
| ) | [inline, virtual] |
Implements DataMethod< DataType >.
| void FileTimeStamp< DataType >::setSource | ( | IntMap & | tbls, | |
| IntMap & | cols, | |||
| StringMap | units | |||
| ) | [inline, virtual] |
There are no source data columns.
Implements DataMethod< DataType >.
| void FileTimeStamp< DataType >::setTarget | ( | IntMap & | cols, | |
| StringMap | units | |||
| ) | [inline, virtual] |
Target is the data column with the file mTimeStamp.
Implements DataMethod< DataType >.
References FileTimeStamp< DataType >::colNo.
int FileTimeStamp< DataType >::colNo [private] |
Referenced by FileTimeStamp< DataType >::doit(), and FileTimeStamp< DataType >::setTarget().
std::string FileTimeStamp< DataType >::mTimeStamp [private] |
Referenced by FileTimeStamp< DataType >::doit(), and FileTimeStamp< DataType >::FileTimeStamp().
1.6.3