casa
5.7.0-16
|
A class to provide easy read-write access to MSFreqOffset columns. More...
#include <MSFreqOffColumns.h>
Public Member Functions | |
MSFreqOffsetColumns (MSFreqOffset &msFreqOffset) | |
Create a columns object that accesses the data in the specified Table. More... | |
~MSFreqOffsetColumns () | |
The destructor does nothing special. More... | |
ScalarColumn< Int > & | antenna1 () |
Read-write access to required columns. More... | |
ScalarColumn< Int > & | antenna2 () |
ScalarColumn< Int > & | feedId () |
ScalarColumn< Double > & | interval () |
ScalarQuantColumn< Double > & | intervalQuant () |
ScalarColumn< Double > & | offset () |
ScalarQuantColumn< Double > & | offsetQuant () |
ScalarColumn< Int > & | spectralWindowId () |
ScalarColumn< Double > & | time () |
ScalarQuantColumn< Double > & | timeQuant () |
ScalarMeasColumn< MEpoch > & | timeMeas () |
const ROScalarColumn< Int > & | antenna1 () const |
Read-only access to required columns. More... | |
const ROScalarColumn< Int > & | antenna2 () const |
const ROScalarColumn< Int > & | feedId () const |
const ROScalarColumn< Double > & | interval () const |
const ROScalarQuantColumn < Double > & | intervalQuant () const |
const ROScalarColumn< Double > & | offset () const |
const ROScalarQuantColumn < Double > & | offsetQuant () const |
const ROScalarColumn< Int > & | spectralWindowId () const |
const ROScalarColumn< Double > & | time () const |
const ROScalarQuantColumn < Double > & | timeQuant () const |
const ROScalarMeasColumn < MEpoch > & | timeMeas () const |
void | setEpochRef (MEpoch::Types ref, Bool tableMustBeEmpty=True) |
set the epoch type for the TIME column. More... | |
Public Member Functions inherited from casacore::ROMSFreqOffsetColumns | |
ROMSFreqOffsetColumns (const MSFreqOffset &msFreqOffset) | |
Create a columns object that accesses the data in the specified Table. More... | |
~ROMSFreqOffsetColumns () | |
The destructor does nothing special. More... | |
Bool | isNull () const |
Is this object defined? (MSFreqOffset table is optional) More... | |
const ROScalarColumn< Int > & | antenna1 () const |
Access to columns. More... | |
const ROScalarColumn< Int > & | antenna2 () const |
const ROScalarColumn< Int > & | feedId () const |
const ROScalarColumn< Double > & | interval () const |
const ROScalarQuantColumn < Double > & | intervalQuant () const |
const ROScalarColumn< Double > & | offset () const |
const ROScalarQuantColumn < Double > & | offsetQuant () const |
const ROScalarColumn< Int > & | spectralWindowId () const |
const ROScalarColumn< Double > & | time () const |
const ROScalarQuantColumn < Double > & | timeQuant () const |
const ROScalarMeasColumn < MEpoch > & | timeMeas () const |
uInt | nrow () const |
Convenience function that returns the number of rows in any of the columns. More... | |
Protected Member Functions | |
MSFreqOffsetColumns () | |
void | attach (MSFreqOffset &msFreqOffset) |
Protected Member Functions inherited from casacore::ROMSFreqOffsetColumns | |
ROMSFreqOffsetColumns () | |
void | attach (const MSFreqOffset &msFreqOffset) |
Private Member Functions | |
MSFreqOffsetColumns (const MSFreqOffsetColumns &) | |
MSFreqOffsetColumns & | operator= (const MSFreqOffsetColumns &) |
Private Attributes | |
ScalarColumn< Int > | antenna1_p |
ScalarColumn< Int > | antenna2_p |
ScalarColumn< Int > | feedId_p |
ScalarColumn< Double > | interval_p |
ScalarColumn< Double > | offset_p |
ScalarColumn< Int > | spectralWindowId_p |
ScalarColumn< Double > | time_p |
ScalarMeasColumn< MEpoch > | timeMeas_p |
ScalarQuantColumn< Double > | intervalQuant_p |
ScalarQuantColumn< Double > | offsetQuant_p |
ScalarQuantColumn< Double > | timeQuant_p |
A class to provide easy read-write access to MSFreqOffset columns.
Public interface
MSFreqOffsetColumns stands for MeasurementSet FreqOffset Table columns.
This class provides access to the columns in the MSFreqOffset 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 179 of file MSFreqOffColumns.h.
casacore::MSFreqOffsetColumns::MSFreqOffsetColumns | ( | MSFreqOffset & | msFreqOffset | ) |
Create a columns object that accesses the data in the specified Table.
casacore::MSFreqOffsetColumns::~MSFreqOffsetColumns | ( | ) |
The destructor does nothing special.
|
protected |
|
private |
|
inline |
Read-write access to required columns.
Definition at line 190 of file MSFreqOffColumns.h.
References antenna1_p.
|
inline |
Read-only access to required columns.
Definition at line 205 of file MSFreqOffColumns.h.
References casacore::ROMSFreqOffsetColumns::antenna1().
|
inline |
Definition at line 191 of file MSFreqOffColumns.h.
References antenna2_p.
|
inline |
Definition at line 207 of file MSFreqOffColumns.h.
References casacore::ROMSFreqOffsetColumns::antenna2().
|
protected |
|
inline |
Definition at line 192 of file MSFreqOffColumns.h.
References feedId_p.
|
inline |
Definition at line 209 of file MSFreqOffColumns.h.
References casacore::ROMSFreqOffsetColumns::feedId().
|
inline |
Definition at line 193 of file MSFreqOffColumns.h.
References interval_p.
|
inline |
Definition at line 211 of file MSFreqOffColumns.h.
References casacore::ROMSFreqOffsetColumns::interval().
|
inline |
Definition at line 194 of file MSFreqOffColumns.h.
References intervalQuant_p.
|
inline |
Definition at line 213 of file MSFreqOffColumns.h.
References casacore::ROMSFreqOffsetColumns::intervalQuant().
|
inline |
Definition at line 195 of file MSFreqOffColumns.h.
References offset_p.
|
inline |
Definition at line 215 of file MSFreqOffColumns.h.
References casacore::ROMSFreqOffsetColumns::offset().
|
inline |
Definition at line 196 of file MSFreqOffColumns.h.
References offsetQuant_p.
|
inline |
Definition at line 217 of file MSFreqOffColumns.h.
References casacore::ROMSFreqOffsetColumns::offsetQuant().
|
private |
void casacore::MSFreqOffsetColumns::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;
|
inline |
Definition at line 197 of file MSFreqOffColumns.h.
References spectralWindowId_p.
|
inline |
Definition at line 219 of file MSFreqOffColumns.h.
References casacore::ROMSFreqOffsetColumns::spectralWindowId().
|
inline |
Definition at line 198 of file MSFreqOffColumns.h.
References time_p.
|
inline |
Definition at line 221 of file MSFreqOffColumns.h.
References casacore::ROMSFreqOffsetColumns::time().
|
inline |
Definition at line 200 of file MSFreqOffColumns.h.
References timeMeas_p.
|
inline |
Definition at line 225 of file MSFreqOffColumns.h.
References casacore::ROMSFreqOffsetColumns::timeMeas().
|
inline |
Definition at line 199 of file MSFreqOffColumns.h.
References timeQuant_p.
|
inline |
Definition at line 223 of file MSFreqOffColumns.h.
References casacore::ROMSFreqOffsetColumns::timeQuant().
|
private |
Definition at line 255 of file MSFreqOffColumns.h.
Referenced by antenna1().
|
private |
Definition at line 256 of file MSFreqOffColumns.h.
Referenced by antenna2().
|
private |
Definition at line 257 of file MSFreqOffColumns.h.
Referenced by feedId().
|
private |
Definition at line 258 of file MSFreqOffColumns.h.
Referenced by interval().
|
private |
Definition at line 267 of file MSFreqOffColumns.h.
Referenced by intervalQuant().
|
private |
Definition at line 259 of file MSFreqOffColumns.h.
Referenced by offset().
|
private |
Definition at line 268 of file MSFreqOffColumns.h.
Referenced by offsetQuant().
|
private |
Definition at line 260 of file MSFreqOffColumns.h.
Referenced by spectralWindowId().
|
private |
Definition at line 261 of file MSFreqOffColumns.h.
Referenced by time().
|
private |
Definition at line 264 of file MSFreqOffColumns.h.
Referenced by timeMeas().
|
private |
Definition at line 269 of file MSFreqOffColumns.h.
Referenced by timeQuant().