casacore::SDFeedHandler Class Reference

#include <SDFeedHandler.h>

List of all members.

Public Member Functions

 SDFeedHandler ()
 default ctor is not attached to a MS and hence is useless until attached
 SDFeedHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach this to a MS - no columns are explicitly handled here
 SDFeedHandler (const SDFeedHandler &other)
 copy ctor
 ~SDFeedHandler ()
SDFeedHandleroperator= (const SDFeedHandler &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
void fill (const Record &row, Int antennaId, Int spwinId, const Vector< Int > &stokes)
 fill - a new row is added only when necessary
Int feedId ()
 get the current feed ID
Int numReceptors ()
 the current NUM_RECEPTORS value

Private Member Functions

void stokesToPolType (const Vector< Int > &stokes, Vector< String > &polType)
 get the polarization type from the stokes vector
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 row

Private Attributes

RecordFieldPtr< IntnumRecpKey_p
ColumnsIndexindex_p
MSFeedmsFeed_p
MSFeedColumnsmsFeedCols_p
Int feedId_p
Int nextFeedId_p
Int nrecpt_p
RORecordFieldPtr< Intfeed1Field_p
 fields which might be the result of saving via ms2sdfits
RORecordFieldPtr< Intfeed2Field_p
RORecordFieldPtr< IntbeamIdField_p
RORecordFieldPtr< IntphasedFeedIdField_p
RORecordFieldPtr< IntnumReceptorsField_p
RORecordFieldPtr< DoubleintervalField_p
RORecordFieldPtr< DoubletimeField_p
RORecordFieldPtr< DoublescaReceptorAngleField_p
RORecordFieldPtr< Array< Double > > beamOffsetField_p
RORecordFieldPtr< Array< Double > > positionField_p
RORecordFieldPtr< Array< Double > > receptorAngleField_p
RORecordFieldPtr< Array
< Complex > > 
polResponseField_p
RORecordFieldPtr< StringpolarizationTypeField_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 SDFeedHandler.h.


Constructor & Destructor Documentation

casacore::SDFeedHandler::SDFeedHandler (  ) 

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

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

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

casacore::SDFeedHandler::SDFeedHandler ( const SDFeedHandler other  ) 

copy ctor

casacore::SDFeedHandler::~SDFeedHandler (  )  [inline]

Definition at line 100 of file SDFeedHandler.h.

References clearAll().


Member Function Documentation

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

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

void casacore::SDFeedHandler::clearAll (  )  [private]

cleanup everything

Referenced by ~SDFeedHandler().

void casacore::SDFeedHandler::clearRow (  )  [private]
Int casacore::SDFeedHandler::feedId (  )  [inline]

get the current feed ID

Definition at line 115 of file SDFeedHandler.h.

References feedId_p.

void casacore::SDFeedHandler::fill ( const Record row,
Int  antennaId,
Int  spwinId,
const Vector< Int > &  stokes 
)

fill - a new row is added only when necessary

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

initialize everything

void casacore::SDFeedHandler::initRow ( Vector< Bool > &  handledCols,
const Record row 
) [private]

initialize things which depend on row

Int casacore::SDFeedHandler::numReceptors (  )  [inline]

the current NUM_RECEPTORS value

Definition at line 118 of file SDFeedHandler.h.

References nrecpt_p.

SDFeedHandler& casacore::SDFeedHandler::operator= ( const SDFeedHandler other  ) 

assignment operator, uses copy semantics

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

reset internals given indicated row, use the same MS

void casacore::SDFeedHandler::stokesToPolType ( const Vector< Int > &  stokes,
Vector< String > &  polType 
) [private]

get the polarization type from the stokes vector


Member Data Documentation

Definition at line 128 of file SDFeedHandler.h.

Definition at line 130 of file SDFeedHandler.h.

fields which might be the result of saving via ms2sdfits

Definition at line 128 of file SDFeedHandler.h.

Definition at line 128 of file SDFeedHandler.h.

Definition at line 125 of file SDFeedHandler.h.

Referenced by feedId().

Definition at line 121 of file SDFeedHandler.h.

Definition at line 129 of file SDFeedHandler.h.

Definition at line 122 of file SDFeedHandler.h.

Definition at line 123 of file SDFeedHandler.h.

Definition at line 125 of file SDFeedHandler.h.

Definition at line 125 of file SDFeedHandler.h.

Referenced by numReceptors().

Definition at line 128 of file SDFeedHandler.h.

Definition at line 120 of file SDFeedHandler.h.

Definition at line 128 of file SDFeedHandler.h.

Definition at line 132 of file SDFeedHandler.h.

Definition at line 131 of file SDFeedHandler.h.

Definition at line 130 of file SDFeedHandler.h.

Definition at line 130 of file SDFeedHandler.h.

Definition at line 129 of file SDFeedHandler.h.

Definition at line 129 of file SDFeedHandler.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1