casa
$Rev:20696$
|
A class to provide easy read-only access to MSSource columns. More...
#include <MSSourceColumns.h>
A class to provide easy read-only access to MSSource columns.
Public interface
ROMSSourceColumns stands for Read-Only MeasurementSet Source Table columns.
This class provides read-only 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 ROMSColumns for an example.
See MSColumns for the motivation.
Definition at line 88 of file MSSourceColumns.h.
casa::ROMSSourceColumns::ROMSSourceColumns | ( | const MSSource & | msSource | ) |
Construct from the supplied Table.
The destructor does nothing special.
casa::ROMSSourceColumns::ROMSSourceColumns | ( | ) | [protected] |
casa::ROMSSourceColumns::ROMSSourceColumns | ( | const ROMSSourceColumns & | ) | [private] |
void casa::ROMSSourceColumns::attach | ( | const MSSource & | msSource | ) | [protected] |
void casa::ROMSSourceColumns::attachOptionalCols | ( | const MSSource & | msSource | ) | [private] |
const ROScalarColumn<Int>& casa::ROMSSourceColumns::calibrationGroup | ( | ) | const [inline] |
Access to required columns.
Reimplemented in casa::MSSourceColumns.
Definition at line 102 of file MSSourceColumns.h.
References calibrationGroup_p.
const ROScalarColumn<String>& casa::ROMSSourceColumns::code | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 104 of file MSSourceColumns.h.
References code_p.
const ROArrayColumn<Double>& casa::ROMSSourceColumns::direction | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 105 of file MSSourceColumns.h.
References direction_p.
const ROScalarMeasColumn<MDirection>& casa::ROMSSourceColumns::directionMeas | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 108 of file MSSourceColumns.h.
References directionMeas_p.
const ROArrayQuantColumn<Double>& casa::ROMSSourceColumns::directionQuant | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 106 of file MSSourceColumns.h.
References directionQuant_p.
const ROScalarColumn<Double>& casa::ROMSSourceColumns::interval | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 110 of file MSSourceColumns.h.
References interval_p.
const ROScalarQuantColumn<Double>& casa::ROMSSourceColumns::intervalQuant | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 111 of file MSSourceColumns.h.
References intervalQuant_p.
Bool casa::ROMSSourceColumns::isNull | ( | ) | const [inline] |
Is this object defined? (MSSource table is optional)
Definition at line 98 of file MSSourceColumns.h.
References isNull_p.
Referenced by nrow().
const ROScalarColumn<String>& casa::ROMSSourceColumns::name | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 113 of file MSSourceColumns.h.
References name_p.
uInt casa::ROMSSourceColumns::nrow | ( | ) | const [inline] |
Convenience function that returns the number of rows in any of the columns.
Returns zero if the object is null.
Definition at line 150 of file MSSourceColumns.h.
References calibrationGroup_p, and isNull().
const ROScalarColumn<Int>& casa::ROMSSourceColumns::numLines | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 114 of file MSSourceColumns.h.
References numLines_p.
ROMSSourceColumns& casa::ROMSSourceColumns::operator= | ( | const ROMSSourceColumns & | ) | [private] |
const ROArrayColumn<Double>& casa::ROMSSourceColumns::position | ( | ) | const [inline] |
Access to optional columns.
Reimplemented in casa::MSSourceColumns.
Definition at line 128 of file MSSourceColumns.h.
References position_p.
const ROScalarMeasColumn<MPosition>& casa::ROMSSourceColumns::positionMeas | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 131 of file MSSourceColumns.h.
References positionMeas_p.
const ROArrayQuantColumn<Double>& casa::ROMSSourceColumns::positionQuant | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 129 of file MSSourceColumns.h.
References positionQuant_p.
const ROArrayColumn<Double>& casa::ROMSSourceColumns::properMotion | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 115 of file MSSourceColumns.h.
References properMotion_p.
const ROArrayQuantColumn<Double>& casa::ROMSSourceColumns::properMotionQuant | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 116 of file MSSourceColumns.h.
References properMotionQuant_p.
const ROScalarColumn<Int>& casa::ROMSSourceColumns::pulsarId | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 133 of file MSSourceColumns.h.
References pulsarId_p.
const ROArrayColumn<Double>& casa::ROMSSourceColumns::restFrequency | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 134 of file MSSourceColumns.h.
References restFrequency_p.
const ROArrayMeasColumn<MFrequency>& casa::ROMSSourceColumns::restFrequencyMeas | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 137 of file MSSourceColumns.h.
References restFrequencyMeas_p.
const ROArrayQuantColumn<Double>& casa::ROMSSourceColumns::restFrequencyQuant | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 135 of file MSSourceColumns.h.
References restFrequencyQuant_p.
const ROScalarColumn<Int>& casa::ROMSSourceColumns::sourceId | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 118 of file MSSourceColumns.h.
References sourceId_p.
const ROScalarColumn<TableRecord>& casa::ROMSSourceColumns::sourceModel | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 139 of file MSSourceColumns.h.
References sourceModel_p.
const ROScalarColumn<Int>& casa::ROMSSourceColumns::spectralWindowId | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 119 of file MSSourceColumns.h.
References spectralWindowId_p.
const ROArrayColumn<Double>& casa::ROMSSourceColumns::sysvel | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 141 of file MSSourceColumns.h.
References sysvel_p.
const ROArrayMeasColumn<MRadialVelocity>& casa::ROMSSourceColumns::sysvelMeas | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 143 of file MSSourceColumns.h.
References sysvelMeas_p.
const ROArrayQuantColumn<Double>& casa::ROMSSourceColumns::sysvelQuant | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 142 of file MSSourceColumns.h.
References sysvelQuant_p.
const ROScalarColumn<Double>& casa::ROMSSourceColumns::time | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 121 of file MSSourceColumns.h.
References time_p.
const ROScalarMeasColumn<MEpoch>& casa::ROMSSourceColumns::timeMeas | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 123 of file MSSourceColumns.h.
References timeMeas_p.
const ROScalarQuantColumn<Double>& casa::ROMSSourceColumns::timeQuant | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 122 of file MSSourceColumns.h.
References timeQuant_p.
const ROArrayColumn<String>& casa::ROMSSourceColumns::transition | ( | ) | const [inline] |
Reimplemented in casa::MSSourceColumns.
Definition at line 145 of file MSSourceColumns.h.
References transition_p.
Reimplemented in casa::MSSourceColumns.
Definition at line 173 of file MSSourceColumns.h.
Referenced by calibrationGroup(), and nrow().
ROScalarColumn<String> casa::ROMSSourceColumns::code_p [private] |
Reimplemented in casa::MSSourceColumns.
Definition at line 174 of file MSSourceColumns.h.
Referenced by code().
Reimplemented in casa::MSSourceColumns.
Definition at line 175 of file MSSourceColumns.h.
Referenced by direction().
Reimplemented in casa::MSSourceColumns.
Definition at line 192 of file MSSourceColumns.h.
Referenced by directionMeas().
Reimplemented in casa::MSSourceColumns.
Definition at line 200 of file MSSourceColumns.h.
Referenced by directionQuant().
Reimplemented in casa::MSSourceColumns.
Definition at line 176 of file MSSourceColumns.h.
Referenced by interval().
Reimplemented in casa::MSSourceColumns.
Definition at line 201 of file MSSourceColumns.h.
Referenced by intervalQuant().
Bool casa::ROMSSourceColumns::isNull_p [private] |
Definition at line 170 of file MSSourceColumns.h.
Referenced by isNull().
ROScalarColumn<String> casa::ROMSSourceColumns::name_p [private] |
Reimplemented in casa::MSSourceColumns.
Definition at line 177 of file MSSourceColumns.h.
Referenced by name().
ROScalarColumn<Int> casa::ROMSSourceColumns::numLines_p [private] |
Reimplemented in casa::MSSourceColumns.
Definition at line 178 of file MSSourceColumns.h.
Referenced by numLines().
Reimplemented in casa::MSSourceColumns.
Definition at line 184 of file MSSourceColumns.h.
Referenced by position().
Reimplemented in casa::MSSourceColumns.
Definition at line 195 of file MSSourceColumns.h.
Referenced by positionMeas().
Reimplemented in casa::MSSourceColumns.
Definition at line 205 of file MSSourceColumns.h.
Referenced by positionQuant().
Reimplemented in casa::MSSourceColumns.
Definition at line 179 of file MSSourceColumns.h.
Referenced by properMotion().
Reimplemented in casa::MSSourceColumns.
Definition at line 202 of file MSSourceColumns.h.
Referenced by properMotionQuant().
ROScalarColumn<Int> casa::ROMSSourceColumns::pulsarId_p [private] |
Reimplemented in casa::MSSourceColumns.
Definition at line 185 of file MSSourceColumns.h.
Referenced by pulsarId().
Reimplemented in casa::MSSourceColumns.
Definition at line 186 of file MSSourceColumns.h.
Referenced by restFrequency().
Reimplemented in casa::MSSourceColumns.
Definition at line 196 of file MSSourceColumns.h.
Referenced by restFrequencyMeas().
Reimplemented in casa::MSSourceColumns.
Definition at line 206 of file MSSourceColumns.h.
Referenced by restFrequencyQuant().
ROScalarColumn<Int> casa::ROMSSourceColumns::sourceId_p [private] |
Reimplemented in casa::MSSourceColumns.
Definition at line 180 of file MSSourceColumns.h.
Referenced by sourceId().
Reimplemented in casa::MSSourceColumns.
Definition at line 187 of file MSSourceColumns.h.
Referenced by sourceModel().
Reimplemented in casa::MSSourceColumns.
Definition at line 181 of file MSSourceColumns.h.
Referenced by spectralWindowId().
ROArrayColumn<Double> casa::ROMSSourceColumns::sysvel_p [private] |
Reimplemented in casa::MSSourceColumns.
Definition at line 188 of file MSSourceColumns.h.
Referenced by sysvel().
Reimplemented in casa::MSSourceColumns.
Definition at line 197 of file MSSourceColumns.h.
Referenced by sysvelMeas().
Reimplemented in casa::MSSourceColumns.
Definition at line 207 of file MSSourceColumns.h.
Referenced by sysvelQuant().
ROScalarColumn<Double> casa::ROMSSourceColumns::time_p [private] |
Reimplemented in casa::MSSourceColumns.
Definition at line 182 of file MSSourceColumns.h.
Referenced by time().
Reimplemented in casa::MSSourceColumns.
Definition at line 193 of file MSSourceColumns.h.
Referenced by timeMeas().
Reimplemented in casa::MSSourceColumns.
Definition at line 203 of file MSSourceColumns.h.
Referenced by timeQuant().
Reimplemented in casa::MSSourceColumns.
Definition at line 189 of file MSSourceColumns.h.
Referenced by transition().