Implements method to set the name of the "pixel" file. More...
#include <FileName.hxx>
Public Member Functions | |
FileName (const FitsFile &aFile) | |
Constructor requires user input. | |
virtual | ~FileName () |
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 pixel file name. | |
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 | colNo |
std::string | mFileName |
Implements method to set the name of the "pixel" file.
Constructor requires user input.
References Options::getArchive(), FitsFile::getFileName(), FileName< DataType >::mFileName, and StringOps::ToLower().
Destructor.
void FileName< DataType >::doit | ( | TableData< DataType > & | data, | |
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Set the pixel file name.
Implements DataMethod< DataType >.
References TableData< DataType >::assign(), FileName< DataType >::colNo, and FileName< DataType >::mFileName.
void FileName< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
TableData< DataType > & | data, | |||
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Implements DataMethod< DataType >.
void FileName< DataType >::setSource | ( | IntMap & | tbls, | |
IntMap & | cols, | |||
StringMap | units | |||
) | [inline, virtual] |
There are no input columns.
Implements DataMethod< DataType >.
void FileName< DataType >::setTarget | ( | IntMap & | cols, | |
StringMap | units | |||
) | [inline, virtual] |
Target is the column with the pixel file name.
Implements DataMethod< DataType >.
References FileName< DataType >::colNo.
Referenced by FileName< DataType >::doit(), and FileName< DataType >::setTarget().
Referenced by FileName< DataType >::doit(), and FileName< DataType >::FileName().