29 #ifndef MS_SDFITSHANDLER_H
30 #define MS_SDFITSHANDLER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/measures/Measures/MEpoch.h>
34 #include <casacore/measures/TableMeasures/ScalarQuantColumn.h>
35 #include <casacore/measures/TableMeasures/ScalarMeasColumn.h>
36 #include <casacore/casa/Arrays/ArrayFwd.h>
41 class CopyRecordToTable;
void clearRow()
cleanup the row related stuff
ScalarQuantColumn< Double > intervalQuant_p
the INTERVAL column
TableDesc requiredTableDesc(Vector< Bool > &handledCols, Vector< String > &colNames, const Record &row)
get the required table desc given the unhandled columns and the row
void initRow(Vector< Bool > &handledCols, const Vector< String > &colNames, const Record &row)
intialize the row related stuff
Table * tab_p
the output table
SDFITSHandler & operator=(const SDFITSHandler &other)
assignment operator, uses copy semantics
ScalarMeasColumn< MEpoch > timeMeas_p
the TIME column
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.
void initAll(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
initialize everything
CopyRecordToTable * copier_p
this copies everything from the row to the table
SDFITSHandler(const SDFITSHandler &other)
copy ctor
void attach(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach to a MS - any unhandled fields in row are handled here.
void clearAll()
cleanup everything
void fill(const Record &row, const MEpoch &time, const Double &interval)
fill - a new row is always added
this file contains all the compiler specific defines
TableExprNode time(const TableExprNode &node)