casacore
|
#include <MSFreqOffColumns.h>
Public Member Functions | |
MSFreqOffsetColumns (const MSFreqOffset &msFreqOffset) | |
Create a columns object that accesses the data in the specified Table. More... | |
~MSFreqOffsetColumns () | |
The destructor does nothing special. More... | |
Bool | isNull () const |
Is this object defined? (MSFreqOffset table is optional) More... | |
ScalarColumn< Int > & | antenna1 () |
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 ScalarColumn< Int > & | antenna1 () const |
Const access to required columns. More... | |
const ScalarColumn< Int > & | antenna2 () const |
const ScalarColumn< Int > & | feedId () const |
const ScalarColumn< Double > & | interval () const |
const ScalarQuantColumn< Double > & | intervalQuant () const |
const ScalarColumn< Double > & | offset () const |
const ScalarQuantColumn< Double > & | offsetQuant () const |
const ScalarColumn< Int > & | spectralWindowId () const |
const ScalarColumn< Double > & | time () const |
const ScalarQuantColumn< Double > & | timeQuant () const |
const ScalarMeasColumn< MEpoch > & | timeMeas () const |
rownr_t | nrow () const |
Convenience function that returns the number of rows in any of the columns. More... | |
void | setEpochRef (MEpoch::Types ref, Bool tableMustBeEmpty=True) |
set the epoch type for the TIME column. More... | |
Protected Member Functions | |
MSFreqOffsetColumns () | |
void | attach (const MSFreqOffset &msFreqOffset) |
Private Member Functions | |
MSFreqOffsetColumns (const MSFreqOffsetColumns &) | |
MSFreqOffsetColumns & | operator= (const MSFreqOffsetColumns &) |
Private Attributes | |
Bool | isNull_p |
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 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 75 of file MSFreqOffColumns.h.
casacore::MSFreqOffsetColumns::MSFreqOffsetColumns | ( | const 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 |
Access to required columns.
Definition at line 89 of file MSFreqOffColumns.h.
References antenna1_p.
|
inline |
Const access to required columns.
Definition at line 104 of file MSFreqOffColumns.h.
References antenna1_p.
|
inline |
Definition at line 90 of file MSFreqOffColumns.h.
References antenna2_p.
|
inline |
Definition at line 105 of file MSFreqOffColumns.h.
References antenna2_p.
|
protected |
|
inline |
Definition at line 91 of file MSFreqOffColumns.h.
References feedId_p.
|
inline |
Definition at line 106 of file MSFreqOffColumns.h.
References feedId_p.
|
inline |
Definition at line 92 of file MSFreqOffColumns.h.
References interval_p.
|
inline |
Definition at line 107 of file MSFreqOffColumns.h.
References interval_p.
|
inline |
Definition at line 93 of file MSFreqOffColumns.h.
References intervalQuant_p.
|
inline |
Definition at line 108 of file MSFreqOffColumns.h.
References intervalQuant_p.
|
inline |
Is this object defined? (MSFreqOffset table is optional)
Definition at line 85 of file MSFreqOffColumns.h.
References isNull_p.
Referenced by nrow().
|
inline |
Convenience function that returns the number of rows in any of the columns.
Returns zero if the object is null.
Definition at line 119 of file MSFreqOffColumns.h.
References antenna1_p, isNull(), and casacore::TableColumn::nrow().
|
inline |
Definition at line 94 of file MSFreqOffColumns.h.
References offset_p.
|
inline |
Definition at line 109 of file MSFreqOffColumns.h.
References offset_p.
|
inline |
Definition at line 95 of file MSFreqOffColumns.h.
References offsetQuant_p.
|
inline |
Definition at line 110 of file MSFreqOffColumns.h.
References offsetQuant_p.
|
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 96 of file MSFreqOffColumns.h.
References spectralWindowId_p.
|
inline |
Definition at line 111 of file MSFreqOffColumns.h.
References spectralWindowId_p.
|
inline |
Definition at line 97 of file MSFreqOffColumns.h.
References time_p.
|
inline |
Definition at line 112 of file MSFreqOffColumns.h.
References time_p.
|
inline |
Definition at line 99 of file MSFreqOffColumns.h.
References timeMeas_p.
|
inline |
Definition at line 114 of file MSFreqOffColumns.h.
References timeMeas_p.
|
inline |
Definition at line 98 of file MSFreqOffColumns.h.
References timeQuant_p.
|
inline |
Definition at line 113 of file MSFreqOffColumns.h.
References timeQuant_p.
|
private |
Definition at line 150 of file MSFreqOffColumns.h.
Referenced by antenna1(), and nrow().
|
private |
Definition at line 151 of file MSFreqOffColumns.h.
Referenced by antenna2().
|
private |
Definition at line 152 of file MSFreqOffColumns.h.
Referenced by feedId().
|
private |
Definition at line 153 of file MSFreqOffColumns.h.
Referenced by interval().
|
private |
Definition at line 162 of file MSFreqOffColumns.h.
Referenced by intervalQuant().
|
private |
Definition at line 147 of file MSFreqOffColumns.h.
Referenced by isNull().
|
private |
Definition at line 154 of file MSFreqOffColumns.h.
Referenced by offset().
|
private |
Definition at line 163 of file MSFreqOffColumns.h.
Referenced by offsetQuant().
|
private |
Definition at line 155 of file MSFreqOffColumns.h.
Referenced by spectralWindowId().
|
private |
Definition at line 156 of file MSFreqOffColumns.h.
Referenced by time().
|
private |
Definition at line 159 of file MSFreqOffColumns.h.
Referenced by timeMeas().
|
private |
Definition at line 164 of file MSFreqOffColumns.h.
Referenced by timeQuant().