casa
$Rev:20696$
|
A class for easy read-only access to MeasurementSet main table columns. More...
#include <MSMainColumns.h>
A class for easy read-only access to MeasurementSet main table columns.
Public interface
ROMSColumns stands for Read-Only MeasurementSet Table columns.
This class provides read-only access to the columns in the MeasurementSet. It does the declaration of all the Scalar and ArrayColumns with the correct types, so the application programmer doesn't have to worry about getting those right. There is an access function for every predefined column. Access to non-predefined columns will still have to be done with explicit declarations.
Warning: The Table that is used to construct this class must not be destroyed (or go out of scope) before this class does; Otherwise the scalar and array columns use by this class will be left dangling;
// use as follows MeasurementSet ms("myMS"); ROMSColumns msc(ms); // show data from row 5 cout << msc.data()(5); // show name of antenna on row 3 in antenna table cout << msc.antenna().name();
See MSColumns for the motivation.
Definition at line 101 of file MSMainColumns.h.
casa::ROMSMainColumns::ROMSMainColumns | ( | const MeasurementSet & | ms | ) |
Create a columns object that accesses the data in the specified Table.
The desctructor does nothing special.
casa::ROMSMainColumns::ROMSMainColumns | ( | ) | [protected] |
casa::ROMSMainColumns::ROMSMainColumns | ( | const ROMSMainColumns & | ) | [private] |
const ROScalarColumn<Int>& casa::ROMSMainColumns::antenna1 | ( | ) | const [inline] |
Access to required columns.
Reimplemented in casa::MSMainColumns.
Definition at line 112 of file MSMainColumns.h.
References antenna1_p.
const ROScalarColumn<Int>& casa::ROMSMainColumns::antenna2 | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 113 of file MSMainColumns.h.
References antenna2_p.
const ROScalarColumn<Int>& casa::ROMSMainColumns::antenna3 | ( | ) | const [inline] |
Access to optional columns.
Reimplemented in casa::MSMainColumns.
Definition at line 153 of file MSMainColumns.h.
References antenna3_p.
const ROScalarColumn<Int>& casa::ROMSMainColumns::arrayId | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 114 of file MSMainColumns.h.
References arrayId_p.
void casa::ROMSMainColumns::attach | ( | const MeasurementSet & | ms | ) | [protected] |
void casa::ROMSMainColumns::attachOptionalCols | ( | const MeasurementSet & | ms | ) | [private] |
const ROScalarColumn<Bool>& casa::ROMSMainColumns::baselineRef | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 154 of file MSMainColumns.h.
References baselineRef_p.
const ROArrayColumn<Complex>& casa::ROMSMainColumns::correctedData | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 155 of file MSMainColumns.h.
References correctedData_p.
const ROArrayColumn<Complex>& casa::ROMSMainColumns::data | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 156 of file MSMainColumns.h.
References data_p.
const ROScalarColumn<Int>& casa::ROMSMainColumns::dataDescId | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 115 of file MSMainColumns.h.
References dataDescId_p.
const ROScalarColumn<Double>& casa::ROMSMainColumns::exposure | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 116 of file MSMainColumns.h.
References exposure_p.
const ROScalarQuantColumn<Double>& casa::ROMSMainColumns::exposureQuant | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 117 of file MSMainColumns.h.
References exposureQuant_p.
Referenced by casa::MSMainColInterface::exposureQuant().
const ROScalarColumn<Int>& casa::ROMSMainColumns::feed1 | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 119 of file MSMainColumns.h.
References feed1_p.
const ROScalarColumn<Int>& casa::ROMSMainColumns::feed2 | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 120 of file MSMainColumns.h.
References feed2_p.
const ROScalarColumn<Int>& casa::ROMSMainColumns::feed3 | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 157 of file MSMainColumns.h.
References feed3_p.
const ROScalarColumn<Int>& casa::ROMSMainColumns::fieldId | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 121 of file MSMainColumns.h.
References fieldId_p.
const ROArrayColumn<Bool>& casa::ROMSMainColumns::flag | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 122 of file MSMainColumns.h.
References flag_p.
Referenced by casa::MSMainColInterface::flag().
Vector<String> casa::ROMSMainColumns::flagCategories | ( | ) | const |
Returns the category labels for the FLAG_CATEGORY column.
const ROArrayColumn<Bool>& casa::ROMSMainColumns::flagCategory | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 123 of file MSMainColumns.h.
References flagCategory_p.
const ROScalarColumn<Bool>& casa::ROMSMainColumns::flagRow | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 124 of file MSMainColumns.h.
References flagRow_p.
Referenced by casa::MSMainColInterface::flagRow().
const ROArrayColumn<Float>& casa::ROMSMainColumns::floatData | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 158 of file MSMainColumns.h.
References floatData_p.
const ROScalarColumn<Double>& casa::ROMSMainColumns::interval | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 125 of file MSMainColumns.h.
References interval_p.
const ROScalarQuantColumn<Double>& casa::ROMSMainColumns::intervalQuant | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 126 of file MSMainColumns.h.
References intervalQuant_p.
Referenced by casa::MS2ASDM::timestampEndSecs(), and casa::MS2ASDM::timestampStartSecs().
const ROArrayColumn<Complex>& casa::ROMSMainColumns::lagData | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 159 of file MSMainColumns.h.
References lagData_p.
const ROArrayColumn<Complex>& casa::ROMSMainColumns::modelData | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 160 of file MSMainColumns.h.
References modelData_p.
uInt casa::ROMSMainColumns::nrow | ( | ) | const [inline] |
Convenience function that returns the number of rows in any of the columns.
Definition at line 178 of file MSMainColumns.h.
References antenna1_p.
const ROScalarColumn<Int>& casa::ROMSMainColumns::observationId | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 128 of file MSMainColumns.h.
References observationId_p.
ROMSMainColumns& casa::ROMSMainColumns::operator= | ( | const ROMSMainColumns & | ) | [private] |
const ROScalarColumn<Int>& casa::ROMSMainColumns::phaseId | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 161 of file MSMainColumns.h.
References phaseId_p.
const ROScalarColumn<Int>& casa::ROMSMainColumns::processorId | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 129 of file MSMainColumns.h.
References processorId_p.
const ROScalarColumn<Int>& casa::ROMSMainColumns::pulsarBin | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 162 of file MSMainColumns.h.
References pulsarBin_p.
const ROScalarColumn<Int>& casa::ROMSMainColumns::pulsarGateId | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 163 of file MSMainColumns.h.
References pulsarGateId_p.
const ROScalarColumn<Int>& casa::ROMSMainColumns::scanNumber | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 130 of file MSMainColumns.h.
References scanNumber_p.
const ROArrayColumn<Float>& casa::ROMSMainColumns::sigma | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 131 of file MSMainColumns.h.
References sigma_p.
const ROArrayColumn<Float>& casa::ROMSMainColumns::sigmaSpectrum | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 164 of file MSMainColumns.h.
References sigmaSpectrum_p.
const ROScalarColumn<Int>& casa::ROMSMainColumns::stateId | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 132 of file MSMainColumns.h.
References stateId_p.
const ROScalarColumn<Double>& casa::ROMSMainColumns::time | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 133 of file MSMainColumns.h.
References time_p.
const ROScalarColumn<Double>& casa::ROMSMainColumns::timeCentroid | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 138 of file MSMainColumns.h.
References timeCentroid_p.
const ROScalarMeasColumn<MEpoch>& casa::ROMSMainColumns::timeCentroidMeas | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 141 of file MSMainColumns.h.
References timeCentroidMeas_p.
const ROScalarQuantColumn<Double>& casa::ROMSMainColumns::timeCentroidQuant | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 139 of file MSMainColumns.h.
References timeCentroidQuant_p.
const ROScalarColumn<Double>& casa::ROMSMainColumns::timeExtraPrec | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 165 of file MSMainColumns.h.
References timeExtraPrec_p.
const ROScalarQuantColumn<Double>& casa::ROMSMainColumns::timeExtraPrecQuant | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 166 of file MSMainColumns.h.
References timeExtraPrecQuant_p.
const ROScalarMeasColumn<MEpoch>& casa::ROMSMainColumns::timeMeas | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 136 of file MSMainColumns.h.
References timeMeas_p.
const ROScalarQuantColumn<Double>& casa::ROMSMainColumns::timeQuant | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 134 of file MSMainColumns.h.
References timeQuant_p.
Referenced by casa::MSMainColInterface::timeQuant(), casa::MS2ASDM::timestampEndSecs(), and casa::MS2ASDM::timestampStartSecs().
const ROArrayColumn<Double>& casa::ROMSMainColumns::uvw | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 143 of file MSMainColumns.h.
References uvw_p.
const ROArrayColumn<Double>& casa::ROMSMainColumns::uvw2 | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 168 of file MSMainColumns.h.
References uvw2_p.
const ROScalarMeasColumn<Muvw>& casa::ROMSMainColumns::uvw2Meas | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 169 of file MSMainColumns.h.
References uvw2Meas_p.
const ROArrayQuantColumn<Double>& casa::ROMSMainColumns::uvw2Quant | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 171 of file MSMainColumns.h.
References uvw2Quant_p.
const ROScalarMeasColumn<Muvw>& casa::ROMSMainColumns::uvwMeas | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 146 of file MSMainColumns.h.
References uvwMeas_p.
const ROArrayQuantColumn<Double>& casa::ROMSMainColumns::uvwQuant | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 144 of file MSMainColumns.h.
References uvwQuant_p.
const ROArrayColumn<Complex>& casa::ROMSMainColumns::videoPoint | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 173 of file MSMainColumns.h.
References videoPoint_p.
const ROArrayColumn<Float>& casa::ROMSMainColumns::weight | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 148 of file MSMainColumns.h.
References weight_p.
const ROArrayColumn<Float>& casa::ROMSMainColumns::weightSpectrum | ( | ) | const [inline] |
Reimplemented in casa::MSMainColumns.
Definition at line 174 of file MSMainColumns.h.
References weightSpectrum_p.
ROScalarColumn<Int> casa::ROMSMainColumns::antenna1_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 201 of file MSMainColumns.h.
Referenced by antenna1(), and nrow().
ROScalarColumn<Int> casa::ROMSMainColumns::antenna2_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 202 of file MSMainColumns.h.
Referenced by antenna2().
ROScalarColumn<Int> casa::ROMSMainColumns::antenna3_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 223 of file MSMainColumns.h.
Referenced by antenna3().
ROScalarColumn<Int> casa::ROMSMainColumns::arrayId_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 203 of file MSMainColumns.h.
Referenced by arrayId().
Reimplemented in casa::MSMainColumns.
Definition at line 224 of file MSMainColumns.h.
Referenced by baselineRef().
ROArrayColumn<Complex> casa::ROMSMainColumns::correctedData_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 239 of file MSMainColumns.h.
Referenced by correctedData().
ROArrayColumn<Complex> casa::ROMSMainColumns::data_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 225 of file MSMainColumns.h.
Referenced by data().
ROScalarColumn<Int> casa::ROMSMainColumns::dataDescId_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 204 of file MSMainColumns.h.
Referenced by dataDescId().
Reimplemented in casa::MSMainColumns.
Definition at line 205 of file MSMainColumns.h.
Referenced by exposure().
Reimplemented in casa::MSMainColumns.
Definition at line 250 of file MSMainColumns.h.
Referenced by exposureQuant().
ROScalarColumn<Int> casa::ROMSMainColumns::feed1_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 206 of file MSMainColumns.h.
Referenced by feed1().
ROScalarColumn<Int> casa::ROMSMainColumns::feed2_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 207 of file MSMainColumns.h.
Referenced by feed2().
ROScalarColumn<Int> casa::ROMSMainColumns::feed3_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 226 of file MSMainColumns.h.
Referenced by feed3().
ROScalarColumn<Int> casa::ROMSMainColumns::fieldId_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 208 of file MSMainColumns.h.
Referenced by fieldId().
ROArrayColumn<Bool> casa::ROMSMainColumns::flag_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 209 of file MSMainColumns.h.
Referenced by flag().
Reimplemented in casa::MSMainColumns.
Definition at line 210 of file MSMainColumns.h.
Referenced by flagCategory().
ROScalarColumn<Bool> casa::ROMSMainColumns::flagRow_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 211 of file MSMainColumns.h.
Referenced by flagRow().
ROArrayColumn<Float> casa::ROMSMainColumns::floatData_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 227 of file MSMainColumns.h.
Referenced by floatData().
Reimplemented in casa::MSMainColumns.
Definition at line 212 of file MSMainColumns.h.
Referenced by interval().
Reimplemented in casa::MSMainColumns.
Definition at line 251 of file MSMainColumns.h.
Referenced by intervalQuant().
ROArrayColumn<Complex> casa::ROMSMainColumns::lagData_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 228 of file MSMainColumns.h.
Referenced by lagData().
ROArrayColumn<Complex> casa::ROMSMainColumns::modelData_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 240 of file MSMainColumns.h.
Referenced by modelData().
Reimplemented in casa::MSMainColumns.
Definition at line 213 of file MSMainColumns.h.
Referenced by observationId().
ROScalarColumn<Int> casa::ROMSMainColumns::phaseId_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 229 of file MSMainColumns.h.
Referenced by phaseId().
Reimplemented in casa::MSMainColumns.
Definition at line 214 of file MSMainColumns.h.
Referenced by processorId().
ROScalarColumn<Int> casa::ROMSMainColumns::pulsarBin_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 230 of file MSMainColumns.h.
Referenced by pulsarBin().
Reimplemented in casa::MSMainColumns.
Definition at line 231 of file MSMainColumns.h.
Referenced by pulsarGateId().
ROScalarColumn<Int> casa::ROMSMainColumns::scanNumber_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 215 of file MSMainColumns.h.
Referenced by scanNumber().
ROArrayColumn<Float> casa::ROMSMainColumns::sigma_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 216 of file MSMainColumns.h.
Referenced by sigma().
Reimplemented in casa::MSMainColumns.
Definition at line 232 of file MSMainColumns.h.
Referenced by sigmaSpectrum().
ROScalarColumn<Int> casa::ROMSMainColumns::stateId_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 217 of file MSMainColumns.h.
Referenced by stateId().
ROScalarColumn<Double> casa::ROMSMainColumns::time_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 218 of file MSMainColumns.h.
Referenced by time().
Reimplemented in casa::MSMainColumns.
Definition at line 219 of file MSMainColumns.h.
Referenced by timeCentroid().
Reimplemented in casa::MSMainColumns.
Definition at line 244 of file MSMainColumns.h.
Referenced by timeCentroidMeas().
Reimplemented in casa::MSMainColumns.
Definition at line 253 of file MSMainColumns.h.
Referenced by timeCentroidQuant().
Reimplemented in casa::MSMainColumns.
Definition at line 233 of file MSMainColumns.h.
Referenced by timeExtraPrec().
Reimplemented in casa::MSMainColumns.
Definition at line 256 of file MSMainColumns.h.
Referenced by timeExtraPrecQuant().
Reimplemented in casa::MSMainColumns.
Definition at line 243 of file MSMainColumns.h.
Referenced by timeMeas().
Reimplemented in casa::MSMainColumns.
Definition at line 252 of file MSMainColumns.h.
Referenced by timeQuant().
ROArrayColumn<Double> casa::ROMSMainColumns::uvw2_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 234 of file MSMainColumns.h.
Referenced by uvw2().
Reimplemented in casa::MSMainColumns.
Definition at line 247 of file MSMainColumns.h.
Referenced by uvw2Meas().
Reimplemented in casa::MSMainColumns.
Definition at line 257 of file MSMainColumns.h.
Referenced by uvw2Quant().
ROArrayColumn<Double> casa::ROMSMainColumns::uvw_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 220 of file MSMainColumns.h.
Referenced by uvw().
Reimplemented in casa::MSMainColumns.
Definition at line 245 of file MSMainColumns.h.
Referenced by uvwMeas().
Reimplemented in casa::MSMainColumns.
Definition at line 254 of file MSMainColumns.h.
Referenced by uvwQuant().
ROArrayColumn<Complex> casa::ROMSMainColumns::videoPoint_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 235 of file MSMainColumns.h.
Referenced by videoPoint().
ROArrayColumn<Float> casa::ROMSMainColumns::weight_p [private] |
Reimplemented in casa::MSMainColumns.
Definition at line 221 of file MSMainColumns.h.
Referenced by weight().
Reimplemented in casa::MSMainColumns.
Definition at line 236 of file MSMainColumns.h.
Referenced by weightSpectrum().