casacore
|
#include <MSFreqOffColumns.h>
Public Member Functions | |
MSFreqOffsetColumns (const MSFreqOffset &msFreqOffset) | |
Create a columns object that accesses the data in the specified Table. | |
~MSFreqOffsetColumns () | |
The destructor does nothing special. | |
Bool | isNull () const |
Is this object defined? (MSFreqOffset table is optional) | |
ScalarColumn< Int > & | antenna1 () |
Access to required columns. | |
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. | |
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. | |
void | setEpochRef (MEpoch::Types ref, Bool tableMustBeEmpty=True) |
set the epoch type for the TIME column. | |
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 73 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 87 of file MSFreqOffColumns.h.
References antenna1_p.
|
inline |
Const access to required columns.
Definition at line 102 of file MSFreqOffColumns.h.
References antenna1_p.
|
inline |
Definition at line 88 of file MSFreqOffColumns.h.
References antenna2_p.
|
inline |
Definition at line 103 of file MSFreqOffColumns.h.
References antenna2_p.
|
protected |
|
inline |
Definition at line 89 of file MSFreqOffColumns.h.
References feedId_p.
|
inline |
Definition at line 104 of file MSFreqOffColumns.h.
References feedId_p.
|
inline |
Definition at line 90 of file MSFreqOffColumns.h.
References interval_p.
|
inline |
Definition at line 105 of file MSFreqOffColumns.h.
References interval_p.
|
inline |
Definition at line 91 of file MSFreqOffColumns.h.
References intervalQuant_p.
|
inline |
Definition at line 106 of file MSFreqOffColumns.h.
References intervalQuant_p.
|
inline |
Is this object defined? (MSFreqOffset table is optional)
Definition at line 83 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 117 of file MSFreqOffColumns.h.
References antenna1_p, isNull(), and casacore::TableColumn::nrow().
|
inline |
Definition at line 92 of file MSFreqOffColumns.h.
References offset_p.
|
inline |
Definition at line 107 of file MSFreqOffColumns.h.
References offset_p.
|
inline |
Definition at line 93 of file MSFreqOffColumns.h.
References offsetQuant_p.
|
inline |
Definition at line 108 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 94 of file MSFreqOffColumns.h.
References spectralWindowId_p.
|
inline |
Definition at line 109 of file MSFreqOffColumns.h.
References spectralWindowId_p.
|
inline |
Definition at line 95 of file MSFreqOffColumns.h.
References time_p.
|
inline |
Definition at line 110 of file MSFreqOffColumns.h.
References time_p.
|
inline |
Definition at line 97 of file MSFreqOffColumns.h.
References timeMeas_p.
|
inline |
Definition at line 112 of file MSFreqOffColumns.h.
References timeMeas_p.
|
inline |
Definition at line 96 of file MSFreqOffColumns.h.
References timeQuant_p.
|
inline |
Definition at line 111 of file MSFreqOffColumns.h.
References timeQuant_p.
|
private |
Definition at line 148 of file MSFreqOffColumns.h.
Referenced by antenna1(), antenna1(), and nrow().
|
private |
Definition at line 149 of file MSFreqOffColumns.h.
Referenced by antenna2(), and antenna2().
|
private |
Definition at line 150 of file MSFreqOffColumns.h.
|
private |
Definition at line 151 of file MSFreqOffColumns.h.
Referenced by interval(), and interval().
|
private |
Definition at line 160 of file MSFreqOffColumns.h.
Referenced by intervalQuant(), and intervalQuant().
|
private |
Definition at line 145 of file MSFreqOffColumns.h.
Referenced by isNull().
|
private |
Definition at line 152 of file MSFreqOffColumns.h.
|
private |
Definition at line 161 of file MSFreqOffColumns.h.
Referenced by offsetQuant(), and offsetQuant().
|
private |
Definition at line 153 of file MSFreqOffColumns.h.
Referenced by spectralWindowId(), and spectralWindowId().
|
private |
Definition at line 154 of file MSFreqOffColumns.h.
|
private |
Definition at line 157 of file MSFreqOffColumns.h.
Referenced by timeMeas(), and timeMeas().
|
private |
Definition at line 162 of file MSFreqOffColumns.h.
Referenced by timeQuant(), and timeQuant().