casacore
|
A class for easy read-only access to MeasurementSet main table columns. More...
#include <MSMainColumns.h>
Public Member Functions | |
ROMSMainColumns (const MeasurementSet &ms) | |
Create a columns object that accesses the data in the specified Table. More... | |
~ROMSMainColumns () | |
The desctructor does nothing special. More... | |
const ROScalarColumn< Int > & | antenna1 () const |
Access to required columns. More... | |
const ROScalarColumn< Int > & | antenna2 () const |
const ROScalarColumn< Int > & | arrayId () const |
const ROScalarColumn< Int > & | dataDescId () const |
const ROScalarColumn< Double > & | exposure () const |
const ROScalarQuantColumn< Double > & | exposureQuant () const |
const ROScalarColumn< Int > & | feed1 () const |
const ROScalarColumn< Int > & | feed2 () const |
const ROScalarColumn< Int > & | fieldId () const |
const ROArrayColumn< Bool > & | flag () const |
const ROArrayColumn< Bool > & | flagCategory () const |
const ROScalarColumn< Bool > & | flagRow () const |
const ROScalarColumn< Double > & | interval () const |
const ROScalarQuantColumn< Double > & | intervalQuant () const |
const ROScalarColumn< Int > & | observationId () const |
const ROScalarColumn< Int > & | processorId () const |
const ROScalarColumn< Int > & | scanNumber () const |
const ROArrayColumn< Float > & | sigma () const |
const ROScalarColumn< Int > & | stateId () const |
const ROScalarColumn< Double > & | time () const |
const ROScalarQuantColumn< Double > & | timeQuant () const |
const ROScalarMeasColumn< MEpoch > & | timeMeas () const |
const ROScalarColumn< Double > & | timeCentroid () const |
const ROScalarQuantColumn< Double > & | timeCentroidQuant () const |
const ROScalarMeasColumn< MEpoch > & | timeCentroidMeas () const |
const ROArrayColumn< Double > & | uvw () const |
const ROArrayQuantColumn< Double > & | uvwQuant () const |
const ROScalarMeasColumn< Muvw > & | uvwMeas () const |
const ROArrayColumn< Float > & | weight () const |
const ROScalarColumn< Int > & | antenna3 () const |
Access to optional columns. More... | |
const ROScalarColumn< Bool > & | baselineRef () const |
const ROArrayColumn< Complex > & | correctedData () const |
const ROArrayColumn< Complex > & | data () const |
const ROScalarColumn< Int > & | feed3 () const |
const ROArrayColumn< Float > & | floatData () const |
const ROArrayColumn< Float > & | imagingWeight () const |
const ROArrayColumn< Complex > & | lagData () const |
const ROArrayColumn< Complex > & | modelData () const |
const ROScalarColumn< Int > & | phaseId () const |
const ROScalarColumn< Int > & | pulsarBin () const |
const ROScalarColumn< Int > & | pulsarGateId () const |
const ROArrayColumn< Float > & | sigmaSpectrum () const |
const ROScalarColumn< Double > & | timeExtraPrec () const |
const ROScalarQuantColumn< Double > & | timeExtraPrecQuant () const |
const ROArrayColumn< Double > & | uvw2 () const |
const ROScalarMeasColumn< Muvw > & | uvw2Meas () const |
const ROArrayQuantColumn< Double > & | uvw2Quant () const |
const ROArrayColumn< Complex > & | videoPoint () const |
const ROArrayColumn< Float > & | weightSpectrum () const |
const ROArrayColumn< Float > & | weightSpectrumCorrected () const |
uInt | nrow () const |
Convenience function that returns the number of rows in any of the columns. More... | |
Vector< String > | flagCategories () const |
Returns the category labels for the FLAG_CATEGORY column. More... | |
Protected Member Functions | |
ROMSMainColumns () | |
void | attach (const MeasurementSet &ms) |
Private Member Functions | |
ROMSMainColumns (const ROMSMainColumns &) | |
ROMSMainColumns & | operator= (const ROMSMainColumns &) |
void | attachOptionalCols (const MeasurementSet &ms) |
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;
See MSColumns for the motivation.
Definition at line 101 of file MSMainColumns.h.
casacore::ROMSMainColumns::ROMSMainColumns | ( | const MeasurementSet & | ms | ) |
Create a columns object that accesses the data in the specified Table.
casacore::ROMSMainColumns::~ROMSMainColumns | ( | ) |
The desctructor does nothing special.
|
protected |
Referenced by nrow().
|
private |
|
inline |
Access to required columns.
Definition at line 112 of file MSMainColumns.h.
References antenna1_p.
Referenced by casacore::MSMainColumns::antenna1().
|
inline |
Definition at line 113 of file MSMainColumns.h.
References antenna2_p.
Referenced by casacore::MSMainColumns::antenna2().
|
inline |
Access to optional columns.
Definition at line 153 of file MSMainColumns.h.
References antenna3_p.
Referenced by casacore::MSMainColumns::antenna3().
|
inline |
Definition at line 114 of file MSMainColumns.h.
References arrayId_p.
Referenced by casacore::MSMainColumns::arrayId().
|
protected |
Referenced by nrow(), and casacore::MSMainColumns::weightSpectrumCorrected().
|
private |
Referenced by nrow(), and casacore::MSMainColumns::weightSpectrumCorrected().
|
inline |
Definition at line 154 of file MSMainColumns.h.
References baselineRef_p.
Referenced by casacore::MSMainColumns::baselineRef().
|
inline |
Definition at line 155 of file MSMainColumns.h.
References correctedData_p.
Referenced by casacore::MSMainColumns::correctedData().
|
inline |
Definition at line 156 of file MSMainColumns.h.
References data_p.
Referenced by casacore::MSMainColumns::data().
|
inline |
Definition at line 115 of file MSMainColumns.h.
References dataDescId_p.
Referenced by casacore::MSMainColumns::dataDescId().
|
inline |
Definition at line 116 of file MSMainColumns.h.
References exposure_p.
Referenced by casacore::MSMainColumns::exposure().
|
inline |
Definition at line 117 of file MSMainColumns.h.
References exposureQuant_p.
Referenced by casacore::MSMainColumns::exposureQuant().
|
inline |
Definition at line 119 of file MSMainColumns.h.
References feed1_p.
Referenced by casacore::MSMainColumns::feed1().
|
inline |
Definition at line 120 of file MSMainColumns.h.
References feed2_p.
Referenced by casacore::MSMainColumns::feed2().
|
inline |
Definition at line 157 of file MSMainColumns.h.
References feed3_p.
Referenced by casacore::MSMainColumns::feed3().
|
inline |
Definition at line 121 of file MSMainColumns.h.
References fieldId_p.
Referenced by casacore::MSMainColumns::fieldId().
|
inline |
Definition at line 122 of file MSMainColumns.h.
References flag_p.
Referenced by casacore::MSMainColumns::flag().
Returns the category labels for the FLAG_CATEGORY column.
Referenced by nrow().
|
inline |
Definition at line 123 of file MSMainColumns.h.
References flagCategory_p.
Referenced by casacore::MSMainColumns::flagCategory().
|
inline |
Definition at line 124 of file MSMainColumns.h.
References flagRow_p.
Referenced by casacore::MSMainColumns::flagRow().
|
inline |
Definition at line 158 of file MSMainColumns.h.
References floatData_p.
Referenced by casacore::MSMainColumns::floatData().
|
inline |
Definition at line 159 of file MSMainColumns.h.
References imagingWeight_p.
Referenced by casacore::MSMainColumns::imagingWeight().
|
inline |
Definition at line 125 of file MSMainColumns.h.
References interval_p.
Referenced by casacore::MSMainColumns::interval().
|
inline |
Definition at line 126 of file MSMainColumns.h.
References intervalQuant_p.
Referenced by casacore::MSMainColumns::intervalQuant().
|
inline |
Definition at line 160 of file MSMainColumns.h.
References lagData_p.
Referenced by casacore::MSMainColumns::lagData().
|
inline |
Definition at line 161 of file MSMainColumns.h.
References modelData_p.
Referenced by casacore::MSMainColumns::modelData().
|
inline |
Convenience function that returns the number of rows in any of the columns.
Definition at line 180 of file MSMainColumns.h.
References antenna1_p, attach(), attachOptionalCols(), flagCategories(), operator=(), and ROMSMainColumns().
|
inline |
Definition at line 128 of file MSMainColumns.h.
References observationId_p.
Referenced by casacore::MSMainColumns::observationId().
|
private |
Referenced by nrow(), and casacore::MSMainColumns::weightSpectrumCorrected().
|
inline |
Definition at line 162 of file MSMainColumns.h.
References phaseId_p.
Referenced by casacore::MSMainColumns::phaseId().
|
inline |
Definition at line 129 of file MSMainColumns.h.
References processorId_p.
Referenced by casacore::MSMainColumns::processorId().
|
inline |
Definition at line 163 of file MSMainColumns.h.
References pulsarBin_p.
Referenced by casacore::MSMainColumns::pulsarBin().
|
inline |
Definition at line 164 of file MSMainColumns.h.
References pulsarGateId_p.
Referenced by casacore::MSMainColumns::pulsarGateId().
|
inline |
Definition at line 130 of file MSMainColumns.h.
References scanNumber_p.
Referenced by casacore::MSMainColumns::scanNumber().
|
inline |
Definition at line 131 of file MSMainColumns.h.
References sigma_p.
Referenced by casacore::MSMainColumns::sigma().
|
inline |
Definition at line 165 of file MSMainColumns.h.
References sigmaSpectrum_p.
Referenced by casacore::MSMainColumns::sigmaSpectrum().
|
inline |
Definition at line 132 of file MSMainColumns.h.
References stateId_p.
Referenced by casacore::MSMainColumns::stateId().
|
inline |
Definition at line 133 of file MSMainColumns.h.
References time_p.
Referenced by casacore::MSMainColumns::time().
|
inline |
Definition at line 138 of file MSMainColumns.h.
References timeCentroid_p.
Referenced by casacore::MSMainColumns::timeCentroid().
|
inline |
Definition at line 141 of file MSMainColumns.h.
References timeCentroidMeas_p.
Referenced by casacore::MSMainColumns::timeCentroidMeas().
|
inline |
Definition at line 139 of file MSMainColumns.h.
References timeCentroidQuant_p.
Referenced by casacore::MSMainColumns::timeCentroidQuant().
|
inline |
Definition at line 166 of file MSMainColumns.h.
References timeExtraPrec_p.
Referenced by casacore::MSMainColumns::timeExtraPrec().
|
inline |
Definition at line 167 of file MSMainColumns.h.
References timeExtraPrecQuant_p.
Referenced by casacore::MSMainColumns::timeExtraPrecQuant().
|
inline |
Definition at line 136 of file MSMainColumns.h.
References timeMeas_p.
Referenced by casacore::MSMainColumns::timeMeas().
|
inline |
Definition at line 134 of file MSMainColumns.h.
References timeQuant_p.
Referenced by casacore::MSMainColumns::timeQuant().
|
inline |
Definition at line 143 of file MSMainColumns.h.
References uvw_p.
Referenced by casacore::MSMainColumns::uvw().
|
inline |
Definition at line 169 of file MSMainColumns.h.
References uvw2_p.
Referenced by casacore::MSMainColumns::uvw2().
|
inline |
Definition at line 170 of file MSMainColumns.h.
References uvw2Meas_p.
Referenced by casacore::MSMainColumns::uvw2Meas().
|
inline |
Definition at line 172 of file MSMainColumns.h.
References uvw2Quant_p.
Referenced by casacore::MSMainColumns::uvw2Quant().
|
inline |
Definition at line 146 of file MSMainColumns.h.
References uvwMeas_p.
Referenced by casacore::MSMainColumns::uvwMeas().
|
inline |
Definition at line 144 of file MSMainColumns.h.
References uvwQuant_p.
Referenced by casacore::MSMainColumns::uvwQuant().
|
inline |
Definition at line 174 of file MSMainColumns.h.
References videoPoint_p.
Referenced by casacore::MSMainColumns::videoPoint().
|
inline |
Definition at line 148 of file MSMainColumns.h.
References weight_p.
Referenced by casacore::MSMainColumns::weight().
|
inline |
Definition at line 175 of file MSMainColumns.h.
References weightSpectrum_p.
Referenced by casacore::MSMainColumns::weightSpectrum().
|
inline |
Definition at line 176 of file MSMainColumns.h.
References weightSpectrumCorrected_p.
Referenced by casacore::MSMainColumns::weightSpectrumCorrected().
|
private |
Definition at line 203 of file MSMainColumns.h.
Referenced by antenna1(), casacore::MSMainColumns::antenna1(), and nrow().
|
private |
Definition at line 204 of file MSMainColumns.h.
Referenced by antenna2(), and casacore::MSMainColumns::antenna2().
|
private |
Definition at line 225 of file MSMainColumns.h.
Referenced by antenna3(), and casacore::MSMainColumns::antenna3().
|
private |
Definition at line 205 of file MSMainColumns.h.
Referenced by arrayId(), and casacore::MSMainColumns::arrayId().
|
private |
Definition at line 226 of file MSMainColumns.h.
Referenced by baselineRef(), and casacore::MSMainColumns::baselineRef().
|
private |
Definition at line 242 of file MSMainColumns.h.
Referenced by correctedData(), and casacore::MSMainColumns::correctedData().
|
private |
Definition at line 227 of file MSMainColumns.h.
Referenced by data(), and casacore::MSMainColumns::data().
|
private |
Definition at line 206 of file MSMainColumns.h.
Referenced by dataDescId(), and casacore::MSMainColumns::dataDescId().
|
private |
Definition at line 207 of file MSMainColumns.h.
Referenced by exposure(), and casacore::MSMainColumns::exposure().
|
private |
Definition at line 254 of file MSMainColumns.h.
Referenced by exposureQuant(), and casacore::MSMainColumns::exposureQuant().
|
private |
Definition at line 208 of file MSMainColumns.h.
Referenced by feed1(), and casacore::MSMainColumns::feed1().
|
private |
Definition at line 209 of file MSMainColumns.h.
Referenced by feed2(), and casacore::MSMainColumns::feed2().
|
private |
Definition at line 228 of file MSMainColumns.h.
Referenced by feed3(), and casacore::MSMainColumns::feed3().
|
private |
Definition at line 210 of file MSMainColumns.h.
Referenced by fieldId(), and casacore::MSMainColumns::fieldId().
|
private |
Definition at line 211 of file MSMainColumns.h.
Referenced by flag(), and casacore::MSMainColumns::flag().
|
private |
Definition at line 212 of file MSMainColumns.h.
Referenced by flagCategory(), and casacore::MSMainColumns::flagCategory().
|
private |
Definition at line 213 of file MSMainColumns.h.
Referenced by flagRow(), and casacore::MSMainColumns::flagRow().
|
private |
Definition at line 229 of file MSMainColumns.h.
Referenced by floatData(), and casacore::MSMainColumns::floatData().
|
private |
Definition at line 243 of file MSMainColumns.h.
Referenced by imagingWeight(), and casacore::MSMainColumns::imagingWeight().
|
private |
Definition at line 214 of file MSMainColumns.h.
Referenced by interval(), and casacore::MSMainColumns::interval().
|
private |
Definition at line 255 of file MSMainColumns.h.
Referenced by intervalQuant(), and casacore::MSMainColumns::intervalQuant().
|
private |
Definition at line 230 of file MSMainColumns.h.
Referenced by lagData(), and casacore::MSMainColumns::lagData().
|
private |
Definition at line 244 of file MSMainColumns.h.
Referenced by modelData(), and casacore::MSMainColumns::modelData().
|
private |
Definition at line 215 of file MSMainColumns.h.
Referenced by observationId(), and casacore::MSMainColumns::observationId().
|
private |
Definition at line 231 of file MSMainColumns.h.
Referenced by phaseId(), and casacore::MSMainColumns::phaseId().
|
private |
Definition at line 216 of file MSMainColumns.h.
Referenced by processorId(), and casacore::MSMainColumns::processorId().
|
private |
Definition at line 232 of file MSMainColumns.h.
Referenced by pulsarBin(), and casacore::MSMainColumns::pulsarBin().
|
private |
Definition at line 233 of file MSMainColumns.h.
Referenced by pulsarGateId(), and casacore::MSMainColumns::pulsarGateId().
|
private |
Definition at line 217 of file MSMainColumns.h.
Referenced by scanNumber(), and casacore::MSMainColumns::scanNumber().
|
private |
Definition at line 218 of file MSMainColumns.h.
Referenced by sigma(), and casacore::MSMainColumns::sigma().
|
private |
Definition at line 234 of file MSMainColumns.h.
Referenced by sigmaSpectrum(), and casacore::MSMainColumns::sigmaSpectrum().
|
private |
Definition at line 219 of file MSMainColumns.h.
Referenced by stateId(), and casacore::MSMainColumns::stateId().
|
private |
Definition at line 220 of file MSMainColumns.h.
Referenced by time(), and casacore::MSMainColumns::time().
|
private |
Definition at line 221 of file MSMainColumns.h.
Referenced by timeCentroid(), and casacore::MSMainColumns::timeCentroid().
|
private |
Definition at line 248 of file MSMainColumns.h.
Referenced by timeCentroidMeas(), and casacore::MSMainColumns::timeCentroidMeas().
|
private |
Definition at line 257 of file MSMainColumns.h.
Referenced by timeCentroidQuant(), and casacore::MSMainColumns::timeCentroidQuant().
|
private |
Definition at line 235 of file MSMainColumns.h.
Referenced by timeExtraPrec(), and casacore::MSMainColumns::timeExtraPrec().
|
private |
Definition at line 260 of file MSMainColumns.h.
Referenced by timeExtraPrecQuant(), and casacore::MSMainColumns::timeExtraPrecQuant().
|
private |
Definition at line 247 of file MSMainColumns.h.
Referenced by timeMeas(), and casacore::MSMainColumns::timeMeas().
|
private |
Definition at line 256 of file MSMainColumns.h.
Referenced by timeQuant(), and casacore::MSMainColumns::timeQuant().
|
private |
Definition at line 236 of file MSMainColumns.h.
Referenced by uvw2(), and casacore::MSMainColumns::uvw2().
|
private |
Definition at line 251 of file MSMainColumns.h.
Referenced by uvw2Meas(), and casacore::MSMainColumns::uvw2Meas().
|
private |
Definition at line 261 of file MSMainColumns.h.
Referenced by uvw2Quant(), and casacore::MSMainColumns::uvw2Quant().
|
private |
Definition at line 222 of file MSMainColumns.h.
Referenced by uvw(), and casacore::MSMainColumns::uvw().
|
private |
Definition at line 249 of file MSMainColumns.h.
Referenced by uvwMeas(), and casacore::MSMainColumns::uvwMeas().
|
private |
Definition at line 258 of file MSMainColumns.h.
Referenced by uvwQuant(), and casacore::MSMainColumns::uvwQuant().
|
private |
Definition at line 237 of file MSMainColumns.h.
Referenced by videoPoint(), and casacore::MSMainColumns::videoPoint().
|
private |
Definition at line 223 of file MSMainColumns.h.
Referenced by weight(), and casacore::MSMainColumns::weight().
|
private |
Definition at line 238 of file MSMainColumns.h.
Referenced by weightSpectrum(), and casacore::MSMainColumns::weightSpectrum().
|
private |
Definition at line 239 of file MSMainColumns.h.
Referenced by weightSpectrumCorrected(), and casacore::MSMainColumns::weightSpectrumCorrected().