casa
5.7.0-16
|
A class to provide easy read-write access to MSFeed columns. More...
#include <MSFeedColumns.h>
Protected Member Functions | |
MSFeedColumns () | |
void | attach (MSFeed &msFeed) |
Protected Member Functions inherited from casacore::ROMSFeedColumns | |
ROMSFeedColumns () | |
void | attach (const MSFeed &msFeed) |
Private Member Functions | |
MSFeedColumns (const MSFeedColumns &) | |
MSFeedColumns & | operator= (const MSFeedColumns &) |
void | attachOptionalCols (MSFeed &msFeed) |
A class to provide easy read-write access to MSFeed columns.
Public interface
MSFeedColumns stands for MeasurementSet Feed Table columns.
This class provides access to the columns in the MSFeed 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 245 of file MSFeedColumns.h.
casacore::MSFeedColumns::MSFeedColumns | ( | MSFeed & | msFeed | ) |
Create a columns object that accesses the data in the specified Table.
casacore::MSFeedColumns::~MSFeedColumns | ( | ) |
The desctructor does nothing special.
|
protected |
|
private |
|
inline |
Read-write access to required columns.
Definition at line 256 of file MSFeedColumns.h.
References antennaId_p.
|
inline |
Read-only access to required columns.
Definition at line 290 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::antennaId().
|
protected |
|
private |
|
inline |
Definition at line 257 of file MSFeedColumns.h.
References beamId_p.
|
inline |
Definition at line 292 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::beamId().
|
inline |
Definition at line 258 of file MSFeedColumns.h.
References beamOffset_p.
|
inline |
Definition at line 294 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::beamOffset().
|
inline |
Definition at line 260 of file MSFeedColumns.h.
References beamOffsetMeas_p.
|
inline |
Definition at line 298 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::beamOffsetMeas().
|
inline |
Definition at line 259 of file MSFeedColumns.h.
References beamOffsetQuant_p.
|
inline |
Definition at line 296 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::beamOffsetQuant().
|
inline |
Definition at line 262 of file MSFeedColumns.h.
References feedId_p.
|
inline |
Definition at line 300 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::feedId().
|
inline |
Read-write access to optional columns.
Definition at line 283 of file MSFeedColumns.h.
References focusLength_p.
|
inline |
Read-only access to optional columns.
Definition at line 334 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::focusLength().
|
inline |
Definition at line 284 of file MSFeedColumns.h.
References focusLengthQuant_p.
|
inline |
Definition at line 336 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::focusLengthQuant().
|
inline |
Definition at line 263 of file MSFeedColumns.h.
References interval_p.
|
inline |
Definition at line 302 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::interval().
|
inline |
Definition at line 264 of file MSFeedColumns.h.
References intervalQuant_p.
|
inline |
Definition at line 304 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::intervalQuant().
|
inline |
Definition at line 265 of file MSFeedColumns.h.
References numReceptors_p.
|
inline |
Definition at line 306 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::numReceptors().
|
private |
|
inline |
Definition at line 285 of file MSFeedColumns.h.
References phasedFeedId_p.
|
inline |
Definition at line 338 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::phasedFeedId().
|
inline |
Definition at line 267 of file MSFeedColumns.h.
References polarizationType_p.
|
inline |
Definition at line 310 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::polarizationType().
|
inline |
Definition at line 266 of file MSFeedColumns.h.
References polResponse_p.
|
inline |
Definition at line 308 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::polResponse().
|
inline |
Definition at line 268 of file MSFeedColumns.h.
References position_p.
|
inline |
Definition at line 312 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::position().
|
inline |
Definition at line 270 of file MSFeedColumns.h.
References positionMeas_p.
|
inline |
Definition at line 316 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::positionMeas().
|
inline |
Definition at line 269 of file MSFeedColumns.h.
References positionQuant_p.
|
inline |
Definition at line 314 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::positionQuant().
|
inline |
Definition at line 272 of file MSFeedColumns.h.
References receptorAngle_p.
|
inline |
Definition at line 318 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::receptorAngle().
|
inline |
Definition at line 273 of file MSFeedColumns.h.
References receptorAngleQuant_p.
|
inline |
Definition at line 320 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::receptorAngleQuant().
void casacore::MSFeedColumns::setDirectionRef | ( | MDirection::Types | ref | ) |
set the direction type for the BEAM_OFFSET column.
This can only be done when the table has no rows. Trying to do so at other times will throw an exception.
void casacore::MSFeedColumns::setEpochRef | ( | MEpoch::Types | ref, |
Bool | tableMustBeEmpty = True |
||
) |
set the epoch type for the TIME column.
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;
void casacore::MSFeedColumns::setPositionRef | ( | MPosition::Types | ref | ) |
set the position type for the POSITION column.
This can only be done when the table has no rows. Trying to do so at other times will throw an exception.
|
inline |
Definition at line 275 of file MSFeedColumns.h.
References spectralWindowId_p.
|
inline |
Definition at line 322 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::spectralWindowId().
|
inline |
Definition at line 276 of file MSFeedColumns.h.
References time_p.
|
inline |
Definition at line 324 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::time().
|
inline |
Definition at line 278 of file MSFeedColumns.h.
References timeMeas_p.
|
inline |
Definition at line 328 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::timeMeas().
|
inline |
Definition at line 277 of file MSFeedColumns.h.
References timeQuant_p.
|
inline |
Definition at line 326 of file MSFeedColumns.h.
References casacore::ROMSFeedColumns::timeQuant().
|
private |
Definition at line 381 of file MSFeedColumns.h.
Referenced by antennaId().
|
private |
Definition at line 382 of file MSFeedColumns.h.
Referenced by beamId().
|
private |
Definition at line 383 of file MSFeedColumns.h.
Referenced by beamOffset().
|
private |
Definition at line 398 of file MSFeedColumns.h.
Referenced by beamOffsetMeas().
|
private |
Definition at line 403 of file MSFeedColumns.h.
Referenced by beamOffsetQuant().
|
private |
Definition at line 384 of file MSFeedColumns.h.
Referenced by feedId().
|
private |
Definition at line 394 of file MSFeedColumns.h.
Referenced by focusLength().
|
private |
Definition at line 409 of file MSFeedColumns.h.
Referenced by focusLengthQuant().
|
private |
Definition at line 385 of file MSFeedColumns.h.
Referenced by interval().
|
private |
Definition at line 404 of file MSFeedColumns.h.
Referenced by intervalQuant().
|
private |
Definition at line 386 of file MSFeedColumns.h.
Referenced by numReceptors().
|
private |
Definition at line 395 of file MSFeedColumns.h.
Referenced by phasedFeedId().
|
private |
Definition at line 388 of file MSFeedColumns.h.
Referenced by polarizationType().
|
private |
Definition at line 387 of file MSFeedColumns.h.
Referenced by polResponse().
|
private |
Definition at line 389 of file MSFeedColumns.h.
Referenced by position().
|
private |
Definition at line 399 of file MSFeedColumns.h.
Referenced by positionMeas().
|
private |
Definition at line 405 of file MSFeedColumns.h.
Referenced by positionQuant().
|
private |
Definition at line 390 of file MSFeedColumns.h.
Referenced by receptorAngle().
|
private |
Definition at line 406 of file MSFeedColumns.h.
Referenced by receptorAngleQuant().
|
private |
Definition at line 391 of file MSFeedColumns.h.
Referenced by spectralWindowId().
|
private |
Definition at line 392 of file MSFeedColumns.h.
Referenced by time().
|
private |
Definition at line 400 of file MSFeedColumns.h.
Referenced by timeMeas().
|
private |
Definition at line 407 of file MSFeedColumns.h.
Referenced by timeQuant().