Go to the documentation of this file.
28 #ifndef MS_MSPOLCOLUMNS_H
29 #define MS_MSPOLCOLUMNS_H
31 #include <casacore/casa/aips.h>
32 #include <casacore/tables/Tables/ArrayColumn.h>
33 #include <casacore/tables/Tables/ScalarColumn.h>
34 #include <casacore/measures/Measures/Stokes.h>
39 template <
class T>
class Vector;
40 template <
class T>
class Matrix;
void attach(const MSPolarization &msPolarization)
MSPolarizationColumns(const MSPolarization &msPolarization)
Create a columns object that accesses the data in the specified Table.
ScalarColumn< Bool > flagRow_p
ArrayColumn< Int > & corrProduct()
Access to required columns.
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,...
ArrayColumn< Int > & corrType()
uInt nrow() const
Convenience function that returns the number of rows in any of the columns.
MSPolarizationColumns & operator=(const MSPolarizationColumns &)
Bool matchCorrProduct(uInt row, const Matrix< Int > &polProduct) const
const ScalarColumn< Bool > & flagRow() const
~MSPolarizationColumns()
The destructor does nothing special.
MSPolarizationColumns(const MSPolarizationColumns &)
ArrayColumn< Int > corrProduct_p
ScalarColumn< Int > numCorr_p
Bool matchCorrType(uInt row, const Vector< Int > &polType) const
const ArrayColumn< Int > & corrProduct() const
Const access to required columns.
this file contains all the compiler specific defines
ScalarColumn< Int > & numCorr()
ScalarColumn< Bool > & flagRow()
bool Bool
Define the standard types used by Casacore.
const ArrayColumn< Int > & corrType() const
MSPolarizationColumns ROMSPolarizationColumns
ArrayColumn< Int > corrType_p
const ScalarColumn< Int > & numCorr() const