casa
5.7.0-16
|
A class to provide easy read-write access to MSSource columns. More...
#include <MSSourceColumns.h>
Protected Member Functions | |
MSSourceColumns () | |
void | attach (MSSource &msSource) |
Protected Member Functions inherited from casacore::ROMSSourceColumns | |
ROMSSourceColumns () | |
void | attach (const MSSource &msSource) |
Private Member Functions | |
MSSourceColumns (const MSSourceColumns &) | |
MSSourceColumns & | operator= (const MSSourceColumns &) |
void | attachOptionalCols (MSSource &msSource) |
A class to provide easy read-write access to MSSource columns.
Public interface
MSSourceColumns stands for MeasurementSet Source Table columns.
This class provides access to the columns in the MSSource 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 243 of file MSSourceColumns.h.
casacore::MSSourceColumns::MSSourceColumns | ( | MSSource & | msSource | ) |
Construct from the supplied Table.
casacore::MSSourceColumns::~MSSourceColumns | ( | ) |
The destructor does nothing special.
|
protected |
|
private |
|
protected |
|
private |
|
inline |
Read-write access to required columns.
Definition at line 254 of file MSSourceColumns.h.
References calibrationGroup_p.
Referenced by casa::sdfiller::SourceRecord::fill().
|
inline |
Read-only access to required columns.
Definition at line 291 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::calibrationGroup().
|
inline |
Definition at line 255 of file MSSourceColumns.h.
References code_p.
Referenced by casa::sdfiller::SourceRecord::fill().
|
inline |
Definition at line 293 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::code().
|
inline |
Definition at line 256 of file MSSourceColumns.h.
References direction_p.
Referenced by casa::sdfiller::SourceRecord::add().
|
inline |
Definition at line 295 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::direction().
|
inline |
Definition at line 258 of file MSSourceColumns.h.
References directionMeas_p.
Referenced by casa::sdfiller::SourceRecord::fill().
|
inline |
Definition at line 299 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::directionMeas().
|
inline |
Definition at line 257 of file MSSourceColumns.h.
References directionQuant_p.
|
inline |
Definition at line 297 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::directionQuant().
|
inline |
Definition at line 259 of file MSSourceColumns.h.
References interval_p.
Referenced by casa::sdfiller::SourceRecord::fill().
|
inline |
Definition at line 301 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::interval().
|
inline |
Definition at line 260 of file MSSourceColumns.h.
References intervalQuant_p.
|
inline |
Definition at line 303 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::intervalQuant().
|
inline |
Definition at line 261 of file MSSourceColumns.h.
References name_p.
Referenced by casa::sdfiller::SourceRecord::fill().
|
inline |
Definition at line 305 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::name().
|
inline |
Definition at line 262 of file MSSourceColumns.h.
References numLines_p.
Referenced by casa::sdfiller::SourceRecord::fill().
|
inline |
Definition at line 307 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::numLines().
|
private |
|
inline |
Read-write access to optional columns.
Definition at line 274 of file MSSourceColumns.h.
References position_p.
|
inline |
Read-only access to optional columns.
Definition at line 327 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::position().
|
inline |
Definition at line 276 of file MSSourceColumns.h.
References positionMeas_p.
|
inline |
Definition at line 331 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::positionMeas().
|
inline |
Definition at line 275 of file MSSourceColumns.h.
References positionQuant_p.
|
inline |
Definition at line 329 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::positionQuant().
|
inline |
Definition at line 263 of file MSSourceColumns.h.
References properMotion_p.
Referenced by casa::sdfiller::SourceRecord::fill().
|
inline |
Definition at line 309 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::properMotion().
|
inline |
Definition at line 264 of file MSSourceColumns.h.
References properMotionQuant_p.
|
inline |
Definition at line 311 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::properMotionQuant().
|
inline |
Definition at line 277 of file MSSourceColumns.h.
References pulsarId_p.
|
inline |
Definition at line 333 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::pulsarId().
|
inline |
Definition at line 278 of file MSSourceColumns.h.
References restFrequency_p.
Referenced by casa::sdfiller::SourceRecord::fill().
|
inline |
Definition at line 335 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::restFrequency().
|
inline |
Definition at line 280 of file MSSourceColumns.h.
References restFrequencyMeas_p.
|
inline |
Definition at line 339 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::restFrequencyMeas().
|
inline |
Definition at line 279 of file MSSourceColumns.h.
References restFrequencyQuant_p.
|
inline |
Definition at line 337 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::restFrequencyQuant().
void casacore::MSSourceColumns::setDirectionRef | ( | MDirection::Types | ref | ) |
set the direction type for the DIRECTION 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::MSSourceColumns::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::MSSourceColumns::setFrequencyRef | ( | MFrequency::Types | ref | ) |
set the frequency type for the REST_FREQUENCY column.
Does nothing if this column is not defined. This can only be done when the table has no rows. Trying to do so at other times will throw an exception.
void casacore::MSSourceColumns::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.
void casacore::MSSourceColumns::setRadialVelocityRef | ( | MRadialVelocity::Types | ref | ) |
set the radial velocity type for the SYSVEL column.
Does nothing if this column is not defined. 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 265 of file MSSourceColumns.h.
References sourceId_p.
Referenced by casa::sdfiller::SourceRecord::fill().
|
inline |
Definition at line 313 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::sourceId().
|
inline |
Definition at line 282 of file MSSourceColumns.h.
References sourceModel_p.
|
inline |
Definition at line 341 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::sourceModel().
|
inline |
Definition at line 266 of file MSSourceColumns.h.
References spectralWindowId_p.
Referenced by casa::sdfiller::SourceRecord::fill().
|
inline |
Definition at line 315 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::spectralWindowId().
|
inline |
Definition at line 283 of file MSSourceColumns.h.
References sysvel_p.
Referenced by casa::sdfiller::SourceRecord::fill().
|
inline |
Definition at line 343 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::sysvel().
|
inline |
Definition at line 285 of file MSSourceColumns.h.
References sysvelMeas_p.
|
inline |
Definition at line 347 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::sysvelMeas().
|
inline |
Definition at line 284 of file MSSourceColumns.h.
References sysvelQuant_p.
|
inline |
Definition at line 345 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::sysvelQuant().
|
inline |
Definition at line 267 of file MSSourceColumns.h.
References time_p.
Referenced by casa::sdfiller::SourceRecord::fill().
|
inline |
Definition at line 317 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::time().
|
inline |
Definition at line 269 of file MSSourceColumns.h.
References timeMeas_p.
|
inline |
Definition at line 321 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::timeMeas().
|
inline |
Definition at line 268 of file MSSourceColumns.h.
References timeQuant_p.
|
inline |
Definition at line 319 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::timeQuant().
|
inline |
Definition at line 286 of file MSSourceColumns.h.
References transition_p.
Referenced by casa::sdfiller::SourceRecord::fill().
|
inline |
Definition at line 349 of file MSSourceColumns.h.
References casacore::ROMSSourceColumns::transition().
|
private |
Definition at line 402 of file MSSourceColumns.h.
Referenced by calibrationGroup().
|
private |
Definition at line 403 of file MSSourceColumns.h.
Referenced by code().
|
private |
Definition at line 404 of file MSSourceColumns.h.
Referenced by direction().
|
private |
Definition at line 421 of file MSSourceColumns.h.
Referenced by directionMeas().
|
private |
Definition at line 429 of file MSSourceColumns.h.
Referenced by directionQuant().
|
private |
Definition at line 405 of file MSSourceColumns.h.
Referenced by interval().
|
private |
Definition at line 430 of file MSSourceColumns.h.
Referenced by intervalQuant().
|
private |
Definition at line 406 of file MSSourceColumns.h.
Referenced by name().
|
private |
Definition at line 407 of file MSSourceColumns.h.
Referenced by numLines().
|
private |
Definition at line 413 of file MSSourceColumns.h.
Referenced by position().
|
private |
Definition at line 424 of file MSSourceColumns.h.
Referenced by positionMeas().
|
private |
Definition at line 434 of file MSSourceColumns.h.
Referenced by positionQuant().
|
private |
Definition at line 408 of file MSSourceColumns.h.
Referenced by properMotion().
|
private |
Definition at line 431 of file MSSourceColumns.h.
Referenced by properMotionQuant().
|
private |
Definition at line 414 of file MSSourceColumns.h.
Referenced by pulsarId().
|
private |
Definition at line 415 of file MSSourceColumns.h.
Referenced by restFrequency().
|
private |
Definition at line 425 of file MSSourceColumns.h.
Referenced by restFrequencyMeas().
|
private |
Definition at line 435 of file MSSourceColumns.h.
Referenced by restFrequencyQuant().
|
private |
Definition at line 409 of file MSSourceColumns.h.
Referenced by sourceId().
|
private |
Definition at line 416 of file MSSourceColumns.h.
Referenced by sourceModel().
|
private |
Definition at line 410 of file MSSourceColumns.h.
Referenced by spectralWindowId().
|
private |
Definition at line 417 of file MSSourceColumns.h.
Referenced by sysvel().
|
private |
Definition at line 426 of file MSSourceColumns.h.
Referenced by sysvelMeas().
|
private |
Definition at line 436 of file MSSourceColumns.h.
Referenced by sysvelQuant().
|
private |
Definition at line 411 of file MSSourceColumns.h.
Referenced by time().
|
private |
Definition at line 422 of file MSSourceColumns.h.
Referenced by timeMeas().
|
private |
Definition at line 432 of file MSSourceColumns.h.
Referenced by timeQuant().
|
private |
Definition at line 418 of file MSSourceColumns.h.
Referenced by transition().