casacore
|
A class to provide easy access to MSObservation columns. More...
#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 80 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 108 of file MSObsColumns.h.
References flagRow_p.
|
inline |
Definition at line 92 of file MSObsColumns.h.
References log_p.
|
inline |
Definition at line 109 of file MSObsColumns.h.
References log_p.
|
inline |
Convenience function that returns the number of rows in any of the columns.
Definition at line 128 of file MSObsColumns.h.
References flagRow_p, and casacore::TableColumn::nrow().
|
inline |
Definition at line 93 of file MSObsColumns.h.
References observer_p.
|
inline |
Definition at line 110 of file MSObsColumns.h.
References observer_p.
|
private |
|
inline |
Definition at line 94 of file MSObsColumns.h.
References project_p.
|
inline |
Definition at line 111 of file MSObsColumns.h.
References project_p.
|
inline |
Definition at line 95 of file MSObsColumns.h.
References releaseDate_p.
|
inline |
Definition at line 112 of file MSObsColumns.h.
References releaseDate_p.
|
inline |
Definition at line 97 of file MSObsColumns.h.
References releaseDateMeas_p.
|
inline |
Definition at line 115 of file MSObsColumns.h.
References releaseDateMeas_p.
|
inline |
Definition at line 96 of file MSObsColumns.h.
References releaseDateQuant_p.
|
inline |
Definition at line 113 of file MSObsColumns.h.
References releaseDateQuant_p.
|
inline |
Definition at line 98 of file MSObsColumns.h.
References schedule_p.
|
inline |
Definition at line 117 of file MSObsColumns.h.
References schedule_p.
|
inline |
Definition at line 99 of file MSObsColumns.h.
References scheduleType_p.
|
inline |
Definition at line 118 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 100 of file MSObsColumns.h.
References telescopeName_p.
|
inline |
Definition at line 119 of file MSObsColumns.h.
References telescopeName_p.
|
inline |
Definition at line 101 of file MSObsColumns.h.
References timeRange_p.
|
inline |
Definition at line 120 of file MSObsColumns.h.
References timeRange_p.
|
inline |
Definition at line 103 of file MSObsColumns.h.
References timeRangeMeas_p.
|
inline |
Definition at line 123 of file MSObsColumns.h.
References timeRangeMeas_p.
|
inline |
Definition at line 102 of file MSObsColumns.h.
References timeRangeQuant_p.
|
inline |
Definition at line 121 of file MSObsColumns.h.
References timeRangeQuant_p.
|
private |
Definition at line 156 of file MSObsColumns.h.
|
private |
Definition at line 157 of file MSObsColumns.h.
Referenced by log().
|
private |
Definition at line 158 of file MSObsColumns.h.
Referenced by observer().
|
private |
Definition at line 159 of file MSObsColumns.h.
Referenced by project().
|
private |
Definition at line 160 of file MSObsColumns.h.
Referenced by releaseDate().
|
private |
Definition at line 167 of file MSObsColumns.h.
Referenced by releaseDateMeas().
|
private |
Definition at line 171 of file MSObsColumns.h.
Referenced by releaseDateQuant().
|
private |
Definition at line 161 of file MSObsColumns.h.
Referenced by schedule().
|
private |
Definition at line 162 of file MSObsColumns.h.
Referenced by scheduleType().
|
private |
Definition at line 163 of file MSObsColumns.h.
Referenced by telescopeName().
|
private |
Definition at line 164 of file MSObsColumns.h.
Referenced by timeRange().
|
private |
Definition at line 168 of file MSObsColumns.h.
Referenced by timeRangeMeas().
|
private |
Definition at line 172 of file MSObsColumns.h.
Referenced by timeRangeQuant().