|
casacore
|
#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 85 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 97 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 124 of file SDFieldHandler.h.
|
private |
Definition at line 126 of file SDFieldHandler.h.
|
private |
Definition at line 126 of file SDFieldHandler.h.
|
private |
fields which might be present if the data is originally from a MS
Definition at line 123 of file SDFieldHandler.h.
|
private |
Definition at line 129 of file SDFieldHandler.h.
|
private |
Definition at line 131 of file SDFieldHandler.h.
|
private |
Definition at line 117 of file SDFieldHandler.h.
|
private |
Definition at line 118 of file SDFieldHandler.h.
|
private |
Definition at line 124 of file SDFieldHandler.h.
|
private |
Definition at line 132 of file SDFieldHandler.h.
|
private |
Definition at line 127 of file SDFieldHandler.h.
|
private |
Definition at line 127 of file SDFieldHandler.h.
|
private |
Definition at line 127 of file SDFieldHandler.h.
|
private |
Definition at line 128 of file SDFieldHandler.h.
|
private |
Definition at line 120 of file SDFieldHandler.h.
Referenced by fieldId().
|
private |
Definition at line 133 of file SDFieldHandler.h.
|
private |
Definition at line 125 of file SDFieldHandler.h.
|
private |
Definition at line 134 of file SDFieldHandler.h.