29 #ifndef MS_SDFITSHANDLER_H
30 #define MS_SDFITSHANDLER_H
40 class CopyRecordToTable;
45 template <
class T>
class Vector;
std::vector< double > Vector
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.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.
Table * tab_p
the output table