casa
$Rev:20696$
|
#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
<h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl>
Definition at line 90 of file SDFieldHandler.h.
default ctor is not attached to a MS and hence is useless until attached
casa::SDFieldHandler::SDFieldHandler | ( | MeasurementSet & | ms, |
Vector< Bool > & | handledCols, | ||
const Record & | row | ||
) |
attach this to a MS - no columns are explicitly handled here
casa::SDFieldHandler::SDFieldHandler | ( | const SDFieldHandler & | other | ) |
copy ctor
casa::SDFieldHandler::~SDFieldHandler | ( | ) | [inline] |
Definition at line 102 of file SDFieldHandler.h.
References clearAll().
void casa::SDFieldHandler::attach | ( | MeasurementSet & | ms, |
Vector< Bool > & | handledCols, | ||
const Record & | row | ||
) |
attach to a MS, the handledCols and row arguments are ignored here
void casa::SDFieldHandler::clearAll | ( | ) | [private] |
cleanup everything
Referenced by ~SDFieldHandler().
void casa::SDFieldHandler::clearRow | ( | ) | [private] |
Int casa::SDFieldHandler::fieldId | ( | ) | [inline] |
void casa::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 casa::SDFieldHandler::initAll | ( | MeasurementSet & | ms, |
Vector< Bool > & | handledCols, | ||
const Record & | row | ||
) | [private] |
initialize everything
void casa::SDFieldHandler::initRow | ( | Vector< Bool > & | handledCols, |
const Record & | row | ||
) | [private] |
initialize things which depend on the row
SDFieldHandler& casa::SDFieldHandler::operator= | ( | const SDFieldHandler & | other | ) |
assignment operator, uses copy semantics
void casa::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.
RORecordFieldPtr<Array<Double> > casa::SDFieldHandler::delayDirField_p [private] |
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* casa::SDFieldHandler::index_p [private] |
Definition at line 136 of file SDFieldHandler.h.
MSField* casa::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.
RecordFieldPtr<String> casa::SDFieldHandler::nameKey_p [private] |
Definition at line 137 of file SDFieldHandler.h.
RORecordFieldPtr<Array<Double> > casa::SDFieldHandler::phaseDirField_p [private] |
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 casa::SDFieldHandler::rownr_p [private] |
Definition at line 125 of file SDFieldHandler.h.
Referenced by fieldId().
RecordFieldPtr<Int> casa::SDFieldHandler::sourceIdKey_p [private] |
Definition at line 138 of file SDFieldHandler.h.
Definition at line 130 of file SDFieldHandler.h.
RecordFieldPtr<Double> casa::SDFieldHandler::timeKey_p [private] |
Definition at line 139 of file SDFieldHandler.h.