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.
casacore::MSObservationColumns::MSObservationColumns | ( | MSObservation & | msObservation | ) |
Create a columns object that accesses the data in the specified Table.
casacore::MSObservationColumns::~MSObservationColumns | ( | ) |
The desctructor does nothing special.
casacore::MSObservationColumns::MSObservationColumns | ( | ) | [protected] |
casacore::MSObservationColumns::MSObservationColumns | ( | const MSObservationColumns & | ) | [private] |
void casacore::MSObservationColumns::attach | ( | MSObservation & | msObservation | ) | [protected] |
const ROScalarColumn<Bool>& casacore::MSObservationColumns::flagRow | ( | ) | const [inline] |
Read-only access to required columns.
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 209 of file MSObsColumns.h.
References flagRow().
ScalarColumn<Bool>& casacore::MSObservationColumns::flagRow | ( | ) | [inline] |
Read-write access to required columns.
Definition at line 192 of file MSObsColumns.h.
References flagRow_p.
Referenced by flagRow().
const ROArrayColumn<String>& casacore::MSObservationColumns::log | ( | ) | const [inline] |
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 211 of file MSObsColumns.h.
References log().
ArrayColumn<String>& casacore::MSObservationColumns::log | ( | ) | [inline] |
const ROScalarColumn<String>& casacore::MSObservationColumns::observer | ( | ) | const [inline] |
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 213 of file MSObsColumns.h.
References observer().
ScalarColumn<String>& casacore::MSObservationColumns::observer | ( | ) | [inline] |
MSObservationColumns& casacore::MSObservationColumns::operator= | ( | const MSObservationColumns & | ) | [private] |
Reimplemented from casacore::ROMSObservationColumns.
const ROScalarColumn<String>& casacore::MSObservationColumns::project | ( | ) | const [inline] |
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 215 of file MSObsColumns.h.
References project().
ScalarColumn<String>& casacore::MSObservationColumns::project | ( | ) | [inline] |
const ROScalarColumn<Double>& casacore::MSObservationColumns::releaseDate | ( | ) | const [inline] |
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 217 of file MSObsColumns.h.
References releaseDate().
ScalarColumn<Double>& casacore::MSObservationColumns::releaseDate | ( | ) | [inline] |
Definition at line 196 of file MSObsColumns.h.
References releaseDate_p.
Referenced by releaseDate().
const ROScalarMeasColumn<MEpoch>& casacore::MSObservationColumns::releaseDateMeas | ( | ) | const [inline] |
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 221 of file MSObsColumns.h.
References releaseDateMeas().
ScalarMeasColumn<MEpoch>& casacore::MSObservationColumns::releaseDateMeas | ( | ) | [inline] |
Definition at line 198 of file MSObsColumns.h.
References releaseDateMeas_p.
Referenced by releaseDateMeas().
const ROScalarQuantColumn<Double>& casacore::MSObservationColumns::releaseDateQuant | ( | ) | const [inline] |
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 219 of file MSObsColumns.h.
References releaseDateQuant().
ScalarQuantColumn<Double>& casacore::MSObservationColumns::releaseDateQuant | ( | ) | [inline] |
Definition at line 197 of file MSObsColumns.h.
References releaseDateQuant_p.
Referenced by releaseDateQuant().
const ROArrayColumn<String>& casacore::MSObservationColumns::schedule | ( | ) | const [inline] |
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 223 of file MSObsColumns.h.
References schedule().
ArrayColumn<String>& casacore::MSObservationColumns::schedule | ( | ) | [inline] |
const ROScalarColumn<String>& casacore::MSObservationColumns::scheduleType | ( | ) | const [inline] |
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 225 of file MSObsColumns.h.
References scheduleType().
ScalarColumn<String>& casacore::MSObservationColumns::scheduleType | ( | ) | [inline] |
Definition at line 200 of file MSObsColumns.h.
References scheduleType_p.
Referenced by scheduleType().
void casacore::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;
const ROScalarColumn<String>& casacore::MSObservationColumns::telescopeName | ( | ) | const [inline] |
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 227 of file MSObsColumns.h.
References telescopeName().
ScalarColumn<String>& casacore::MSObservationColumns::telescopeName | ( | ) | [inline] |
Definition at line 201 of file MSObsColumns.h.
References telescopeName_p.
Referenced by telescopeName().
const ROArrayColumn<Double>& casacore::MSObservationColumns::timeRange | ( | ) | const [inline] |
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 229 of file MSObsColumns.h.
References timeRange().
ArrayColumn<Double>& casacore::MSObservationColumns::timeRange | ( | ) | [inline] |
const ROArrayMeasColumn<MEpoch>& casacore::MSObservationColumns::timeRangeMeas | ( | ) | const [inline] |
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 233 of file MSObsColumns.h.
References timeRangeMeas().
ArrayMeasColumn<MEpoch>& casacore::MSObservationColumns::timeRangeMeas | ( | ) | [inline] |
Definition at line 204 of file MSObsColumns.h.
References timeRangeMeas_p.
Referenced by timeRangeMeas().
const ROArrayQuantColumn<Double>& casacore::MSObservationColumns::timeRangeQuant | ( | ) | const [inline] |
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 231 of file MSObsColumns.h.
References timeRangeQuant().
ArrayQuantColumn<Double>& casacore::MSObservationColumns::timeRangeQuant | ( | ) | [inline] |
Definition at line 203 of file MSObsColumns.h.
References timeRangeQuant_p.
Referenced by timeRangeQuant().
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 263 of file MSObsColumns.h.
Referenced by flagRow().
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 264 of file MSObsColumns.h.
Referenced by log().
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 265 of file MSObsColumns.h.
Referenced by observer().
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 266 of file MSObsColumns.h.
Referenced by project().
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 267 of file MSObsColumns.h.
Referenced by releaseDate().
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 274 of file MSObsColumns.h.
Referenced by releaseDateMeas().
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 278 of file MSObsColumns.h.
Referenced by releaseDateQuant().
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 268 of file MSObsColumns.h.
Referenced by schedule().
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 269 of file MSObsColumns.h.
Referenced by scheduleType().
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 270 of file MSObsColumns.h.
Referenced by telescopeName().
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 271 of file MSObsColumns.h.
Referenced by timeRange().
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 275 of file MSObsColumns.h.
Referenced by timeRangeMeas().
Reimplemented from casacore::ROMSObservationColumns.
Definition at line 279 of file MSObsColumns.h.
Referenced by timeRangeQuant().