casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::MSPolarizationIndex Class Reference

Class to handle lookup or indexing into an MS POLARIZATION subtable. More...

#include <MSPolIndex.h>

List of all members.

Public Member Functions

 MSPolarizationIndex (const MSPolarization &polarizationTable)
 Construct from an MS POLARIZATION subtable.
virtual ~MSPolarizationIndex ()
 Null destructor.
Vector< IntmatchCorrTypeAndProduct (const Vector< Int > &corrType, const Matrix< Int > &corrProduct)
 Look up POLARIZATION_ID's for a given set of polarization correlation types and receptor cross-products.
Vector< IntmatchCorrType (const Vector< Int > &corrType, Bool exactMatch=True)
 /////////////////// Add for MS selection ////////////////////////////// Only Look up POLARIZATION_ID's for a given set of polarization correlation types

Private Member Functions

 MSPolarizationIndex ()
 Disallow null constructor.

Private Attributes

ROMSPolarizationColumns msPolarizationCols_p
 POLARIZATION subtable column accessor.
Vector< IntpolarizationIds_p
 Vector cache of polarization id's.
Int nrows_p

Detailed Description

Class to handle lookup or indexing into an MS POLARIZATION subtable.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

From "MeasurementSet", "POLARIZATION subtable" and "index".

Synopsis

This class provides lookup and indexing into an MS POLARIZATION subtable. These services include returning rows numbers (which for the POLARIZATION subtable are POLARIZATION_ID's) associated with specific data in the subtable.

Example

Motivation

Collect together all subtable indexing and lookup for the POLARIZATION subtable, for encapsulation and efficiency.

Thrown Exceptions

Definition at line 83 of file MSPolIndex.h.


Constructor & Destructor Documentation

Construct from an MS POLARIZATION subtable.

virtual casa::MSPolarizationIndex::~MSPolarizationIndex ( ) [inline, virtual]

Null destructor.

Definition at line 90 of file MSPolIndex.h.

Disallow null constructor.


Member Function Documentation

Vector<Int> casa::MSPolarizationIndex::matchCorrType ( const Vector< Int > &  corrType,
Bool  exactMatch = True 
)

/////////////////// Add for MS selection ////////////////////////////// Only Look up POLARIZATION_ID's for a given set of polarization correlation types

Vector<Int> casa::MSPolarizationIndex::matchCorrTypeAndProduct ( const Vector< Int > &  corrType,
const Matrix< Int > &  corrProduct 
)

Look up POLARIZATION_ID's for a given set of polarization correlation types and receptor cross-products.


Member Data Documentation

POLARIZATION subtable column accessor.

Definition at line 106 of file MSPolIndex.h.

Definition at line 110 of file MSPolIndex.h.

Vector cache of polarization id's.

Definition at line 109 of file MSPolIndex.h.


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