casa
5.7.0-16
|
A class for easy read-write access to MeasurementSet main table columns. More...
#include <MSMainColumns.h>
Protected Member Functions | |
MSMainColumns () | |
void | attach (MeasurementSet &ms) |
Protected Member Functions inherited from casacore::ROMSMainColumns | |
ROMSMainColumns () | |
void | attach (const MeasurementSet &ms) |
Private Member Functions | |
MSMainColumns (const MSMainColumns &) | |
MSMainColumns & | operator= (const MSMainColumns &) |
void | attachOptionalCols (MeasurementSet &ms) |
A class for easy read-write access to MeasurementSet main table columns.
Public interface
MSMainColumns stands for MeasurementSet main Table columns.
This class provides access to 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.
Warning: The Table that is used to construct this class must not be destroyed (or go out of scope) before this class does; Otherwise the scalar and array columns use by this class will be left dangling;
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 322 of file MSMainColumns.h.
casacore::MSMainColumns::MSMainColumns | ( | MeasurementSet & | ms | ) |
Create a columns object that accesses the data in the specified Table.
casacore::MSMainColumns::~MSMainColumns | ( | ) |
The desctructor does nothing special.
|
protected |
|
private |
|
inline |
Read-write access to required columns.
Definition at line 334 of file MSMainColumns.h.
References antenna1_p.
|
inline |
Read-only access to required columns.
Definition at line 403 of file MSMainColumns.h.
References casacore::ROMSMainColumns::antenna1().
|
inline |
Definition at line 335 of file MSMainColumns.h.
References antenna2_p.
|
inline |
Definition at line 405 of file MSMainColumns.h.
References casacore::ROMSMainColumns::antenna2().
|
inline |
Read-write access to optional columns.
Definition at line 375 of file MSMainColumns.h.
References antenna3_p.
|
inline |
Read-only access to optional columns.
Definition at line 465 of file MSMainColumns.h.
References casacore::ROMSMainColumns::antenna3().
|
inline |
Definition at line 336 of file MSMainColumns.h.
References arrayId_p.
|
inline |
Definition at line 407 of file MSMainColumns.h.
References casacore::ROMSMainColumns::arrayId().
|
protected |
|
private |
|
inline |
Definition at line 376 of file MSMainColumns.h.
References baselineRef_p.
|
inline |
Definition at line 467 of file MSMainColumns.h.
References casacore::ROMSMainColumns::baselineRef().
|
inline |
Definition at line 377 of file MSMainColumns.h.
References correctedData_p.
|
inline |
Definition at line 469 of file MSMainColumns.h.
References casacore::ROMSMainColumns::correctedData().
|
inline |
Definition at line 378 of file MSMainColumns.h.
References data_p.
|
inline |
Definition at line 471 of file MSMainColumns.h.
References casacore::ROMSMainColumns::data().
|
inline |
Definition at line 337 of file MSMainColumns.h.
References dataDescId_p.
|
inline |
Definition at line 409 of file MSMainColumns.h.
References casacore::ROMSMainColumns::dataDescId().
|
inline |
Definition at line 338 of file MSMainColumns.h.
References exposure_p.
|
inline |
Definition at line 411 of file MSMainColumns.h.
References casacore::ROMSMainColumns::exposure().
|
inline |
Definition at line 339 of file MSMainColumns.h.
References exposureQuant_p.
|
inline |
Definition at line 413 of file MSMainColumns.h.
References casacore::ROMSMainColumns::exposureQuant().
|
inline |
Definition at line 341 of file MSMainColumns.h.
References feed1_p.
|
inline |
Definition at line 415 of file MSMainColumns.h.
References casacore::ROMSMainColumns::feed1().
|
inline |
Definition at line 342 of file MSMainColumns.h.
References feed2_p.
|
inline |
Definition at line 417 of file MSMainColumns.h.
References casacore::ROMSMainColumns::feed2().
|
inline |
Definition at line 379 of file MSMainColumns.h.
References feed3_p.
|
inline |
Definition at line 473 of file MSMainColumns.h.
References casacore::ROMSMainColumns::feed3().
|
inline |
Definition at line 343 of file MSMainColumns.h.
References fieldId_p.
|
inline |
Definition at line 419 of file MSMainColumns.h.
References casacore::ROMSMainColumns::fieldId().
|
inline |
Definition at line 344 of file MSMainColumns.h.
References flag_p.
|
inline |
Definition at line 421 of file MSMainColumns.h.
References casacore::ROMSMainColumns::flag().
|
inline |
Definition at line 345 of file MSMainColumns.h.
References flagCategory_p.
|
inline |
Definition at line 423 of file MSMainColumns.h.
References casacore::ROMSMainColumns::flagCategory().
|
inline |
Definition at line 346 of file MSMainColumns.h.
References flagRow_p.
|
inline |
Definition at line 425 of file MSMainColumns.h.
References casacore::ROMSMainColumns::flagRow().
|
inline |
Definition at line 380 of file MSMainColumns.h.
References floatData_p.
|
inline |
Definition at line 475 of file MSMainColumns.h.
References casacore::ROMSMainColumns::floatData().
|
inline |
Definition at line 381 of file MSMainColumns.h.
References imagingWeight_p.
|
inline |
Definition at line 477 of file MSMainColumns.h.
References casacore::ROMSMainColumns::imagingWeight().
|
inline |
Definition at line 347 of file MSMainColumns.h.
References interval_p.
|
inline |
Definition at line 427 of file MSMainColumns.h.
References casacore::ROMSMainColumns::interval().
|
inline |
Definition at line 348 of file MSMainColumns.h.
References intervalQuant_p.
|
inline |
Definition at line 429 of file MSMainColumns.h.
References casacore::ROMSMainColumns::intervalQuant().
|
inline |
Definition at line 382 of file MSMainColumns.h.
References lagData_p.
|
inline |
Definition at line 479 of file MSMainColumns.h.
References casacore::ROMSMainColumns::lagData().
|
inline |
Definition at line 383 of file MSMainColumns.h.
References modelData_p.
|
inline |
Definition at line 481 of file MSMainColumns.h.
References casacore::ROMSMainColumns::modelData().
|
inline |
Definition at line 350 of file MSMainColumns.h.
References observationId_p.
|
inline |
Definition at line 431 of file MSMainColumns.h.
References casacore::ROMSMainColumns::observationId().
|
private |
|
inline |
Definition at line 384 of file MSMainColumns.h.
References phaseId_p.
|
inline |
Definition at line 483 of file MSMainColumns.h.
References casacore::ROMSMainColumns::phaseId().
|
inline |
Definition at line 351 of file MSMainColumns.h.
References processorId_p.
|
inline |
Definition at line 433 of file MSMainColumns.h.
References casacore::ROMSMainColumns::processorId().
|
inline |
Definition at line 385 of file MSMainColumns.h.
References pulsarBin_p.
|
inline |
Definition at line 485 of file MSMainColumns.h.
References casacore::ROMSMainColumns::pulsarBin().
|
inline |
Definition at line 386 of file MSMainColumns.h.
References pulsarGateId_p.
|
inline |
Definition at line 487 of file MSMainColumns.h.
References casacore::ROMSMainColumns::pulsarGateId().
|
inline |
Definition at line 352 of file MSMainColumns.h.
References scanNumber_p.
|
inline |
Definition at line 435 of file MSMainColumns.h.
References casacore::ROMSMainColumns::scanNumber().
void casacore::MSMainColumns::setEpochRef | ( | MEpoch::Types | ref, |
Bool | tableMustBeEmpty = True |
||
) |
set the epoch type for the TIME and TIME_CENTROID 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;
Set the flag category labels to the supplied values (in the CATEGORY keyword of the FLAG_CATEGORY column).
Throws an exception, when compiled in Debug mode, if the length of the supplied Vector is not the same as the length of the third dimension of the FLAG_CATEGORY column.
void casacore::MSMainColumns::setUVWRef | ( | Muvw::Types | ref | ) |
set the UVW reference type for the UVW and UVW2 (if defined) columns.
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 353 of file MSMainColumns.h.
References sigma_p.
|
inline |
Definition at line 437 of file MSMainColumns.h.
References casacore::ROMSMainColumns::sigma().
|
inline |
Definition at line 387 of file MSMainColumns.h.
References sigmaSpectrum_p.
|
inline |
Definition at line 489 of file MSMainColumns.h.
References casacore::ROMSMainColumns::sigmaSpectrum().
|
inline |
Definition at line 354 of file MSMainColumns.h.
References stateId_p.
|
inline |
Definition at line 439 of file MSMainColumns.h.
References casacore::ROMSMainColumns::stateId().
|
inline |
Definition at line 355 of file MSMainColumns.h.
References time_p.
|
inline |
Definition at line 441 of file MSMainColumns.h.
References casacore::ROMSMainColumns::time().
|
inline |
Definition at line 360 of file MSMainColumns.h.
References timeCentroid_p.
|
inline |
Definition at line 447 of file MSMainColumns.h.
References casacore::ROMSMainColumns::timeCentroid().
|
inline |
Definition at line 363 of file MSMainColumns.h.
References timeCentroidMeas_p.
|
inline |
Definition at line 451 of file MSMainColumns.h.
References casacore::ROMSMainColumns::timeCentroidMeas().
|
inline |
Definition at line 361 of file MSMainColumns.h.
References timeCentroidQuant_p.
|
inline |
Definition at line 449 of file MSMainColumns.h.
References casacore::ROMSMainColumns::timeCentroidQuant().
|
inline |
Definition at line 388 of file MSMainColumns.h.
References timeExtraPrec_p.
|
inline |
Definition at line 491 of file MSMainColumns.h.
References casacore::ROMSMainColumns::timeExtraPrec().
|
inline |
Definition at line 389 of file MSMainColumns.h.
References timeExtraPrecQuant_p.
|
inline |
Definition at line 493 of file MSMainColumns.h.
References casacore::ROMSMainColumns::timeExtraPrecQuant().
|
inline |
Definition at line 358 of file MSMainColumns.h.
References timeMeas_p.
|
inline |
Definition at line 445 of file MSMainColumns.h.
References casacore::ROMSMainColumns::timeMeas().
|
inline |
Definition at line 356 of file MSMainColumns.h.
References timeQuant_p.
|
inline |
Definition at line 443 of file MSMainColumns.h.
References casacore::ROMSMainColumns::timeQuant().
|
inline |
Definition at line 365 of file MSMainColumns.h.
References uvw_p.
|
inline |
Definition at line 453 of file MSMainColumns.h.
References casacore::ROMSMainColumns::uvw().
|
inline |
Definition at line 391 of file MSMainColumns.h.
References uvw2_p.
|
inline |
Definition at line 495 of file MSMainColumns.h.
References casacore::ROMSMainColumns::uvw2().
|
inline |
Definition at line 392 of file MSMainColumns.h.
References uvw2Meas_p.
|
inline |
Definition at line 497 of file MSMainColumns.h.
References casacore::ROMSMainColumns::uvw2Meas().
|
inline |
Definition at line 394 of file MSMainColumns.h.
References uvw2Quant_p.
|
inline |
Definition at line 499 of file MSMainColumns.h.
References casacore::ROMSMainColumns::uvw2Quant().
|
inline |
Definition at line 368 of file MSMainColumns.h.
References uvwMeas_p.
|
inline |
Definition at line 457 of file MSMainColumns.h.
References casacore::ROMSMainColumns::uvwMeas().
|
inline |
Definition at line 366 of file MSMainColumns.h.
References uvwQuant_p.
|
inline |
Definition at line 455 of file MSMainColumns.h.
References casacore::ROMSMainColumns::uvwQuant().
|
inline |
Definition at line 396 of file MSMainColumns.h.
References videoPoint_p.
|
inline |
Definition at line 501 of file MSMainColumns.h.
References casacore::ROMSMainColumns::videoPoint().
|
inline |
Definition at line 370 of file MSMainColumns.h.
References weight_p.
|
inline |
Definition at line 459 of file MSMainColumns.h.
References casacore::ROMSMainColumns::weight().
|
inline |
Definition at line 397 of file MSMainColumns.h.
References weightSpectrum_p.
|
inline |
Definition at line 503 of file MSMainColumns.h.
References casacore::ROMSMainColumns::weightSpectrum().
|
inline |
Definition at line 398 of file MSMainColumns.h.
References weightSpectrumCorrected_p.
|
inline |
Definition at line 505 of file MSMainColumns.h.
References casacore::ROMSMainColumns::weightSpectrumCorrected().
|
private |
Definition at line 549 of file MSMainColumns.h.
Referenced by antenna1().
|
private |
Definition at line 550 of file MSMainColumns.h.
Referenced by antenna2().
|
private |
Definition at line 571 of file MSMainColumns.h.
Referenced by antenna3().
|
private |
Definition at line 551 of file MSMainColumns.h.
Referenced by arrayId().
|
private |
Definition at line 572 of file MSMainColumns.h.
Referenced by baselineRef().
|
private |
Definition at line 588 of file MSMainColumns.h.
Referenced by correctedData().
|
private |
Definition at line 573 of file MSMainColumns.h.
Referenced by data().
|
private |
Definition at line 552 of file MSMainColumns.h.
Referenced by dataDescId().
|
private |
Definition at line 553 of file MSMainColumns.h.
Referenced by exposure().
|
private |
Definition at line 600 of file MSMainColumns.h.
Referenced by exposureQuant().
|
private |
Definition at line 554 of file MSMainColumns.h.
Referenced by feed1().
|
private |
Definition at line 555 of file MSMainColumns.h.
Referenced by feed2().
|
private |
Definition at line 574 of file MSMainColumns.h.
Referenced by feed3().
|
private |
Definition at line 556 of file MSMainColumns.h.
Referenced by fieldId().
|
private |
Definition at line 557 of file MSMainColumns.h.
Referenced by flag().
|
private |
Definition at line 558 of file MSMainColumns.h.
Referenced by flagCategory().
|
private |
Definition at line 559 of file MSMainColumns.h.
Referenced by flagRow().
|
private |
Definition at line 575 of file MSMainColumns.h.
Referenced by floatData().
|
private |
Definition at line 589 of file MSMainColumns.h.
Referenced by imagingWeight().
|
private |
Definition at line 560 of file MSMainColumns.h.
Referenced by interval().
|
private |
Definition at line 601 of file MSMainColumns.h.
Referenced by intervalQuant().
|
private |
Definition at line 576 of file MSMainColumns.h.
Referenced by lagData().
|
private |
Definition at line 590 of file MSMainColumns.h.
Referenced by modelData().
|
private |
Definition at line 561 of file MSMainColumns.h.
Referenced by observationId().
|
private |
Definition at line 577 of file MSMainColumns.h.
Referenced by phaseId().
|
private |
Definition at line 562 of file MSMainColumns.h.
Referenced by processorId().
|
private |
Definition at line 578 of file MSMainColumns.h.
Referenced by pulsarBin().
|
private |
Definition at line 579 of file MSMainColumns.h.
Referenced by pulsarGateId().
|
private |
Definition at line 563 of file MSMainColumns.h.
Referenced by scanNumber().
|
private |
Definition at line 564 of file MSMainColumns.h.
Referenced by sigma().
|
private |
Definition at line 580 of file MSMainColumns.h.
Referenced by sigmaSpectrum().
|
private |
Definition at line 565 of file MSMainColumns.h.
Referenced by stateId().
|
private |
Definition at line 566 of file MSMainColumns.h.
Referenced by time().
|
private |
Definition at line 567 of file MSMainColumns.h.
Referenced by timeCentroid().
|
private |
Definition at line 594 of file MSMainColumns.h.
Referenced by timeCentroidMeas().
|
private |
Definition at line 603 of file MSMainColumns.h.
Referenced by timeCentroidQuant().
|
private |
Definition at line 581 of file MSMainColumns.h.
Referenced by timeExtraPrec().
|
private |
Definition at line 606 of file MSMainColumns.h.
Referenced by timeExtraPrecQuant().
|
private |
Definition at line 593 of file MSMainColumns.h.
Referenced by timeMeas().
|
private |
Definition at line 602 of file MSMainColumns.h.
Referenced by timeQuant().
|
private |
Definition at line 582 of file MSMainColumns.h.
Referenced by uvw2().
|
private |
Definition at line 597 of file MSMainColumns.h.
Referenced by uvw2Meas().
|
private |
Definition at line 607 of file MSMainColumns.h.
Referenced by uvw2Quant().
|
private |
Definition at line 568 of file MSMainColumns.h.
Referenced by uvw().
|
private |
Definition at line 595 of file MSMainColumns.h.
Referenced by uvwMeas().
|
private |
Definition at line 604 of file MSMainColumns.h.
Referenced by uvwQuant().
|
private |
Definition at line 583 of file MSMainColumns.h.
Referenced by videoPoint().
|
private |
Definition at line 569 of file MSMainColumns.h.
Referenced by weight().
|
private |
Definition at line 584 of file MSMainColumns.h.
Referenced by weightSpectrum().
|
private |
Definition at line 585 of file MSMainColumns.h.
Referenced by weightSpectrumCorrected().