casa
$Rev:20696$
|
A class to provide easy read-write access to MSObservation columns. More...
#include <MSObsColumns.h>
A class to provide easy read-write access to MSObservation columns.
Public interface
MSObservationColumns stands for MeasurementSet Observation Table columns.
This class provides access to the columns in the MSObservation 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 181 of file MSObsColumns.h.
casa::MSObservationColumns::MSObservationColumns | ( | MSObservation & | msObservation | ) |
Create a columns object that accesses the data in the specified Table.
The desctructor does nothing special.
casa::MSObservationColumns::MSObservationColumns | ( | ) | [protected] |
casa::MSObservationColumns::MSObservationColumns | ( | const MSObservationColumns & | ) | [private] |
void casa::MSObservationColumns::attach | ( | MSObservation & | msObservation | ) | [protected] |
ScalarColumn<Bool>& casa::MSObservationColumns::flagRow | ( | ) | [inline] |
Read-write access to required columns.
Definition at line 192 of file MSObsColumns.h.
References flagRow_p.
Referenced by flagRow().
const ROScalarColumn<Bool>& casa::MSObservationColumns::flagRow | ( | ) | const [inline] |
Read-only access to required columns.
Reimplemented from casa::ROMSObservationColumns.
Definition at line 209 of file MSObsColumns.h.
References flagRow().
ArrayColumn<String>& casa::MSObservationColumns::log | ( | ) | [inline] |
const ROArrayColumn<String>& casa::MSObservationColumns::log | ( | ) | const [inline] |
Reimplemented from casa::ROMSObservationColumns.
Definition at line 211 of file MSObsColumns.h.
References log().
ScalarColumn<String>& casa::MSObservationColumns::observer | ( | ) | [inline] |
const ROScalarColumn<String>& casa::MSObservationColumns::observer | ( | ) | const [inline] |
Reimplemented from casa::ROMSObservationColumns.
Definition at line 213 of file MSObsColumns.h.
References observer().
MSObservationColumns& casa::MSObservationColumns::operator= | ( | const MSObservationColumns & | ) | [private] |
ScalarColumn<String>& casa::MSObservationColumns::project | ( | ) | [inline] |
const ROScalarColumn<String>& casa::MSObservationColumns::project | ( | ) | const [inline] |
Reimplemented from casa::ROMSObservationColumns.
Definition at line 215 of file MSObsColumns.h.
References project().
ScalarColumn<Double>& casa::MSObservationColumns::releaseDate | ( | ) | [inline] |
Definition at line 196 of file MSObsColumns.h.
References releaseDate_p.
Referenced by releaseDate().
const ROScalarColumn<Double>& casa::MSObservationColumns::releaseDate | ( | ) | const [inline] |
Reimplemented from casa::ROMSObservationColumns.
Definition at line 217 of file MSObsColumns.h.
References releaseDate().
ScalarMeasColumn<MEpoch>& casa::MSObservationColumns::releaseDateMeas | ( | ) | [inline] |
Definition at line 198 of file MSObsColumns.h.
References releaseDateMeas_p.
Referenced by releaseDateMeas().
const ROScalarMeasColumn<MEpoch>& casa::MSObservationColumns::releaseDateMeas | ( | ) | const [inline] |
Reimplemented from casa::ROMSObservationColumns.
Definition at line 221 of file MSObsColumns.h.
References releaseDateMeas().
ScalarQuantColumn<Double>& casa::MSObservationColumns::releaseDateQuant | ( | ) | [inline] |
Definition at line 197 of file MSObsColumns.h.
References releaseDateQuant_p.
Referenced by releaseDateQuant().
const ROScalarQuantColumn<Double>& casa::MSObservationColumns::releaseDateQuant | ( | ) | const [inline] |
Reimplemented from casa::ROMSObservationColumns.
Definition at line 219 of file MSObsColumns.h.
References releaseDateQuant().
ArrayColumn<String>& casa::MSObservationColumns::schedule | ( | ) | [inline] |
const ROArrayColumn<String>& casa::MSObservationColumns::schedule | ( | ) | const [inline] |
Reimplemented from casa::ROMSObservationColumns.
Definition at line 223 of file MSObsColumns.h.
References schedule().
ScalarColumn<String>& casa::MSObservationColumns::scheduleType | ( | ) | [inline] |
Definition at line 200 of file MSObsColumns.h.
References scheduleType_p.
Referenced by scheduleType().
const ROScalarColumn<String>& casa::MSObservationColumns::scheduleType | ( | ) | const [inline] |
Reimplemented from casa::ROMSObservationColumns.
Definition at line 225 of file MSObsColumns.h.
References scheduleType().
void casa::MSObservationColumns::setEpochRef | ( | MEpoch::Types | ref, |
Bool | tableMustBeEmpty = True |
||
) |
set the epoch type for the TIME_RANGE & RELEASE_DATE columns.
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;
ScalarColumn<String>& casa::MSObservationColumns::telescopeName | ( | ) | [inline] |
Definition at line 201 of file MSObsColumns.h.
References telescopeName_p.
Referenced by telescopeName().
const ROScalarColumn<String>& casa::MSObservationColumns::telescopeName | ( | ) | const [inline] |
Reimplemented from casa::ROMSObservationColumns.
Definition at line 227 of file MSObsColumns.h.
References telescopeName().
ArrayColumn<Double>& casa::MSObservationColumns::timeRange | ( | ) | [inline] |
const ROArrayColumn<Double>& casa::MSObservationColumns::timeRange | ( | ) | const [inline] |
Reimplemented from casa::ROMSObservationColumns.
Definition at line 229 of file MSObsColumns.h.
References timeRange().
ArrayMeasColumn<MEpoch>& casa::MSObservationColumns::timeRangeMeas | ( | ) | [inline] |
Definition at line 204 of file MSObsColumns.h.
References timeRangeMeas_p.
Referenced by timeRangeMeas().
const ROArrayMeasColumn<MEpoch>& casa::MSObservationColumns::timeRangeMeas | ( | ) | const [inline] |
Reimplemented from casa::ROMSObservationColumns.
Definition at line 233 of file MSObsColumns.h.
References timeRangeMeas().
ArrayQuantColumn<Double>& casa::MSObservationColumns::timeRangeQuant | ( | ) | [inline] |
Definition at line 203 of file MSObsColumns.h.
References timeRangeQuant_p.
Referenced by timeRangeQuant().
const ROArrayQuantColumn<Double>& casa::MSObservationColumns::timeRangeQuant | ( | ) | const [inline] |
Reimplemented from casa::ROMSObservationColumns.
Definition at line 231 of file MSObsColumns.h.
References timeRangeQuant().
Reimplemented from casa::ROMSObservationColumns.
Definition at line 263 of file MSObsColumns.h.
Referenced by flagRow().
ArrayColumn<String> casa::MSObservationColumns::log_p [private] |
Reimplemented from casa::ROMSObservationColumns.
Definition at line 264 of file MSObsColumns.h.
Referenced by log().
Reimplemented from casa::ROMSObservationColumns.
Definition at line 265 of file MSObsColumns.h.
Referenced by observer().
Reimplemented from casa::ROMSObservationColumns.
Definition at line 266 of file MSObsColumns.h.
Referenced by project().
Reimplemented from casa::ROMSObservationColumns.
Definition at line 267 of file MSObsColumns.h.
Referenced by releaseDate().
Reimplemented from casa::ROMSObservationColumns.
Definition at line 274 of file MSObsColumns.h.
Referenced by releaseDateMeas().
Reimplemented from casa::ROMSObservationColumns.
Definition at line 278 of file MSObsColumns.h.
Referenced by releaseDateQuant().
Reimplemented from casa::ROMSObservationColumns.
Definition at line 268 of file MSObsColumns.h.
Referenced by schedule().
Reimplemented from casa::ROMSObservationColumns.
Definition at line 269 of file MSObsColumns.h.
Referenced by scheduleType().
Reimplemented from casa::ROMSObservationColumns.
Definition at line 270 of file MSObsColumns.h.
Referenced by telescopeName().
Reimplemented from casa::ROMSObservationColumns.
Definition at line 271 of file MSObsColumns.h.
Referenced by timeRange().
Reimplemented from casa::ROMSObservationColumns.
Definition at line 275 of file MSObsColumns.h.
Referenced by timeRangeMeas().
Reimplemented from casa::ROMSObservationColumns.
Definition at line 279 of file MSObsColumns.h.
Referenced by timeRangeQuant().