28 #ifndef MS_MSDATADESCCOLUMNS_H
29 #define MS_MSDATADESCCOLUMNS_H
36 class MSDataDescription;
void attach(const MSDataDescription &msDataDesc)
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
~MSDataDescColumns()
The destructor does nothing special.
ScalarColumn< Int > spectralWindowId_p
const ScalarColumn< Int > & spectralWindowId() const
ScalarColumn< Int > polarizationId_p
A Table intended to hold a MeasurementSet DATADESCRIPTION table.
ScalarColumn< Bool > flagRow_p
Int64 match(uInt spwId, uInt polId, Int64 tryRow=-1)
returns the last row that contains the specified entries in the SPECTRAL_WINDOW_ID & POLARIZATION_ID ...
ScalarColumn< Int > lagId_p
rownr_t nrow() const
Get the number of rows in the column.
void attachOptionalCols(const MSDataDescription &msDataDesc)
rownr_t nrow() const
Convenience function that returns the number of rows in any of the columns.
ScalarColumn< Int > & spectralWindowId()
uInt64 rownr_t
Define the type of a row number in a table.
ScalarColumn< Int > & polarizationId()
MSDataDescColumns & operator=(const MSDataDescColumns &)
ScalarColumn< Int > & lagId()
Access to optional columns.
const ScalarColumn< Int > & polarizationId() const
const ScalarColumn< Int > & lagId() const
Const access to optional columns.
ScalarColumn< Bool > & flagRow()
Access to required columns.
A class to provide easy access to MSDataDescription columns.
MSDataDescColumns ROMSDataDescColumns
const ScalarColumn< Bool > & flagRow() const
Const access to required columns.