#include <SDFITSHandler.h>
Public Member Functions | |
SDFITSHandler () | |
default ctor is not attached to a MS and hence is useless until attached | |
SDFITSHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) | |
attach this to a MS - any unhandled fields in row are handled here. | |
SDFITSHandler (const SDFITSHandler &other) | |
copy ctor | |
~SDFITSHandler () | |
SDFITSHandler & | operator= (const SDFITSHandler &other) |
assignment operator, uses copy semantics | |
void | attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
attach to a MS - any unhandled fields in row are handled here. | |
void | fill (const Record &row, const MEpoch &time, const Double &interval) |
fill - a new row is always added | |
Private Member Functions | |
void | clearAll () |
cleanup everything | |
void | clearRow () |
cleanup the row related stuff | |
void | initAll (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
initialize everything | |
void | initRow (Vector< Bool > &handledCols, const Vector< String > &colNames, const Record &row) |
intialize the row related stuff | |
TableDesc | requiredTableDesc (Vector< Bool > &handledCols, Vector< String > &colNames, const Record &row) |
get the required table desc given the unhandled columns and the row | |
Private Attributes | |
Table * | tab_p |
the output table | |
ScalarMeasColumn< MEpoch > | timeMeas_p |
the TIME column | |
ScalarQuantColumn< Double > | intervalQuant_p |
the INTERVAL column | |
CopyRecordToTable * | copier_p |
this copies everything from the row to the table |
Internal or
Internal
Definition at line 89 of file SDFITSHandler.h.
casacore::SDFITSHandler::SDFITSHandler | ( | ) |
default ctor is not attached to a MS and hence is useless until attached
casacore::SDFITSHandler::SDFITSHandler | ( | MeasurementSet & | ms, | |
Vector< Bool > & | handledCols, | |||
const Record & | row | |||
) |
attach this to a MS - any unhandled fields in row are handled here.
This handler must be attached last.
casacore::SDFITSHandler::SDFITSHandler | ( | const SDFITSHandler & | other | ) |
copy ctor
casacore::SDFITSHandler::~SDFITSHandler | ( | ) | [inline] |
Definition at line 102 of file SDFITSHandler.h.
References clearAll().
void casacore::SDFITSHandler::attach | ( | MeasurementSet & | ms, | |
Vector< Bool > & | handledCols, | |||
const Record & | row | |||
) |
attach to a MS - any unhandled fields in row are handled here.
This handler must be attached last.
void casacore::SDFITSHandler::clearAll | ( | ) | [private] |
cleanup everything
Referenced by ~SDFITSHandler().
void casacore::SDFITSHandler::clearRow | ( | ) | [private] |
cleanup the row related stuff
void casacore::SDFITSHandler::fill | ( | const Record & | row, | |
const MEpoch & | time, | |||
const Double & | interval | |||
) |
fill - a new row is always added
void casacore::SDFITSHandler::initAll | ( | MeasurementSet & | ms, | |
Vector< Bool > & | handledCols, | |||
const Record & | row | |||
) | [private] |
initialize everything
void casacore::SDFITSHandler::initRow | ( | Vector< Bool > & | handledCols, | |
const Vector< String > & | colNames, | |||
const Record & | row | |||
) | [private] |
intialize the row related stuff
SDFITSHandler& casacore::SDFITSHandler::operator= | ( | const SDFITSHandler & | other | ) |
assignment operator, uses copy semantics
TableDesc casacore::SDFITSHandler::requiredTableDesc | ( | Vector< Bool > & | handledCols, | |
Vector< String > & | colNames, | |||
const Record & | row | |||
) | [private] |
get the required table desc given the unhandled columns and the row
this copies everything from the row to the table
Definition at line 124 of file SDFITSHandler.h.
the INTERVAL column
Definition at line 121 of file SDFITSHandler.h.
Table* casacore::SDFITSHandler::tab_p [private] |
the output table
Definition at line 115 of file SDFITSHandler.h.
the TIME column
Definition at line 118 of file SDFITSHandler.h.