casacore
|
#include <MSObsColumns.h>
Protected Member Functions | |
MSObservationColumns () | |
void | attach (const MSObservation &msObservation) |
Private Member Functions | |
MSObservationColumns (const MSObservationColumns &) | |
MSObservationColumns & | operator= (const MSObservationColumns &) |
A class to provide easy 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 78 of file MSObsColumns.h.
casacore::MSObservationColumns::MSObservationColumns | ( | const MSObservation & | msObservation | ) |
Create a columns object that accesses the data in the specified Table.
casacore::MSObservationColumns::~MSObservationColumns | ( | ) |
The desctructor does nothing special.
|
protected |
|
private |
|
protected |
|
inline |
|
inline |
Const access to required columns.
Definition at line 106 of file MSObsColumns.h.
References flagRow_p.
|
inline |
Definition at line 90 of file MSObsColumns.h.
References log_p.
|
inline |
Definition at line 107 of file MSObsColumns.h.
References log_p.
|
inline |
Convenience function that returns the number of rows in any of the columns.
Definition at line 126 of file MSObsColumns.h.
References flagRow_p, and casacore::TableColumn::nrow().
|
inline |
Definition at line 91 of file MSObsColumns.h.
References observer_p.
|
inline |
Definition at line 108 of file MSObsColumns.h.
References observer_p.
|
private |
|
inline |
Definition at line 92 of file MSObsColumns.h.
References project_p.
|
inline |
Definition at line 109 of file MSObsColumns.h.
References project_p.
|
inline |
Definition at line 93 of file MSObsColumns.h.
References releaseDate_p.
|
inline |
Definition at line 110 of file MSObsColumns.h.
References releaseDate_p.
|
inline |
Definition at line 95 of file MSObsColumns.h.
References releaseDateMeas_p.
|
inline |
Definition at line 113 of file MSObsColumns.h.
References releaseDateMeas_p.
|
inline |
Definition at line 94 of file MSObsColumns.h.
References releaseDateQuant_p.
|
inline |
Definition at line 111 of file MSObsColumns.h.
References releaseDateQuant_p.
|
inline |
Definition at line 96 of file MSObsColumns.h.
References schedule_p.
|
inline |
Definition at line 115 of file MSObsColumns.h.
References schedule_p.
|
inline |
Definition at line 97 of file MSObsColumns.h.
References scheduleType_p.
|
inline |
Definition at line 116 of file MSObsColumns.h.
References scheduleType_p.
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;
|
inline |
Definition at line 98 of file MSObsColumns.h.
References telescopeName_p.
|
inline |
Definition at line 117 of file MSObsColumns.h.
References telescopeName_p.
|
inline |
Definition at line 99 of file MSObsColumns.h.
References timeRange_p.
|
inline |
Definition at line 118 of file MSObsColumns.h.
References timeRange_p.
|
inline |
Definition at line 101 of file MSObsColumns.h.
References timeRangeMeas_p.
|
inline |
Definition at line 121 of file MSObsColumns.h.
References timeRangeMeas_p.
|
inline |
Definition at line 100 of file MSObsColumns.h.
References timeRangeQuant_p.
|
inline |
Definition at line 119 of file MSObsColumns.h.
References timeRangeQuant_p.
|
private |
Definition at line 154 of file MSObsColumns.h.
|
private |
Definition at line 155 of file MSObsColumns.h.
|
private |
Definition at line 156 of file MSObsColumns.h.
Referenced by observer(), and observer().
|
private |
Definition at line 157 of file MSObsColumns.h.
|
private |
Definition at line 158 of file MSObsColumns.h.
Referenced by releaseDate(), and releaseDate().
|
private |
Definition at line 165 of file MSObsColumns.h.
Referenced by releaseDateMeas(), and releaseDateMeas().
|
private |
Definition at line 169 of file MSObsColumns.h.
Referenced by releaseDateQuant(), and releaseDateQuant().
|
private |
Definition at line 159 of file MSObsColumns.h.
Referenced by schedule(), and schedule().
|
private |
Definition at line 160 of file MSObsColumns.h.
Referenced by scheduleType(), and scheduleType().
|
private |
Definition at line 161 of file MSObsColumns.h.
Referenced by telescopeName(), and telescopeName().
|
private |
Definition at line 162 of file MSObsColumns.h.
Referenced by timeRange(), and timeRange().
|
private |
Definition at line 166 of file MSObsColumns.h.
Referenced by timeRangeMeas(), and timeRangeMeas().
|
private |
Definition at line 170 of file MSObsColumns.h.
Referenced by timeRangeQuant(), and timeRangeQuant().