casacore
|
A class to provide easy access to MeasurementSet columns. More...
#include <MSColumns.h>
Additional Inherited Members | |
Protected Member Functions inherited from casacore::MSMainColumns | |
MSMainColumns () | |
void | attach (const MeasurementSet &ms) |
A class to provide easy access to MeasurementSet columns.
Public interface
MSColumns stands for MeasurementSet Table columns.
This class provides access to all the subtables and direct access to all the columns in the MeasurementSet. 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.
Having to type long lists of Scalar and Array column declarations gets very tedious. This class attempts to relieve some of that tedium, while at the same time concentrating all the declarations in one place, making Type errors in the column declaration (only caught at run-time) less probable. Type errors in the use of the columns is caught at compile time.
Definition at line 116 of file MSColumns.h.
casacore::MSColumns::MSColumns | ( | const MeasurementSet & | ms | ) |
Create a columns object that accesses the data in the specified MS.
casacore::MSColumns::~MSColumns | ( | ) |
The destructor does nothing special.
|
inline |
|
inline |
|
inline |
Definition at line 128 of file MSColumns.h.
References dataDesc_p.
|
inline |
Definition at line 153 of file MSColumns.h.
References dataDesc_p.
|
inline |
|
inline |
|
inline |
Definition at line 129 of file MSColumns.h.
References feed_p.
|
inline |
Definition at line 154 of file MSColumns.h.
References feed_p.
|
inline |
Definition at line 130 of file MSColumns.h.
References field_p.
|
inline |
Definition at line 155 of file MSColumns.h.
References field_p.
|
inline |
Definition at line 131 of file MSColumns.h.
References flagCmd_p.
|
inline |
Definition at line 156 of file MSColumns.h.
References flagCmd_p.
|
inline |
Definition at line 144 of file MSColumns.h.
References freqOffset_p.
|
inline |
Definition at line 171 of file MSColumns.h.
References freqOffset_p.
|
inline |
Definition at line 132 of file MSColumns.h.
References history_p.
|
inline |
Definition at line 157 of file MSColumns.h.
References history_p.
|
inline |
Definition at line 133 of file MSColumns.h.
References observation_p.
|
inline |
Definition at line 158 of file MSColumns.h.
References observation_p.
|
inline |
Definition at line 134 of file MSColumns.h.
References pointing_p.
|
inline |
Definition at line 159 of file MSColumns.h.
References pointing_p.
|
inline |
Definition at line 135 of file MSColumns.h.
References polarization_p.
|
inline |
Definition at line 160 of file MSColumns.h.
References polarization_p.
|
inline |
Definition at line 136 of file MSColumns.h.
References processor_p.
|
inline |
Definition at line 162 of file MSColumns.h.
References processor_p.
void casacore::MSColumns::setDirectionRef | ( | MDirection::Types | ref | ) |
set the DIRECTION reference type for FIELD, POINTING and SOURCE tables (except for antenna frame directions).
void casacore::MSColumns::setEpochRef | ( | MEpoch::Types | ref, |
Bool | tableMustBeEmpty = True |
||
) |
set the EPOCH reference type in all EPOCH columns in the MS.
Note that only a single EPOCH reference is allowed in the MS. This
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 145 of file MSColumns.h.
References source_p.
|
inline |
Definition at line 172 of file MSColumns.h.
References source_p.
|
inline |
Definition at line 137 of file MSColumns.h.
References spectralWindow_p.
|
inline |
Definition at line 163 of file MSColumns.h.
References spectralWindow_p.
|
inline |
Definition at line 138 of file MSColumns.h.
References state_p.
|
inline |
Definition at line 165 of file MSColumns.h.
References state_p.
|
inline |
Definition at line 146 of file MSColumns.h.
References sysCal_p.
|
inline |
Definition at line 173 of file MSColumns.h.
References sysCal_p.
|
inline |
Definition at line 147 of file MSColumns.h.
References weather_p.
|
inline |
Definition at line 174 of file MSColumns.h.
References weather_p.
|
private |
|
private |
Definition at line 196 of file MSColumns.h.
Referenced by dataDescription().
|
private |
Definition at line 197 of file MSColumns.h.
Referenced by doppler().
|
private |
Definition at line 198 of file MSColumns.h.
Referenced by feed().
|
private |
Definition at line 199 of file MSColumns.h.
Referenced by field().
|
private |
Definition at line 200 of file MSColumns.h.
Referenced by flagCmd().
|
private |
Definition at line 201 of file MSColumns.h.
Referenced by freqOffset().
|
private |
Definition at line 202 of file MSColumns.h.
Referenced by history().
|
private |
Definition at line 203 of file MSColumns.h.
Referenced by observation().
|
private |
Definition at line 204 of file MSColumns.h.
Referenced by pointing().
|
private |
Definition at line 205 of file MSColumns.h.
Referenced by polarization().
|
private |
Definition at line 206 of file MSColumns.h.
Referenced by processor().
|
private |
Definition at line 207 of file MSColumns.h.
Referenced by source().
|
private |
Definition at line 208 of file MSColumns.h.
Referenced by spectralWindow().
|
private |
Definition at line 209 of file MSColumns.h.
Referenced by state().
|
private |
Definition at line 210 of file MSColumns.h.
Referenced by sysCal().
|
private |
Definition at line 211 of file MSColumns.h.
Referenced by weather().