casa
5.7.0-16
|
A class to provide easy read-write access to MSPolarization columns. More...
#include <MSPolColumns.h>
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 &) | |
MSPolarizationColumns & | operator= (const MSPolarizationColumns &) |
Private Attributes | |
ArrayColumn< Int > | corrProduct_p |
ArrayColumn< Int > | corrType_p |
ScalarColumn< Bool > | flagRow_p |
ScalarColumn< Int > | numCorr_p |
A class to provide easy read-write access to MSPolarization columns.
Public interface
MSPolarizationColumns stands for MeasurementSet Polarization Table columns.
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.
See MSColumns for the motivation.
Definition at line 163 of file MSPolColumns.h.
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.
|
protected |
|
private |
|
protected |
|
inline |
Read-write access to required columns.
Definition at line 174 of file MSPolColumns.h.
References corrProduct_p.
|
inline |
Read-only access to required columns.
Definition at line 182 of file MSPolColumns.h.
References casacore::ROMSPolarizationColumns::corrProduct().
|
inline |
Definition at line 175 of file MSPolColumns.h.
References corrType_p.
|
inline |
Definition at line 184 of file MSPolColumns.h.
References casacore::ROMSPolarizationColumns::corrType().
|
inline |
Definition at line 176 of file MSPolColumns.h.
References flagRow_p.
|
inline |
Definition at line 186 of file MSPolColumns.h.
References casacore::ROMSPolarizationColumns::flagRow().
|
inline |
Definition at line 177 of file MSPolColumns.h.
References numCorr_p.
|
inline |
Definition at line 188 of file MSPolColumns.h.
References casacore::ROMSPolarizationColumns::numCorr().
|
private |
|
private |
Definition at line 207 of file MSPolColumns.h.
Referenced by corrProduct().
|
private |
Definition at line 208 of file MSPolColumns.h.
Referenced by corrType().
|
private |
Definition at line 209 of file MSPolColumns.h.
Referenced by flagRow().
|
private |
Definition at line 210 of file MSPolColumns.h.
Referenced by numCorr().