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 ||
rownr_t(testResult) >= mstable.
nrow()) ? -1 : testResult;}
Int polarizationId(rownr_t rownr) const
The polarizationId comes from the DATA_DESCRIPTION subtable, so dataDescId must first be valid in ord...
Int antenna2(rownr_t rownr) const
Bool checkRow(rownr_t rownr) const
MSValidIds(const MSValidIds &other)
Construct one from another.
MSValidIds & operator=(const MSValidIds &other)
Assignment operator, reference semantics.
void attach(const MeasurementSet &ms)
Attach this one to a MeasurementSet.
MSValidIds(const MeasurementSet &ms)
Construct one attached to the indicated MeasurementSet.
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 checkResult(Int testResult, const Table &mstable) const
Int fieldId(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...
Int dataDescId(rownr_t rownr) 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...
MSValidIds()
Construct one unattached to a MeasurementSet.
Int observationId(rownr_t rownr) const
Int stateId(rownr_t rownr) const
~MSValidIds()
The destructor.
Int processorId(rownr_t rownr) const
Int dopplerId(rownr_t rownr) const
the dopplerId comes from the SPECTRAL_WINDOW subtable so spectralWindowId must first be valid in orde...
rownr_t nrow() const
Get the number of rows.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
uInt64 rownr_t
Define the type of a row number in a table.