casa
5.7.0-16
|
A class to provide easy read-write access to MeasurementSet columns. More...
#include <MSColumns.h>
Additional Inherited Members | |
Protected Member Functions inherited from casacore::MSMainColumns | |
MSMainColumns () | |
void | attach (MeasurementSet &ms) |
Protected Member Functions inherited from casacore::ROMSMainColumns | |
ROMSMainColumns () | |
void | attach (const MeasurementSet &ms) |
A class to provide easy read-write 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 221 of file MSColumns.h.
casacore::MSColumns::MSColumns | ( | MeasurementSet & | ms | ) |
Create a columns object that accesses the data in the specified MS.
casacore::MSColumns::~MSColumns | ( | ) |
The destructor does nothing special.
|
inline |
Read-write access to required subtables.
Definition at line 232 of file MSColumns.h.
References antenna_p.
|
inline |
Read-only access to required subtables.
Definition at line 257 of file MSColumns.h.
References antenna_p.
|
inline |
Definition at line 233 of file MSColumns.h.
References dataDesc_p.
|
inline |
Definition at line 258 of file MSColumns.h.
References dataDesc_p.
|
inline |
Read-write access to optional subtables.
Definition at line 248 of file MSColumns.h.
References doppler_p.
|
inline |
Read-only access to optional subtables.
Definition at line 276 of file MSColumns.h.
References doppler_p.
|
inline |
Definition at line 234 of file MSColumns.h.
References feed_p.
|
inline |
Definition at line 259 of file MSColumns.h.
References feed_p.
|
inline |
Definition at line 235 of file MSColumns.h.
References field_p.
|
inline |
Definition at line 260 of file MSColumns.h.
References field_p.
|
inline |
Definition at line 236 of file MSColumns.h.
References flagCmd_p.
|
inline |
Definition at line 261 of file MSColumns.h.
References flagCmd_p.
|
inline |
Definition at line 249 of file MSColumns.h.
References freqOffset_p.
|
inline |
Definition at line 277 of file MSColumns.h.
References freqOffset_p.
|
inline |
Definition at line 237 of file MSColumns.h.
References history_p.
|
inline |
Definition at line 262 of file MSColumns.h.
References history_p.
|
inline |
Definition at line 238 of file MSColumns.h.
References observation_p.
|
inline |
Definition at line 263 of file MSColumns.h.
References observation_p.
|
inline |
Definition at line 239 of file MSColumns.h.
References pointing_p.
|
inline |
Definition at line 264 of file MSColumns.h.
References pointing_p.
|
inline |
Definition at line 240 of file MSColumns.h.
References polarization_p.
|
inline |
Definition at line 265 of file MSColumns.h.
References polarization_p.
|
inline |
Definition at line 241 of file MSColumns.h.
References processor_p.
|
inline |
Definition at line 267 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 250 of file MSColumns.h.
References source_p.
|
inline |
Definition at line 268 of file MSColumns.h.
References source_p.
|
inline |
Definition at line 242 of file MSColumns.h.
References spectralWindow_p.
|
inline |
Definition at line 269 of file MSColumns.h.
References spectralWindow_p.
|
inline |
Definition at line 243 of file MSColumns.h.
References state_p.
|
inline |
Definition at line 271 of file MSColumns.h.
References state_p.
|
inline |
Definition at line 251 of file MSColumns.h.
References sysCal_p.
|
inline |
Definition at line 278 of file MSColumns.h.
References sysCal_p.
|
inline |
Definition at line 252 of file MSColumns.h.
References weather_p.
|
inline |
Definition at line 279 of file MSColumns.h.
References weather_p.
|
private |
|
private |
Definition at line 301 of file MSColumns.h.
Referenced by dataDescription().
|
private |
Definition at line 302 of file MSColumns.h.
Referenced by doppler().
|
private |
Definition at line 303 of file MSColumns.h.
Referenced by feed().
|
private |
Definition at line 304 of file MSColumns.h.
Referenced by field().
|
private |
Definition at line 305 of file MSColumns.h.
Referenced by flagCmd().
|
private |
Definition at line 306 of file MSColumns.h.
Referenced by freqOffset().
|
private |
Definition at line 307 of file MSColumns.h.
Referenced by history().
|
private |
Definition at line 308 of file MSColumns.h.
Referenced by observation().
|
private |
Definition at line 309 of file MSColumns.h.
Referenced by pointing().
|
private |
Definition at line 310 of file MSColumns.h.
Referenced by polarization().
|
private |
Definition at line 311 of file MSColumns.h.
Referenced by processor().
|
private |
Definition at line 312 of file MSColumns.h.
Referenced by source().
|
private |
Definition at line 313 of file MSColumns.h.
Referenced by spectralWindow().
|
private |
Definition at line 314 of file MSColumns.h.
Referenced by state().
|
private |
Definition at line 315 of file MSColumns.h.
Referenced by sysCal().
|
private |
Definition at line 316 of file MSColumns.h.
Referenced by weather().