29 #ifndef MS_SDPOINTINGHANDLER_H
30 #define MS_SDPOINTINGHANDLER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Containers/RecordField.h>
34 #include <casacore/measures/Measures/MDirection.h>
35 #include <casacore/casa/Arrays/Matrix.h>
36 #include <casacore/casa/Arrays/ArrayFwd.h>
43 class MSPointingColumns;
virtual uInt getType() const
Return the type of the reference Caution: the following should really be (and should be interpreted ...
Read-Only access to an individual field from a Record.
void resetRow(const Record &)
reset internals given indicated row, use the same MS
void clearAll()
cleanup everything
RORecordFieldPtr< String > objectField_p
SDPointingHandler(const SDPointingHandler &other)
copy ctor
RORecordFieldPtr< Double > intervalField_p
Matrix< Double > directionPoly_p
const Matrix< Double > & directionPoly()
Int nrow()
convenience functions for use when filling the FIELD table, which is mostly just a clone of this tabl...
RORecordFieldPtr< Double > timeField_p
SDPointingHandler(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach this to a MS, mark fields row which are handled here
void fill(const Record &row, Int antennaId, Double time, const Vector< Double > &timeRange, const MDirection &direction, const MeasFrame &frame)
fill - a new row is added when a) the name changes b) the time changes such that it would be outside ...
MSPointing * msPointing_p
MSPointingColumns * msPointingCols_p
RORecordFieldPtr< String > nameField_p
RORecordFieldPtr< Array< Double > > pointingDirRateField_p
these might come from an MS table this can just come from an MS v1 table
void initRow(Vector< Bool > &handledCols, const Record &row)
initialize everythign which depends on row
Vector< Double > directionRate_p
SDPointingHandler & operator=(const SDPointingHandler &other)
assignment operator, uses copy semantics
void initAll(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
initialize everything
void attach(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach to a MS, mark fields in row which are handled here
void clearRow()
cleanup things which depend on the row
MDirection::Ref dirColRef_p
RORecordFieldPtr< Bool > trackingField_p
SDPointingHandler()
default ctor is not attached to a MS and hence is useless until attached
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines