29 #ifndef MS_MSVALIDIDS_H 30 #define MS_MSVALIDIDS_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/ms/MeasurementSets/MeasurementSet.h> 132 {
return (testResult < 0 ||
uInt(testResult) >= mstable.
nrow()) ? -1 : testResult;}
Main interface class to a read/write table.
Int dopplerId(uInt rownr) const
the dopplerId comes from the SPECTRAL_WINDOW subtable so spectralWindowId must first be valid in orde...
Int observationId(uInt rownr) const
Int dataDescId(uInt rownr) const
Int spectralWindowId(uInt rownr) const
The spectralWindowId comes from the DATA_DESCRIPTION subtable, so dataDescId must first be valid in o...
MSValidIds()
Construct one unattached to a MeasurementSet.
~MSValidIds()
The destructor.
Int polarizationId(uInt rownr) const
The polarizationId comes from the DATA_DESCRIPTION subtable, so dataDescId must first be valid in ord...
Int checkResult(Int testResult, const Table &mstable) const
Int antenna2(uInt rownr) const
A class to provide easy read-only access to MeasurementSet columns.
bool Bool
Define the standard types used by Casacore.
Int sourceId(uInt rownr) const
The sourceId comes from the FIELD subtable so fieldId must first be valid in order for this to also b...
A Table intended to hold astronomical data (a set of Measurements).
Bool checkRow(uInt rownr) const
uInt nrow() const
Get the number of rows.
MSValidIds & operator=(const MSValidIds &other)
Assignment operator, reference semantics.
Int processorId(uInt rownr) const
void attach(const MeasurementSet &ms)
Attach this one to a MeasurementSet.
this file contains all the compiler specific defines
Int fieldId(uInt rownr) const
Int antenna1(uInt rownr) const
These functions check on the validity of the appropriate value in the main table or sub-tables in the...
Int stateId(uInt rownr) const