casa
$Rev:20696$
|
A class to provide easy read-only access to MSPointing columns. More...
#include <MSPointingColumns.h>
A class to provide easy read-only access to MSPointing columns.
Public interface
ROMSPointingColumns stands for Read-Only MeasurementSet Pointing Table columns.
This class provides read-only access to the columns in the MSPointing Table. 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. See ROMSColumns for an example.
See MSColumns for the motivation.
Definition at line 79 of file MSPointingColumns.h.
casa::ROMSPointingColumns::ROMSPointingColumns | ( | const MSPointing & | msPointing | ) |
Create a columns object that accesses the data in the specified Table.
The destructor does nothing special.
casa::ROMSPointingColumns::ROMSPointingColumns | ( | ) | [protected] |
casa::ROMSPointingColumns::ROMSPointingColumns | ( | const ROMSPointingColumns & | ) | [private] |
const ROScalarColumn<Int>& casa::ROMSPointingColumns::antennaId | ( | ) | const [inline] |
Access to required columns.
Reimplemented in casa::MSPointingColumns.
Definition at line 90 of file MSPointingColumns.h.
References antennaId_p.
void casa::ROMSPointingColumns::attach | ( | const MSPointing & | msPointing | ) | [protected] |
void casa::ROMSPointingColumns::attachOptionalCols | ( | const MSPointing & | msPointing | ) | [private] |
const ROArrayColumn<Double>& casa::ROMSPointingColumns::direction | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 104 of file MSPointingColumns.h.
References direction_p.
MDirection casa::ROMSPointingColumns::directionMeas | ( | Int | row, |
Double | time = 0 |
||
) | const |
Access to interpolated directions, the default time of zero will return the 0th order element of the polynomial.
const ROArrayMeasColumn<MDirection>& casa::ROMSPointingColumns::directionMeasCol | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 105 of file MSPointingColumns.h.
References directionMeas_p.
const ROArrayColumn<Double>& casa::ROMSPointingColumns::encoder | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 122 of file MSPointingColumns.h.
References encoder_p.
const ROScalarMeasColumn<MDirection>& casa::ROMSPointingColumns::encoderMeas | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 123 of file MSPointingColumns.h.
References encoderMeas_p.
const ROScalarColumn<Double>& casa::ROMSPointingColumns::interval | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 94 of file MSPointingColumns.h.
References interval_p.
const ROScalarQuantColumn<Double>& casa::ROMSPointingColumns::intervalQuant | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 95 of file MSPointingColumns.h.
References intervalQuant_p.
const ROScalarColumn<String>& casa::ROMSPointingColumns::name | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 97 of file MSPointingColumns.h.
References name_p.
uInt casa::ROMSPointingColumns::nrow | ( | ) | const [inline] |
Convenience function that returns the number of rows in any of the columns.
Definition at line 147 of file MSPointingColumns.h.
References antennaId_p.
const ROScalarColumn<Int>& casa::ROMSPointingColumns::numPoly | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 98 of file MSPointingColumns.h.
References numPoly_p.
const ROScalarColumn<Bool>& casa::ROMSPointingColumns::onSource | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 127 of file MSPointingColumns.h.
References onSource_p.
ROMSPointingColumns& casa::ROMSPointingColumns::operator= | ( | const ROMSPointingColumns & | ) | [private] |
const ROScalarColumn<Bool>& casa::ROMSPointingColumns::overTheTop | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 128 of file MSPointingColumns.h.
References overTheTop_p.
Int casa::ROMSPointingColumns::pointingIndex | ( | Int | antenna, |
Double | time, | ||
Int | guessRow = 0 |
||
) | const |
return the first matching row index for this time and antenna, returns -1 if no match was found For long tables you may give a guess row...the last return is usually a good one.
const ROScalarColumn<Int>& casa::ROMSPointingColumns::pointingModelId | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 125 of file MSPointingColumns.h.
References pointingModelId_p.
const ROArrayColumn<Double>& casa::ROMSPointingColumns::pointingOffset | ( | ) | const [inline] |
Access to optional columns.
Reimplemented in casa::MSPointingColumns.
Definition at line 115 of file MSPointingColumns.h.
References pointingOffset_p.
MDirection casa::ROMSPointingColumns::pointingOffsetMeas | ( | Int | row, |
Double | time = 0 |
||
) | const |
const ROArrayMeasColumn<MDirection>& casa::ROMSPointingColumns::pointingOffsetMeasCol | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 117 of file MSPointingColumns.h.
References pointingOffsetMeas_p.
const ROArrayColumn<Double>& casa::ROMSPointingColumns::sourceOffset | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 119 of file MSPointingColumns.h.
References sourceOffset_p.
MDirection casa::ROMSPointingColumns::sourceOffsetMeas | ( | Int | row, |
Double | time = 0 |
||
) | const |
const ROArrayMeasColumn<MDirection>& casa::ROMSPointingColumns::sourceOffsetMeasCol | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 120 of file MSPointingColumns.h.
References sourceOffsetMeas_p.
const ROArrayColumn<Double>& casa::ROMSPointingColumns::target | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 107 of file MSPointingColumns.h.
References target_p.
MDirection casa::ROMSPointingColumns::targetMeas | ( | Int | row, |
Double | time = 0 |
||
) | const |
const ROArrayMeasColumn<MDirection>& casa::ROMSPointingColumns::targetMeasCol | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 108 of file MSPointingColumns.h.
References targetMeas_p.
const ROScalarColumn<Double>& casa::ROMSPointingColumns::time | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 91 of file MSPointingColumns.h.
References time_p.
const ROScalarMeasColumn<MEpoch>& casa::ROMSPointingColumns::timeMeas | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 93 of file MSPointingColumns.h.
References timeMeas_p.
const ROScalarColumn<Double>& casa::ROMSPointingColumns::timeOrigin | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 99 of file MSPointingColumns.h.
References timeOrigin_p.
const ROScalarMeasColumn<MEpoch>& casa::ROMSPointingColumns::timeOriginMeas | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 102 of file MSPointingColumns.h.
References timeOriginMeas_p.
const ROScalarQuantColumn<Double>& casa::ROMSPointingColumns::timeOriginQuant | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 100 of file MSPointingColumns.h.
References timeOriginQuant_p.
const ROScalarQuantColumn<Double>& casa::ROMSPointingColumns::timeQuant | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 92 of file MSPointingColumns.h.
References timeQuant_p.
const ROScalarColumn<Bool>& casa::ROMSPointingColumns::tracking | ( | ) | const [inline] |
Reimplemented in casa::MSPointingColumns.
Definition at line 110 of file MSPointingColumns.h.
References tracking_p.
Reimplemented in casa::MSPointingColumns.
Definition at line 167 of file MSPointingColumns.h.
Referenced by antennaId(), and nrow().
Reimplemented in casa::MSPointingColumns.
Definition at line 168 of file MSPointingColumns.h.
Referenced by direction().
Reimplemented in casa::MSPointingColumns.
Definition at line 185 of file MSPointingColumns.h.
Referenced by directionMeasCol().
Reimplemented in casa::MSPointingColumns.
Definition at line 177 of file MSPointingColumns.h.
Referenced by encoder().
Reimplemented in casa::MSPointingColumns.
Definition at line 190 of file MSPointingColumns.h.
Referenced by encoderMeas().
Reimplemented in casa::MSPointingColumns.
Definition at line 169 of file MSPointingColumns.h.
Referenced by interval().
Reimplemented in casa::MSPointingColumns.
Definition at line 195 of file MSPointingColumns.h.
Referenced by intervalQuant().
Reimplemented in casa::MSPointingColumns.
Definition at line 170 of file MSPointingColumns.h.
Referenced by name().
Reimplemented in casa::MSPointingColumns.
Definition at line 171 of file MSPointingColumns.h.
Referenced by numPoly().
Reimplemented in casa::MSPointingColumns.
Definition at line 178 of file MSPointingColumns.h.
Referenced by onSource().
Reimplemented in casa::MSPointingColumns.
Definition at line 182 of file MSPointingColumns.h.
Referenced by overTheTop().
Reimplemented in casa::MSPointingColumns.
Definition at line 179 of file MSPointingColumns.h.
Referenced by pointingModelId().
Reimplemented in casa::MSPointingColumns.
Definition at line 180 of file MSPointingColumns.h.
Referenced by pointingOffset().
Reimplemented in casa::MSPointingColumns.
Definition at line 191 of file MSPointingColumns.h.
Referenced by pointingOffsetMeasCol().
Reimplemented in casa::MSPointingColumns.
Definition at line 181 of file MSPointingColumns.h.
Referenced by sourceOffset().
Reimplemented in casa::MSPointingColumns.
Definition at line 192 of file MSPointingColumns.h.
Referenced by sourceOffsetMeasCol().
Reimplemented in casa::MSPointingColumns.
Definition at line 172 of file MSPointingColumns.h.
Referenced by target().
Reimplemented in casa::MSPointingColumns.
Definition at line 186 of file MSPointingColumns.h.
Referenced by targetMeasCol().
Reimplemented in casa::MSPointingColumns.
Definition at line 173 of file MSPointingColumns.h.
Referenced by time().
Reimplemented in casa::MSPointingColumns.
Definition at line 187 of file MSPointingColumns.h.
Referenced by timeMeas().
Reimplemented in casa::MSPointingColumns.
Definition at line 174 of file MSPointingColumns.h.
Referenced by timeOrigin().
Reimplemented in casa::MSPointingColumns.
Definition at line 188 of file MSPointingColumns.h.
Referenced by timeOriginMeas().
Reimplemented in casa::MSPointingColumns.
Definition at line 197 of file MSPointingColumns.h.
Referenced by timeOriginQuant().
Reimplemented in casa::MSPointingColumns.
Definition at line 196 of file MSPointingColumns.h.
Referenced by timeQuant().
Reimplemented in casa::MSPointingColumns.
Definition at line 175 of file MSPointingColumns.h.
Referenced by tracking().