Go to the documentation of this file.
29 #ifndef MS_SDFIELDHANDLER_H
30 #define MS_SDFIELDHANDLER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Containers/RecordField.h>
45 template <
class T>
class Vector;
46 template <
class T>
class Matrix;
Access to an individual field in a record.
SDFieldHandler(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach this to a MS - no columns are explicitly handled here
void attach(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach to a MS, the handledCols and row arguments are ignored here
RORecordFieldPtr< Double > timeField_p
RecordFieldPtr< Double > timeKey_p
MSFieldColumns * msFieldCols_p
RORecordFieldPtr< Array< Double > > referenceDirField_p
Index to one or more columns in a table.
SDFieldHandler()
default ctor is not attached to a MS and hence is useless until attached
RORecordFieldPtr< Int > fieldIdField_p
fields which might be present if the data is originally from a MS
void initRow(Vector< Bool > &handledCols, const Record &row)
initialize things which depend on the row
void initAll(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
initialize everything
RORecordFieldPtr< Array< Double > > phaseDirRateField_p
SDFieldHandler & operator=(const SDFieldHandler &other)
assignment operator, uses copy semantics
this file contains all the compiler specific defines
void clearAll()
cleanup everything
RORecordFieldPtr< Array< Double > > referenceDirRateField_p
TableExprNode time(const TableExprNode &node)
RORecordFieldPtr< Array< Double > > delayDirField_p
RecordFieldPtr< String > nameKey_p
Int fieldId()
get the current field ID
A Table intended to hold astronomical data (a set of Measurements).
A Table intended to hold a MeasurementSet FIELD table.
RecordFieldPtr< Int > sourceIdKey_p
void resetRow(const Record &row)
reset internals given indicated row, use the same MS; just resets the id pointer
SDFieldHandler(const SDFieldHandler &other)
copy ctor
String: the storage and methods of handling collections of characters.
A hierarchical collection of named fields of various types.
RORecordFieldPtr< String > nameField_p
RORecordFieldPtr< Array< Double > > delayDirRateField_p
RORecordFieldPtr< Bool > flagRowField_p
void fill(const Record &row, const String &name, Int directionRefType, const Matrix< Double > &directionPoly, Double time, Int sourceId)
fill - a new row is added at each call unless the data is from a previous MS fill in which case an ex...
RORecordFieldPtr< String > codeField_p
A class to provide easy access to MSField columns.
RORecordFieldPtr< Array< Double > > phaseDirField_p