29 #ifndef MS_SDFITSHANDLER_H
30 #define MS_SDFITSHANDLER_H
41 class CopyRecordToTable;
TableExprNode time(const TableExprNode &node)
Main interface class to a read/write table.
void fill(const Record &row, const MEpoch &time, const Double &interval)
fill - a new row is always added
void clearRow()
cleanup the row related stuff
void clearAll()
cleanup everything
A Measure: instant in time.
ScalarMeasColumn< MEpoch > timeMeas_p
the TIME 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 attach(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach to a MS - any unhandled fields in row are handled here.
SDFITSHandler & operator=(const SDFITSHandler &other)
assignment operator, uses copy semantics
A hierarchical collection of named fields of various types.
ScalarQuantColumn< Double > intervalQuant_p
the INTERVAL column
CopyRecordToTable * copier_p
this copies everything from the row to the table
A Table intended to hold astronomical data (a set of Measurements).
SDFITSHandler()
default ctor is not attached to a MS and hence is useless until attached
Define the structure of a Casacore table.
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
Copies fields from a Record to columns of a Table.
Table * tab_p
the output table