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