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

A class to provide easy read-write access to MSPolarization columns. More...

#include <MSPolColumns.h>

Inheritance diagram for casacore::MSPolarizationColumns:
casacore::ROMSPolarizationColumns

Public Member Functions

 MSPolarizationColumns (MSPolarization &msPolarization)
 Create a columns object that accesses the data in the specified Table. More...
 
 ~MSPolarizationColumns ()
 The destructor does nothing special. More...
 
ArrayColumn< Int > & corrProduct ()
 Read-write access to required columns. More...
 
ArrayColumn< Int > & corrType ()
 
ScalarColumn< Bool > & flagRow ()
 
ScalarColumn< Int > & numCorr ()
 
const ROArrayColumn< Int > & corrProduct () const
 Read-only access to required columns. More...
 
const ROArrayColumn< Int > & corrType () const
 
const ROScalarColumn< Bool > & flagRow () const
 
const ROScalarColumn< Int > & numCorr () const
 
- Public Member Functions inherited from casacore::ROMSPolarizationColumns
 ROMSPolarizationColumns (const MSPolarization &msPolarization)
 Create a columns object that accesses the data in the specified Table. More...
 
 ~ROMSPolarizationColumns ()
 The destructor does nothing special. More...
 
const ROArrayColumn< Int > & corrProduct () const
 Access to required columns. More...
 
const ROArrayColumn< Int > & corrType () const
 
const ROScalarColumn< Bool > & flagRow () const
 
const ROScalarColumn< Int > & numCorr () const
 
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns. More...
 
Int match (const Vector< Stokes::StokesTypes > &polType, Int tryRow=-1)
 returns the last row that contains the an entry in the CORR_TYPE column that matches, in length and value, the supplied corrType Vector. More...
 

Protected Member Functions

 MSPolarizationColumns ()
 
void attach (MSPolarization &msPolarization)
 
- Protected Member Functions inherited from casacore::ROMSPolarizationColumns
 ROMSPolarizationColumns ()
 
void attach (const MSPolarization &msPolarization)
 

Private Member Functions

 MSPolarizationColumns (const MSPolarizationColumns &)
 
MSPolarizationColumnsoperator= (const MSPolarizationColumns &)
 

Private Attributes

ArrayColumn< IntcorrProduct_p
 
ArrayColumn< IntcorrType_p
 
ScalarColumn< BoolflagRow_p
 
ScalarColumn< IntnumCorr_p
 

Detailed Description

A class to provide easy read-write access to MSPolarization columns.

Intended use:

Public interface

Review Status

Reviewed By:
Bob Garwood
Date Reviewed:
1997/02/01

Prerequisite

Etymology

MSPolarizationColumns stands for MeasurementSet Polarization Table columns.

Synopsis

This class provides access to the columns in the MSPolarization Table, it does the declaration of all the Scalar and ArrayColumns with the correct types, so the application programmer doesn't have to worry about getting those right. There is an access function for every predefined column. Access to non-predefined columns will still have to be done with explicit declarations. See MSColumns for an example.

Motivation

See MSColumns for the motivation.

Definition at line 163 of file MSPolColumns.h.

Constructor & Destructor Documentation

casacore::MSPolarizationColumns::MSPolarizationColumns ( MSPolarization msPolarization)

Create a columns object that accesses the data in the specified Table.

casacore::MSPolarizationColumns::~MSPolarizationColumns ( )

The destructor does nothing special.

casacore::MSPolarizationColumns::MSPolarizationColumns ( )
protected
casacore::MSPolarizationColumns::MSPolarizationColumns ( const MSPolarizationColumns )
private

Member Function Documentation

void casacore::MSPolarizationColumns::attach ( MSPolarization msPolarization)
protected
ArrayColumn<Int>& casacore::MSPolarizationColumns::corrProduct ( )
inline

Read-write access to required columns.

Definition at line 174 of file MSPolColumns.h.

References corrProduct_p.

const ROArrayColumn<Int>& casacore::MSPolarizationColumns::corrProduct ( ) const
inline

Read-only access to required columns.

Definition at line 182 of file MSPolColumns.h.

References casacore::ROMSPolarizationColumns::corrProduct().

ArrayColumn<Int>& casacore::MSPolarizationColumns::corrType ( )
inline

Definition at line 175 of file MSPolColumns.h.

References corrType_p.

const ROArrayColumn<Int>& casacore::MSPolarizationColumns::corrType ( ) const
inline

Definition at line 184 of file MSPolColumns.h.

References casacore::ROMSPolarizationColumns::corrType().

ScalarColumn<Bool>& casacore::MSPolarizationColumns::flagRow ( )
inline

Definition at line 176 of file MSPolColumns.h.

References flagRow_p.

const ROScalarColumn<Bool>& casacore::MSPolarizationColumns::flagRow ( ) const
inline

Definition at line 186 of file MSPolColumns.h.

References casacore::ROMSPolarizationColumns::flagRow().

ScalarColumn<Int>& casacore::MSPolarizationColumns::numCorr ( )
inline

Definition at line 177 of file MSPolColumns.h.

References numCorr_p.

const ROScalarColumn<Int>& casacore::MSPolarizationColumns::numCorr ( ) const
inline

Definition at line 188 of file MSPolColumns.h.

References casacore::ROMSPolarizationColumns::numCorr().

MSPolarizationColumns& casacore::MSPolarizationColumns::operator= ( const MSPolarizationColumns )
private

Member Data Documentation

ArrayColumn<Int> casacore::MSPolarizationColumns::corrProduct_p
private

Definition at line 207 of file MSPolColumns.h.

Referenced by corrProduct().

ArrayColumn<Int> casacore::MSPolarizationColumns::corrType_p
private

Definition at line 208 of file MSPolColumns.h.

Referenced by corrType().

ScalarColumn<Bool> casacore::MSPolarizationColumns::flagRow_p
private

Definition at line 209 of file MSPolColumns.h.

Referenced by flagRow().

ScalarColumn<Int> casacore::MSPolarizationColumns::numCorr_p
private

Definition at line 210 of file MSPolColumns.h.

Referenced by numCorr().


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