Implements method to set the version number of a pixel file. More...
#include <VersionNum.hxx>


Public Member Functions | |
| VersionNum (const FitsFile &aFile) | |
| Constructor requires user input. | |
| virtual | ~VersionNum () |
| Destructor. | |
| void | setSource (IntMap &tbls, IntMap &cols, StringMap units) |
| There are no input columns. | |
| void | setTarget (IntMap &cols, StringMap units) |
| Target is the column with the. | |
| void | doit (TableData< DataType > &data, int row1, int row2) |
| Set the pixel file name. | |
| void | doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2) |
Private Attributes | |
| int | mColNo |
| std::string | mVersionNum |
Implements method to set the version number of a pixel file.
| VersionNum< DataType >::VersionNum | ( | const FitsFile & | aFile | ) | [inline] |
Constructor requires user input.
References ExpectNames::fileName, FitsFile::getFileName(), VersionNum< DataType >::mVersionNum, StringOps::NumToString(), and DefaultValues::realdef.
| virtual VersionNum< DataType >::~VersionNum | ( | ) | [inline, virtual] |
Destructor.
| void VersionNum< DataType >::doit | ( | TableData< DataType > & | data, | |
| int | row1, | |||
| int | row2 | |||
| ) | [inline, virtual] |
Set the pixel file name.
Implements DataMethod< DataType >.
References TableData< DataType >::assign(), VersionNum< DataType >::mColNo, and VersionNum< DataType >::mVersionNum.
| void VersionNum< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
| TableData< DataType > & | data, | |||
| int | row1, | |||
| int | row2 | |||
| ) | [inline, virtual] |
Implements DataMethod< DataType >.
| void VersionNum< DataType >::setSource | ( | IntMap & | tbls, | |
| IntMap & | cols, | |||
| StringMap | units | |||
| ) | [inline, virtual] |
There are no input columns.
Implements DataMethod< DataType >.
| void VersionNum< DataType >::setTarget | ( | IntMap & | cols, | |
| StringMap | units | |||
| ) | [inline, virtual] |
Target is the column with the.
Implements DataMethod< DataType >.
References VersionNum< DataType >::mColNo.
int VersionNum< DataType >::mColNo [private] |
Referenced by VersionNum< DataType >::doit(), and VersionNum< DataType >::setTarget().
std::string VersionNum< DataType >::mVersionNum [private] |
Referenced by VersionNum< DataType >::doit(), and VersionNum< DataType >::VersionNum().
1.6.3