28 #ifndef MS_MSPOLCOLUMNS_H
29 #define MS_MSPOLCOLUMNS_H
39 template <
class T>
class Vector;
40 template <
class T>
class Matrix;
A 1-D Specialization of the Array class.
std::vector< double > Vector
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.
const ROScalarColumn< Int > & numCorr() const
ROMSPolarizationColumns & operator=(const ROMSPolarizationColumns &)
const ROScalarColumn< Bool > & flagRow() const
const ROArrayColumn< Int > & corrProduct() const
Access to required columns.
ROArrayColumn< Int > corrProduct_p
ROScalarColumn< Bool > flagRow_p
const ROArrayColumn< Int > & corrProduct() const
Read-only access to required columns.
ROMSPolarizationColumns()
~ROMSPolarizationColumns()
The destructor does nothing special.
void attach(MSPolarization &msPolarization)
const ROScalarColumn< Int > & numCorr() const
ROScalarColumn< Int > numCorr_p
~MSPolarizationColumns()
The destructor does nothing special.
uInt nrow() const
Convenience function that returns the number of rows in any of the columns.
MSPolarizationColumns & operator=(const MSPolarizationColumns &)
ScalarColumn< Bool > & flagRow()
A Table intended to hold a MeasurementSet POLARIZATION table.
bool Bool
Define the standard types used by Casacore.
const ROScalarColumn< Bool > & flagRow() const
ScalarColumn< Int > numCorr_p
void attach(const MSPolarization &msPolarization)
ArrayColumn< Int > corrType_p
ScalarColumn< Bool > flagRow_p
A class to provide easy read-write access to MSPolarization columns.
ROArrayColumn< Int > corrType_p
A class to provide easy read-only access to MSPolarization columns.
ArrayColumn< Int > & corrType()
Bool matchCorrType(uInt row, const Vector< Int > &polType) const
Bool matchCorrProduct(uInt row, const Matrix< Int > &polProduct) const
ArrayColumn< Int > & corrProduct()
Read-write access to required columns.
const ROArrayColumn< Int > & corrType() const
ScalarColumn< Int > & numCorr()
const ROArrayColumn< Int > & corrType() const
ArrayColumn< Int > corrProduct_p
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.