casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::SDPolarizationHandler Class Reference

#include <SDPolarizationHandler.h>

Public Member Functions

 SDPolarizationHandler ()
 default ctor is not attached to a MS and hence is useless until attached More...
 
 SDPolarizationHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach this to a MS - no columns are explicitly handled here More...
 
 SDPolarizationHandler (const SDPolarizationHandler &other)
 copy ctor More...
 
 ~SDPolarizationHandler ()
 
SDPolarizationHandleroperator= (const SDPolarizationHandler &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 Vector< Int > &stokes)
 fill - a new row is added only when necessary More...
 
Int polarizationId ()
 get the current polarization ID More...
 

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 More...
 
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)
 

Private Attributes

RecordFieldPtr< IntnumCorrKey_p
 
ColumnsIndexindex_p
 
MSPolarizationmsPol_p
 
MSPolarizationColumnsmsPolCols_p
 
Int rownr_p
 
RORecordFieldPtr< IntnumCorrField_p
 from a pre-existing MS More...
 
RORecordFieldPtr< Array< Int > > corrTypeField_p
 
RORecordFieldPtr< Array< Int > > corrProductField_p
 
RORecordFieldPtr< BoolflagRowField_p
 

Detailed Description

Intended use:

Internal or

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 88 of file SDPolarizationHandler.h.

Constructor & Destructor Documentation

casacore::SDPolarizationHandler::SDPolarizationHandler ( )

default ctor is not attached to a MS and hence is useless until attached

casacore::SDPolarizationHandler::SDPolarizationHandler ( MeasurementSet ms,
Vector< Bool > &  handledCols,
const Record row 
)

attach this to a MS - no columns are explicitly handled here

casacore::SDPolarizationHandler::SDPolarizationHandler ( const SDPolarizationHandler other)

copy ctor

casacore::SDPolarizationHandler::~SDPolarizationHandler ( )
inline

Definition at line 100 of file SDPolarizationHandler.h.

References clearAll().

Member Function Documentation

void casacore::SDPolarizationHandler::attach ( MeasurementSet ms,
Vector< Bool > &  handledCols,
const Record row 
)

attach to a MS, the handledCols and row arguments are ignored here

void casacore::SDPolarizationHandler::clearAll ( )
private

cleanup everything

Referenced by ~SDPolarizationHandler().

void casacore::SDPolarizationHandler::clearRow ( )
private
void casacore::SDPolarizationHandler::fill ( const Record row,
const Vector< Int > &  stokes 
)

fill - a new row is added only when necessary

void casacore::SDPolarizationHandler::initAll ( MeasurementSet ms,
Vector< Bool > &  handledCols,
const Record row 
)
private

initialize everything

void casacore::SDPolarizationHandler::initRow ( Vector< Bool > &  handledCols,
const Record row 
)
private
SDPolarizationHandler& casacore::SDPolarizationHandler::operator= ( const SDPolarizationHandler other)

assignment operator, uses copy semantics

Int casacore::SDPolarizationHandler::polarizationId ( )
inline

get the current polarization ID

Definition at line 115 of file SDPolarizationHandler.h.

References rownr_p.

void casacore::SDPolarizationHandler::resetRow ( const Record row)

reset internals given indicated row, use the same MS; just resets the id pointer

void casacore::SDPolarizationHandler::stokesKeys ( Int  stokesValue,
Int key1,
Int key2 
)
private

decompose a stokes value into constituent parts for use in making the CORR_PRODUCT matrix

Member Data Documentation

RORecordFieldPtr<Array<Int> > casacore::SDPolarizationHandler::corrProductField_p
private

Definition at line 126 of file SDPolarizationHandler.h.

RORecordFieldPtr<Array<Int> > casacore::SDPolarizationHandler::corrTypeField_p
private

Definition at line 126 of file SDPolarizationHandler.h.

RORecordFieldPtr<Bool> casacore::SDPolarizationHandler::flagRowField_p
private

Definition at line 127 of file SDPolarizationHandler.h.

ColumnsIndex* casacore::SDPolarizationHandler::index_p
private

Definition at line 118 of file SDPolarizationHandler.h.

MSPolarization* casacore::SDPolarizationHandler::msPol_p
private

Definition at line 119 of file SDPolarizationHandler.h.

MSPolarizationColumns* casacore::SDPolarizationHandler::msPolCols_p
private

Definition at line 120 of file SDPolarizationHandler.h.

RORecordFieldPtr<Int> casacore::SDPolarizationHandler::numCorrField_p
private

from a pre-existing MS

Definition at line 125 of file SDPolarizationHandler.h.

RecordFieldPtr<Int> casacore::SDPolarizationHandler::numCorrKey_p
private

Definition at line 117 of file SDPolarizationHandler.h.

Int casacore::SDPolarizationHandler::rownr_p
private

Definition at line 122 of file SDPolarizationHandler.h.

Referenced by polarizationId().


The documentation for this class was generated from the following file: