casa
$Rev:20696$
|
A class to provide easy read-write access to MSFeed columns. More...
#include <MSFeedColumns.h>
A class to provide easy read-write access to MSFeed columns.
Public interface
MSFeedColumns stands for MeasurementSet Feed Table columns.
This class provides access to the columns in the MSFeed 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 MSColumns for an example.
See MSColumns for the motivation.
Definition at line 245 of file MSFeedColumns.h.
casa::MSFeedColumns::MSFeedColumns | ( | MSFeed & | msFeed | ) |
Create a columns object that accesses the data in the specified Table.
The desctructor does nothing special.
casa::MSFeedColumns::MSFeedColumns | ( | ) | [protected] |
casa::MSFeedColumns::MSFeedColumns | ( | const MSFeedColumns & | ) | [private] |
ScalarColumn<Int>& casa::MSFeedColumns::antennaId | ( | ) | [inline] |
Read-write access to required columns.
Definition at line 256 of file MSFeedColumns.h.
References antennaId_p.
Referenced by antennaId().
const ROScalarColumn<Int>& casa::MSFeedColumns::antennaId | ( | ) | const [inline] |
Read-only access to required columns.
Reimplemented from casa::ROMSFeedColumns.
Definition at line 290 of file MSFeedColumns.h.
References antennaId().
void casa::MSFeedColumns::attach | ( | MSFeed & | msFeed | ) | [protected] |
void casa::MSFeedColumns::attachOptionalCols | ( | MSFeed & | msFeed | ) | [private] |
ScalarColumn<Int>& casa::MSFeedColumns::beamId | ( | ) | [inline] |
const ROScalarColumn<Int>& casa::MSFeedColumns::beamId | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 292 of file MSFeedColumns.h.
References beamId().
ArrayColumn<Double>& casa::MSFeedColumns::beamOffset | ( | ) | [inline] |
Definition at line 258 of file MSFeedColumns.h.
References beamOffset_p.
Referenced by beamOffset().
const ROArrayColumn<Double>& casa::MSFeedColumns::beamOffset | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 294 of file MSFeedColumns.h.
References beamOffset().
ArrayMeasColumn<MDirection>& casa::MSFeedColumns::beamOffsetMeas | ( | ) | [inline] |
Definition at line 260 of file MSFeedColumns.h.
References beamOffsetMeas_p.
Referenced by beamOffsetMeas().
const ROArrayMeasColumn<MDirection>& casa::MSFeedColumns::beamOffsetMeas | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 298 of file MSFeedColumns.h.
References beamOffsetMeas().
ArrayQuantColumn<Double>& casa::MSFeedColumns::beamOffsetQuant | ( | ) | [inline] |
Definition at line 259 of file MSFeedColumns.h.
References beamOffsetQuant_p.
Referenced by beamOffsetQuant().
const ROArrayQuantColumn<Double>& casa::MSFeedColumns::beamOffsetQuant | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 296 of file MSFeedColumns.h.
References beamOffsetQuant().
ScalarColumn<Int>& casa::MSFeedColumns::feedId | ( | ) | [inline] |
const ROScalarColumn<Int>& casa::MSFeedColumns::feedId | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 300 of file MSFeedColumns.h.
References feedId().
ScalarColumn<Double>& casa::MSFeedColumns::focusLength | ( | ) | [inline] |
Read-write access to optional columns.
Definition at line 283 of file MSFeedColumns.h.
References focusLength_p.
Referenced by focusLength().
const ROScalarColumn<Double>& casa::MSFeedColumns::focusLength | ( | ) | const [inline] |
Read-only access to optional columns.
Reimplemented from casa::ROMSFeedColumns.
Definition at line 334 of file MSFeedColumns.h.
References focusLength().
ScalarQuantColumn<Double>& casa::MSFeedColumns::focusLengthQuant | ( | ) | [inline] |
Definition at line 284 of file MSFeedColumns.h.
References focusLengthQuant_p.
Referenced by focusLengthQuant().
const ROScalarQuantColumn<Double>& casa::MSFeedColumns::focusLengthQuant | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 336 of file MSFeedColumns.h.
References focusLengthQuant().
ScalarColumn<Double>& casa::MSFeedColumns::interval | ( | ) | [inline] |
const ROScalarColumn<Double>& casa::MSFeedColumns::interval | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 302 of file MSFeedColumns.h.
References interval().
ScalarQuantColumn<Double>& casa::MSFeedColumns::intervalQuant | ( | ) | [inline] |
Definition at line 264 of file MSFeedColumns.h.
References intervalQuant_p.
Referenced by intervalQuant().
const ROScalarQuantColumn<Double>& casa::MSFeedColumns::intervalQuant | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 304 of file MSFeedColumns.h.
References intervalQuant().
ScalarColumn<Int>& casa::MSFeedColumns::numReceptors | ( | ) | [inline] |
Definition at line 265 of file MSFeedColumns.h.
References numReceptors_p.
Referenced by numReceptors().
const ROScalarColumn<Int>& casa::MSFeedColumns::numReceptors | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 306 of file MSFeedColumns.h.
References numReceptors().
MSFeedColumns& casa::MSFeedColumns::operator= | ( | const MSFeedColumns & | ) | [private] |
ScalarColumn<Int>& casa::MSFeedColumns::phasedFeedId | ( | ) | [inline] |
Definition at line 285 of file MSFeedColumns.h.
References phasedFeedId_p.
Referenced by phasedFeedId().
const ROScalarColumn<Int>& casa::MSFeedColumns::phasedFeedId | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 338 of file MSFeedColumns.h.
References phasedFeedId().
ArrayColumn<String>& casa::MSFeedColumns::polarizationType | ( | ) | [inline] |
Definition at line 267 of file MSFeedColumns.h.
References polarizationType_p.
Referenced by polarizationType().
const ROArrayColumn<String>& casa::MSFeedColumns::polarizationType | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 310 of file MSFeedColumns.h.
References polarizationType().
ArrayColumn<Complex>& casa::MSFeedColumns::polResponse | ( | ) | [inline] |
Definition at line 266 of file MSFeedColumns.h.
References polResponse_p.
Referenced by polResponse().
const ROArrayColumn<Complex>& casa::MSFeedColumns::polResponse | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 308 of file MSFeedColumns.h.
References polResponse().
ArrayColumn<Double>& casa::MSFeedColumns::position | ( | ) | [inline] |
const ROArrayColumn<Double>& casa::MSFeedColumns::position | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 312 of file MSFeedColumns.h.
References position().
ScalarMeasColumn<MPosition>& casa::MSFeedColumns::positionMeas | ( | ) | [inline] |
Definition at line 270 of file MSFeedColumns.h.
References positionMeas_p.
Referenced by positionMeas().
const ROScalarMeasColumn<MPosition>& casa::MSFeedColumns::positionMeas | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 316 of file MSFeedColumns.h.
References positionMeas().
ArrayQuantColumn<Double>& casa::MSFeedColumns::positionQuant | ( | ) | [inline] |
Definition at line 269 of file MSFeedColumns.h.
References positionQuant_p.
Referenced by positionQuant().
const ROArrayQuantColumn<Double>& casa::MSFeedColumns::positionQuant | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 314 of file MSFeedColumns.h.
References positionQuant().
ArrayColumn<Double>& casa::MSFeedColumns::receptorAngle | ( | ) | [inline] |
Definition at line 272 of file MSFeedColumns.h.
References receptorAngle_p.
Referenced by receptorAngle().
const ROArrayColumn<Double>& casa::MSFeedColumns::receptorAngle | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 318 of file MSFeedColumns.h.
References receptorAngle().
ArrayQuantColumn<Double>& casa::MSFeedColumns::receptorAngleQuant | ( | ) | [inline] |
Definition at line 273 of file MSFeedColumns.h.
References receptorAngleQuant_p.
Referenced by receptorAngleQuant().
const ROArrayQuantColumn<Double>& casa::MSFeedColumns::receptorAngleQuant | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 320 of file MSFeedColumns.h.
References receptorAngleQuant().
set the direction type for the BEAM_OFFSET column.
This can only be done when the table has no rows. Trying to do so at other times will throw an exception.
void casa::MSFeedColumns::setEpochRef | ( | MEpoch::Types | ref, |
Bool | tableMustBeEmpty = True |
||
) |
set the epoch type for the TIME column.
Tip: In principle this function can only be used if the table is empty, otherwise already written values may thereafter have an incorrect reference, offset, or unit; However, it is possible that part of the table gets written before these values are known; In that case the reference, offset, or units can be set by using a False tableMustBeEmpty
argument;
void casa::MSFeedColumns::setPositionRef | ( | MPosition::Types | ref | ) |
set the position type for the POSITION column.
This can only be done when the table has no rows. Trying to do so at other times will throw an exception.
ScalarColumn<Int>& casa::MSFeedColumns::spectralWindowId | ( | ) | [inline] |
Definition at line 275 of file MSFeedColumns.h.
References spectralWindowId_p.
Referenced by spectralWindowId().
const ROScalarColumn<Int>& casa::MSFeedColumns::spectralWindowId | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 322 of file MSFeedColumns.h.
References spectralWindowId().
ScalarColumn<Double>& casa::MSFeedColumns::time | ( | ) | [inline] |
const ROScalarColumn<Double>& casa::MSFeedColumns::time | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 324 of file MSFeedColumns.h.
References time().
ScalarMeasColumn<MEpoch>& casa::MSFeedColumns::timeMeas | ( | ) | [inline] |
const ROScalarMeasColumn<MEpoch>& casa::MSFeedColumns::timeMeas | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 328 of file MSFeedColumns.h.
References timeMeas().
ScalarQuantColumn<Double>& casa::MSFeedColumns::timeQuant | ( | ) | [inline] |
const ROScalarQuantColumn<Double>& casa::MSFeedColumns::timeQuant | ( | ) | const [inline] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 326 of file MSFeedColumns.h.
References timeQuant().
ScalarColumn<Int> casa::MSFeedColumns::antennaId_p [private] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 381 of file MSFeedColumns.h.
Referenced by antennaId().
ScalarColumn<Int> casa::MSFeedColumns::beamId_p [private] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 382 of file MSFeedColumns.h.
Referenced by beamId().
ArrayColumn<Double> casa::MSFeedColumns::beamOffset_p [private] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 383 of file MSFeedColumns.h.
Referenced by beamOffset().
Access to Measure columns.
Reimplemented from casa::ROMSFeedColumns.
Definition at line 398 of file MSFeedColumns.h.
Referenced by beamOffsetMeas().
Access to Quantum columns.
Reimplemented from casa::ROMSFeedColumns.
Definition at line 403 of file MSFeedColumns.h.
Referenced by beamOffsetQuant().
ScalarColumn<Int> casa::MSFeedColumns::feedId_p [private] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 384 of file MSFeedColumns.h.
Referenced by feedId().
ScalarColumn<Double> casa::MSFeedColumns::focusLength_p [private] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 394 of file MSFeedColumns.h.
Referenced by focusLength().
Reimplemented from casa::ROMSFeedColumns.
Definition at line 409 of file MSFeedColumns.h.
Referenced by focusLengthQuant().
ScalarColumn<Double> casa::MSFeedColumns::interval_p [private] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 385 of file MSFeedColumns.h.
Referenced by interval().
Reimplemented from casa::ROMSFeedColumns.
Definition at line 404 of file MSFeedColumns.h.
Referenced by intervalQuant().
ScalarColumn<Int> casa::MSFeedColumns::numReceptors_p [private] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 386 of file MSFeedColumns.h.
Referenced by numReceptors().
ScalarColumn<Int> casa::MSFeedColumns::phasedFeedId_p [private] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 395 of file MSFeedColumns.h.
Referenced by phasedFeedId().
Reimplemented from casa::ROMSFeedColumns.
Definition at line 388 of file MSFeedColumns.h.
Referenced by polarizationType().
ArrayColumn<Complex> casa::MSFeedColumns::polResponse_p [private] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 387 of file MSFeedColumns.h.
Referenced by polResponse().
ArrayColumn<Double> casa::MSFeedColumns::position_p [private] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 389 of file MSFeedColumns.h.
Referenced by position().
Reimplemented from casa::ROMSFeedColumns.
Definition at line 399 of file MSFeedColumns.h.
Referenced by positionMeas().
Reimplemented from casa::ROMSFeedColumns.
Definition at line 405 of file MSFeedColumns.h.
Referenced by positionQuant().
Reimplemented from casa::ROMSFeedColumns.
Definition at line 390 of file MSFeedColumns.h.
Referenced by receptorAngle().
Reimplemented from casa::ROMSFeedColumns.
Definition at line 406 of file MSFeedColumns.h.
Referenced by receptorAngleQuant().
Reimplemented from casa::ROMSFeedColumns.
Definition at line 391 of file MSFeedColumns.h.
Referenced by spectralWindowId().
ScalarColumn<Double> casa::MSFeedColumns::time_p [private] |
Reimplemented from casa::ROMSFeedColumns.
Definition at line 392 of file MSFeedColumns.h.
Referenced by time().
Reimplemented from casa::ROMSFeedColumns.
Definition at line 400 of file MSFeedColumns.h.
Referenced by timeMeas().
Reimplemented from casa::ROMSFeedColumns.
Definition at line 407 of file MSFeedColumns.h.
Referenced by timeQuant().