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