Implements method to fill up data with the user supplied Curation Task ID. More...
#include <CurationTaskID.hxx>
Public Member Functions | |
CurationTaskID () | |
Constructor get user supplied input. | |
virtual | ~CurationTaskID () |
Destructor. | |
void | setSource (IntMap &tbls, IntMap &cols, StringMap units) |
There are no input columns here. | |
void | setTarget (IntMap &cols, StringMap units) |
Target is just the column with the Curation Task ID. | |
void | doit (TableData< DataType > &data, int row1, int row2) |
Fill up the data column. | |
void | doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2) |
Private Attributes | |
int | colNo |
std::string | mCuEventID |
Implements method to fill up data with the user supplied Curation Task ID.
CurationTaskID< DataType >::CurationTaskID | ( | ) | [inline] |
Constructor get user supplied input.
References Options::getCurationEvent(), and CurationTaskID< DataType >::mCuEventID.
virtual CurationTaskID< DataType >::~CurationTaskID | ( | ) | [inline, virtual] |
Destructor.
void CurationTaskID< DataType >::doit | ( | TableData< DataType > & | data, | |
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Fill up the data column.
Implements DataMethod< DataType >.
References TableData< DataType >::assign(), CurationTaskID< DataType >::colNo, and CurationTaskID< DataType >::mCuEventID.
void CurationTaskID< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
TableData< DataType > & | data, | |||
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Implements DataMethod< DataType >.
void CurationTaskID< DataType >::setSource | ( | IntMap & | tbls, | |
IntMap & | cols, | |||
StringMap | units | |||
) | [inline, virtual] |
There are no input columns here.
Implements DataMethod< DataType >.
void CurationTaskID< DataType >::setTarget | ( | IntMap & | cols, | |
StringMap | units | |||
) | [inline, virtual] |
Target is just the column with the Curation Task ID.
Implements DataMethod< DataType >.
References CurationTaskID< DataType >::colNo.
int CurationTaskID< DataType >::colNo [private] |
Referenced by CurationTaskID< DataType >::doit(), and CurationTaskID< DataType >::setTarget().
std::string CurationTaskID< DataType >::mCuEventID [private] |
Referenced by CurationTaskID< DataType >::CurationTaskID(), and CurationTaskID< DataType >::doit().