Go to the documentation of this file.
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;}
Int stateId(uInt rownr) const
~MSValidIds()
The destructor.
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 checkResult(Int testResult, const Table &mstable) const
Int dopplerId(uInt rownr) const
the dopplerId comes from the SPECTRAL_WINDOW subtable so spectralWindowId must first be valid in orde...
Int spectralWindowId(uInt rownr) const
The spectralWindowId comes from the DATA_DESCRIPTION subtable, so dataDescId must first be valid in o...
Int polarizationId(uInt rownr) const
The polarizationId comes from the DATA_DESCRIPTION subtable, so dataDescId must first be valid in ord...
Bool checkRow(uInt rownr) const
MSValidIds()
Construct one unattached to a MeasurementSet.
Int observationId(uInt rownr) const
Int antenna2(uInt rownr) const
MSValidIds & operator=(const MSValidIds &other)
Assignment operator, reference semantics.
Int dataDescId(uInt rownr) const
Main interface class to a read/write table.
Int fieldId(uInt rownr) const
this file contains all the compiler specific defines
uInt nrow() const
Get the number of rows.
A Table intended to hold astronomical data (a set of Measurements).
bool Bool
Define the standard types used by Casacore.
Int processorId(uInt rownr) const
A class to provide easy access to MeasurementSet columns.
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...
void attach(const MeasurementSet &ms)
Attach this one to a MeasurementSet.