Private Members
- MSObservationColumns(const MSObservationColumns&)
- MSObservationColumns& operator=(const MSObservationColumns&)
Review Status
- Reviewed By:
- Bob Garwood
- Date Reviewed:
- 1997/02/01
Prerequisite
- MSObservation
- ArrayColumn
- ScalarColumn
Etymology
MSObservationColumns stands for MeasurementSet Observation Table
columns.
Synopsis
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.
Motivation
See MSColumns for the motivation.
Member Description
Create a columns object that accesses the data in the specified Table
The desctructor does nothing special
Read-write access to required columns
Read-only access to required columns
void setEpochRef(MEpoch::Types ref, Bool tableMustBeEmpty=True)
set the epoch type for the TIME_RANGE & RELEASE_DATE columns.
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.
MSObservationColumns& operator=(const MSObservationColumns&)