casa
$Rev:20696$
|
A class to provide easy read-write access to MSHistory columns. More...
#include <MSHistoryColumns.h>
A class to provide easy read-write access to MSHistory columns.
Public interface
MSHistoryColumns stands for MeasurementSet History Table columns.
This class provides access to the columns in the MSHistory 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.
Note by GvD 28-Jan-2010: According to note 229 the OBJECTID column should contain Strings. It is, however, defined as Int. It has to be left as such, otherwise older MeasurementSets cannot be read anymore.
See MSColumns for the motivation.
Definition at line 173 of file MSHistoryColumns.h.
casa::MSHistoryColumns::MSHistoryColumns | ( | MSHistory & | msHistory | ) |
Create a columns object that accesses the data in the specified Table.
The destructor does nothing special.
casa::MSHistoryColumns::MSHistoryColumns | ( | ) | [protected] |
casa::MSHistoryColumns::MSHistoryColumns | ( | const MSHistoryColumns & | ) | [private] |
ScalarColumn<String>& casa::MSHistoryColumns::application | ( | ) | [inline] |
Read-write access to required columns.
Definition at line 184 of file MSHistoryColumns.h.
References application_p.
Referenced by application().
const ROScalarColumn<String>& casa::MSHistoryColumns::application | ( | ) | const [inline] |
Read-only access to required columns.
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 199 of file MSHistoryColumns.h.
References application().
ArrayColumn<String>& casa::MSHistoryColumns::appParams | ( | ) | [inline] |
Definition at line 185 of file MSHistoryColumns.h.
References appParams_p.
Referenced by appParams().
const ROArrayColumn<String>& casa::MSHistoryColumns::appParams | ( | ) | const [inline] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 201 of file MSHistoryColumns.h.
References appParams().
void casa::MSHistoryColumns::attach | ( | MSHistory & | msHistory | ) | [protected] |
ArrayColumn<String>& casa::MSHistoryColumns::cliCommand | ( | ) | [inline] |
Definition at line 186 of file MSHistoryColumns.h.
References cliCommand_p.
Referenced by cliCommand().
const ROArrayColumn<String>& casa::MSHistoryColumns::cliCommand | ( | ) | const [inline] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 203 of file MSHistoryColumns.h.
References cliCommand().
ScalarColumn<String>& casa::MSHistoryColumns::message | ( | ) | [inline] |
const ROScalarColumn<String>& casa::MSHistoryColumns::message | ( | ) | const [inline] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 205 of file MSHistoryColumns.h.
References message().
ScalarColumn<Int>& casa::MSHistoryColumns::objectId | ( | ) | [inline] |
const ROScalarColumn<Int>& casa::MSHistoryColumns::objectId | ( | ) | const [inline] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 207 of file MSHistoryColumns.h.
References objectId().
ScalarColumn<Int>& casa::MSHistoryColumns::observationId | ( | ) | [inline] |
Definition at line 189 of file MSHistoryColumns.h.
References observationId_p.
Referenced by observationId().
const ROScalarColumn<Int>& casa::MSHistoryColumns::observationId | ( | ) | const [inline] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 209 of file MSHistoryColumns.h.
References observationId().
MSHistoryColumns& casa::MSHistoryColumns::operator= | ( | const MSHistoryColumns & | ) | [private] |
ScalarColumn<String>& casa::MSHistoryColumns::origin | ( | ) | [inline] |
const ROScalarColumn<String>& casa::MSHistoryColumns::origin | ( | ) | const [inline] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 211 of file MSHistoryColumns.h.
References origin().
ScalarColumn<String>& casa::MSHistoryColumns::priority | ( | ) | [inline] |
const ROScalarColumn<String>& casa::MSHistoryColumns::priority | ( | ) | const [inline] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 213 of file MSHistoryColumns.h.
References priority().
void casa::MSHistoryColumns::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;
ScalarColumn<Double>& casa::MSHistoryColumns::time | ( | ) | [inline] |
const ROScalarColumn<Double>& casa::MSHistoryColumns::time | ( | ) | const [inline] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 215 of file MSHistoryColumns.h.
References time().
ScalarMeasColumn<MEpoch>& casa::MSHistoryColumns::timeMeas | ( | ) | [inline] |
const ROScalarMeasColumn<MEpoch>& casa::MSHistoryColumns::timeMeas | ( | ) | const [inline] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 219 of file MSHistoryColumns.h.
References timeMeas().
ScalarQuantColumn<Double>& casa::MSHistoryColumns::timeQuant | ( | ) | [inline] |
Definition at line 193 of file MSHistoryColumns.h.
References timeQuant_p.
Referenced by timeQuant().
const ROScalarQuantColumn<Double>& casa::MSHistoryColumns::timeQuant | ( | ) | const [inline] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 217 of file MSHistoryColumns.h.
References timeQuant().
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 249 of file MSHistoryColumns.h.
Referenced by application().
ArrayColumn<String> casa::MSHistoryColumns::appParams_p [private] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 250 of file MSHistoryColumns.h.
Referenced by appParams().
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 251 of file MSHistoryColumns.h.
Referenced by cliCommand().
ScalarColumn<String> casa::MSHistoryColumns::message_p [private] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 252 of file MSHistoryColumns.h.
Referenced by message().
ScalarColumn<Int> casa::MSHistoryColumns::objectId_p [private] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 253 of file MSHistoryColumns.h.
Referenced by objectId().
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 254 of file MSHistoryColumns.h.
Referenced by observationId().
ScalarColumn<String> casa::MSHistoryColumns::origin_p [private] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 255 of file MSHistoryColumns.h.
Referenced by origin().
ScalarColumn<String> casa::MSHistoryColumns::priority_p [private] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 256 of file MSHistoryColumns.h.
Referenced by priority().
ScalarColumn<Double> casa::MSHistoryColumns::time_p [private] |
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 257 of file MSHistoryColumns.h.
Referenced by time().
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 260 of file MSHistoryColumns.h.
Referenced by timeMeas().
Reimplemented from casa::ROMSHistoryColumns.
Definition at line 263 of file MSHistoryColumns.h.
Referenced by timeQuant().