casa
5.7.0-16
|
#include <SDFieldHandler.h>
Public Member Functions | |
SDFieldHandler () | |
default ctor is not attached to a MS and hence is useless until attached More... | |
SDFieldHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) | |
attach this to a MS - no columns are explicitly handled here More... | |
SDFieldHandler (const SDFieldHandler &other) | |
copy ctor More... | |
~SDFieldHandler () | |
SDFieldHandler & | operator= (const SDFieldHandler &other) |
assignment operator, uses copy semantics More... | |
void | attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
attach to a MS, the handledCols and row arguments are ignored here More... | |
void | resetRow (const Record &row) |
reset internals given indicated row, use the same MS; just resets the id pointer More... | |
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 More... | |
Int | fieldId () |
get the current field ID More... | |
Private Member Functions | |
void | clearAll () |
cleanup everything More... | |
void | clearRow () |
void | initAll (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
initialize everything More... | |
void | initRow (Vector< Bool > &handledCols, const Record &row) |
initialize things which depend on the row More... | |
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 More... | |
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
|
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
|
private |
cleanup everything
Referenced by ~SDFieldHandler().
|
private |
|
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
|
private |
initialize everything
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
|
private |
Definition at line 129 of file SDFieldHandler.h.
|
private |
Definition at line 131 of file SDFieldHandler.h.
|
private |
Definition at line 131 of file SDFieldHandler.h.
|
private |
fields which might be present if the data is originally from a MS
Definition at line 128 of file SDFieldHandler.h.
|
private |
Definition at line 134 of file SDFieldHandler.h.
|
private |
Definition at line 136 of file SDFieldHandler.h.
|
private |
Definition at line 122 of file SDFieldHandler.h.
|
private |
Definition at line 123 of file SDFieldHandler.h.
|
private |
Definition at line 129 of file SDFieldHandler.h.
|
private |
Definition at line 137 of file SDFieldHandler.h.
|
private |
Definition at line 131 of file SDFieldHandler.h.
|
private |
Definition at line 131 of file SDFieldHandler.h.
|
private |
Definition at line 131 of file SDFieldHandler.h.
|
private |
Definition at line 131 of file SDFieldHandler.h.
|
private |
Definition at line 125 of file SDFieldHandler.h.
Referenced by fieldId().
|
private |
Definition at line 138 of file SDFieldHandler.h.
|
private |
Definition at line 130 of file SDFieldHandler.h.
|
private |
Definition at line 139 of file SDFieldHandler.h.