casa
$Rev:20696$
|
#include <SDPolarizationHandler.h>
Public Member Functions | |
SDPolarizationHandler () | |
default ctor is not attached to a MS and hence is useless until attached | |
SDPolarizationHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) | |
attach this to a MS - no columns are explicitly handled here | |
SDPolarizationHandler (const SDPolarizationHandler &other) | |
copy ctor | |
~SDPolarizationHandler () | |
SDPolarizationHandler & | operator= (const SDPolarizationHandler &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 Vector< Int > &stokes) |
fill - a new row is added only when necessary | |
Int | polarizationId () |
get the current polarization ID | |
Private Member Functions | |
void | stokesKeys (Int stokesValue, Int &key1, Int &key2) |
decompose a stokes value into constituent parts for use in making the CORR_PRODUCT matrix | |
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) |
Private Attributes | |
RecordFieldPtr< Int > | numCorrKey_p |
ColumnsIndex * | index_p |
MSPolarization * | msPol_p |
MSPolarizationColumns * | msPolCols_p |
Int | rownr_p |
RORecordFieldPtr< Int > | numCorrField_p |
from a pre-existing MS | |
RORecordFieldPtr< Array< Int > > | corrTypeField_p |
RORecordFieldPtr< Array< Int > > | corrProductField_p |
RORecordFieldPtr< Bool > | flagRowField_p |
Internal or
Internal
<h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl>
Definition at line 87 of file SDPolarizationHandler.h.
default ctor is not attached to a MS and hence is useless until attached
casa::SDPolarizationHandler::SDPolarizationHandler | ( | MeasurementSet & | ms, |
Vector< Bool > & | handledCols, | ||
const Record & | row | ||
) |
attach this to a MS - no columns are explicitly handled here
casa::SDPolarizationHandler::SDPolarizationHandler | ( | const SDPolarizationHandler & | other | ) |
copy ctor
casa::SDPolarizationHandler::~SDPolarizationHandler | ( | ) | [inline] |
Definition at line 99 of file SDPolarizationHandler.h.
References clearAll().
void casa::SDPolarizationHandler::attach | ( | MeasurementSet & | ms, |
Vector< Bool > & | handledCols, | ||
const Record & | row | ||
) |
attach to a MS, the handledCols and row arguments are ignored here
void casa::SDPolarizationHandler::clearAll | ( | ) | [private] |
cleanup everything
Referenced by ~SDPolarizationHandler().
void casa::SDPolarizationHandler::clearRow | ( | ) | [private] |
void casa::SDPolarizationHandler::fill | ( | const Record & | row, |
const Vector< Int > & | stokes | ||
) |
fill - a new row is added only when necessary
void casa::SDPolarizationHandler::initAll | ( | MeasurementSet & | ms, |
Vector< Bool > & | handledCols, | ||
const Record & | row | ||
) | [private] |
initialize everything
void casa::SDPolarizationHandler::initRow | ( | Vector< Bool > & | handledCols, |
const Record & | row | ||
) | [private] |
SDPolarizationHandler& casa::SDPolarizationHandler::operator= | ( | const SDPolarizationHandler & | other | ) |
assignment operator, uses copy semantics
Int casa::SDPolarizationHandler::polarizationId | ( | ) | [inline] |
get the current polarization ID
Definition at line 114 of file SDPolarizationHandler.h.
References rownr_p.
void casa::SDPolarizationHandler::resetRow | ( | const Record & | row | ) |
reset internals given indicated row, use the same MS; just resets the id pointer
void casa::SDPolarizationHandler::stokesKeys | ( | Int | stokesValue, |
Int & | key1, | ||
Int & | key2 | ||
) | [private] |
decompose a stokes value into constituent parts for use in making the CORR_PRODUCT matrix
Definition at line 125 of file SDPolarizationHandler.h.
Definition at line 125 of file SDPolarizationHandler.h.
Definition at line 126 of file SDPolarizationHandler.h.
ColumnsIndex* casa::SDPolarizationHandler::index_p [private] |
Definition at line 117 of file SDPolarizationHandler.h.
Definition at line 118 of file SDPolarizationHandler.h.
Definition at line 119 of file SDPolarizationHandler.h.
from a pre-existing MS
Definition at line 124 of file SDPolarizationHandler.h.
Definition at line 116 of file SDPolarizationHandler.h.
Int casa::SDPolarizationHandler::rownr_p [private] |
Definition at line 121 of file SDPolarizationHandler.h.
Referenced by polarizationId().