casa
$Rev:20696$
|
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. | |
~MSPolarizationColumns () | |
The destructor does nothing special. | |
ArrayColumn< Int > & | corrProduct () |
Read-write access to required columns. | |
ArrayColumn< Int > & | corrType () |
ScalarColumn< Bool > & | flagRow () |
ScalarColumn< Int > & | numCorr () |
const ROArrayColumn< Int > & | corrProduct () const |
Read-only access to required columns. | |
const ROArrayColumn< Int > & | corrType () const |
const ROScalarColumn< Bool > & | flagRow () const |
const ROScalarColumn< Int > & | numCorr () const |
Protected Member Functions | |
MSPolarizationColumns () | |
void | attach (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.
casa::MSPolarizationColumns::MSPolarizationColumns | ( | MSPolarization & | msPolarization | ) |
Create a columns object that accesses the data in the specified Table.
The destructor does nothing special.
casa::MSPolarizationColumns::MSPolarizationColumns | ( | ) | [protected] |
casa::MSPolarizationColumns::MSPolarizationColumns | ( | const MSPolarizationColumns & | ) | [private] |
void casa::MSPolarizationColumns::attach | ( | MSPolarization & | msPolarization | ) | [protected] |
ArrayColumn<Int>& casa::MSPolarizationColumns::corrProduct | ( | ) | [inline] |
Read-write access to required columns.
Definition at line 174 of file MSPolColumns.h.
References corrProduct_p.
Referenced by corrProduct().
const ROArrayColumn<Int>& casa::MSPolarizationColumns::corrProduct | ( | ) | const [inline] |
Read-only access to required columns.
Reimplemented from casa::ROMSPolarizationColumns.
Definition at line 182 of file MSPolColumns.h.
References corrProduct().
ArrayColumn<Int>& casa::MSPolarizationColumns::corrType | ( | ) | [inline] |
const ROArrayColumn<Int>& casa::MSPolarizationColumns::corrType | ( | ) | const [inline] |
Reimplemented from casa::ROMSPolarizationColumns.
Definition at line 184 of file MSPolColumns.h.
References corrType().
ScalarColumn<Bool>& casa::MSPolarizationColumns::flagRow | ( | ) | [inline] |
const ROScalarColumn<Bool>& casa::MSPolarizationColumns::flagRow | ( | ) | const [inline] |
Reimplemented from casa::ROMSPolarizationColumns.
Definition at line 186 of file MSPolColumns.h.
References flagRow().
ScalarColumn<Int>& casa::MSPolarizationColumns::numCorr | ( | ) | [inline] |
const ROScalarColumn<Int>& casa::MSPolarizationColumns::numCorr | ( | ) | const [inline] |
Reimplemented from casa::ROMSPolarizationColumns.
Definition at line 188 of file MSPolColumns.h.
References numCorr().
MSPolarizationColumns& casa::MSPolarizationColumns::operator= | ( | const MSPolarizationColumns & | ) | [private] |
Reimplemented from casa::ROMSPolarizationColumns.
Definition at line 207 of file MSPolColumns.h.
Referenced by corrProduct().
Reimplemented from casa::ROMSPolarizationColumns.
Definition at line 208 of file MSPolColumns.h.
Referenced by corrType().
Reimplemented from casa::ROMSPolarizationColumns.
Definition at line 209 of file MSPolColumns.h.
Referenced by flagRow().
Reimplemented from casa::ROMSPolarizationColumns.
Definition at line 210 of file MSPolColumns.h.
Referenced by numCorr().