#include <SDFieldHandler.h>
Public Member Functions | |
SDFieldHandler () | |
default ctor is not attached to a MS and hence is useless until attached | |
SDFieldHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) | |
attach this to a MS - no columns are explicitly handled here | |
SDFieldHandler (const SDFieldHandler &other) | |
copy ctor | |
~SDFieldHandler () | |
SDFieldHandler & | operator= (const SDFieldHandler &other) |
assignment operator, uses copy semantics | |
void | attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
attach to a MS, the handledCols and row arguments are ignored here | |
void | resetRow (const Record &row) |
reset internals given indicated row, use the same MS; just resets the id pointer | |
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 existing MAIN_FIELD_ID is used to see if that existing row might be reused | |
Int | fieldId () |
get the current field ID | |
Private Member Functions | |
void | clearAll () |
cleanup everything | |
void | clearRow () |
void | initAll (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
initialize everything | |
void | initRow (Vector< Bool > &handledCols, const Record &row) |
initialize things which depend on the row | |
Private Attributes | |
MSField * | msField_p |
MSFieldColumns * | msFieldCols_p |
Int | rownr_p |
RORecordFieldPtr< Int > | fieldIdField_p |
fields which might be present if the data is originally from a MS | |
RORecordFieldPtr< String > | codeField_p |
RORecordFieldPtr< String > | nameField_p |
RORecordFieldPtr< Double > | timeField_p |
RORecordFieldPtr< Array< Double > > | delayDirField_p |
RORecordFieldPtr< Array< Double > > | delayDirRateField_p |
RORecordFieldPtr< Array< Double > > | phaseDirField_p |
RORecordFieldPtr< Array< Double > > | phaseDirRateField_p |
RORecordFieldPtr< Array< Double > > | referenceDirField_p |
RORecordFieldPtr< Array< Double > > | referenceDirRateField_p |
RORecordFieldPtr< Bool > | flagRowField_p |
ColumnsIndex * | index_p |
RecordFieldPtr< String > | nameKey_p |
RecordFieldPtr< Int > | sourceIdKey_p |
RecordFieldPtr< Double > | timeKey_p |
Internal or
Internal
Definition at line 90 of file SDFieldHandler.h.
casacore::SDFieldHandler::SDFieldHandler | ( | ) |
default ctor is not attached to a MS and hence is useless until attached
casacore::SDFieldHandler::SDFieldHandler | ( | MeasurementSet & | ms, | |
Vector< Bool > & | handledCols, | |||
const Record & | row | |||
) |
attach this to a MS - no columns are explicitly handled here
casacore::SDFieldHandler::SDFieldHandler | ( | const SDFieldHandler & | other | ) |
copy ctor
casacore::SDFieldHandler::~SDFieldHandler | ( | ) | [inline] |
Definition at line 102 of file SDFieldHandler.h.
References clearAll().
void casacore::SDFieldHandler::attach | ( | MeasurementSet & | ms, | |
Vector< Bool > & | handledCols, | |||
const Record & | row | |||
) |
attach to a MS, the handledCols and row arguments are ignored here
void casacore::SDFieldHandler::clearAll | ( | ) | [private] |
cleanup everything
Referenced by ~SDFieldHandler().
void casacore::SDFieldHandler::clearRow | ( | ) | [private] |
Int casacore::SDFieldHandler::fieldId | ( | ) | [inline] |
void casacore::SDFieldHandler::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 existing MAIN_FIELD_ID is used to see if that existing row might be reused
void casacore::SDFieldHandler::initAll | ( | MeasurementSet & | ms, | |
Vector< Bool > & | handledCols, | |||
const Record & | row | |||
) | [private] |
initialize everything
void casacore::SDFieldHandler::initRow | ( | Vector< Bool > & | handledCols, | |
const Record & | row | |||
) | [private] |
initialize things which depend on the row
SDFieldHandler& casacore::SDFieldHandler::operator= | ( | const SDFieldHandler & | other | ) |
assignment operator, uses copy semantics
void casacore::SDFieldHandler::resetRow | ( | const Record & | row | ) |
reset internals given indicated row, use the same MS; just resets the id pointer
Definition at line 129 of file SDFieldHandler.h.
Definition at line 131 of file SDFieldHandler.h.
Definition at line 131 of file SDFieldHandler.h.
fields which might be present if the data is originally from a MS
Definition at line 128 of file SDFieldHandler.h.
Definition at line 134 of file SDFieldHandler.h.
ColumnsIndex* casacore::SDFieldHandler::index_p [private] |
Definition at line 136 of file SDFieldHandler.h.
MSField* casacore::SDFieldHandler::msField_p [private] |
Definition at line 122 of file SDFieldHandler.h.
Definition at line 123 of file SDFieldHandler.h.
Definition at line 129 of file SDFieldHandler.h.
Definition at line 137 of file SDFieldHandler.h.
Definition at line 131 of file SDFieldHandler.h.
Definition at line 131 of file SDFieldHandler.h.
Definition at line 131 of file SDFieldHandler.h.
Definition at line 131 of file SDFieldHandler.h.
Int casacore::SDFieldHandler::rownr_p [private] |
Definition at line 125 of file SDFieldHandler.h.
Referenced by fieldId().
Definition at line 138 of file SDFieldHandler.h.
Definition at line 130 of file SDFieldHandler.h.
Definition at line 139 of file SDFieldHandler.h.