casa
5.7.0-16
|
A class to provide easy read-only access to MSSource columns. More...
#include <MSSourceColumns.h>
Protected Member Functions | |
ROMSSourceColumns () | |
void | attach (const MSSource &msSource) |
Private Member Functions | |
ROMSSourceColumns (const ROMSSourceColumns &) | |
ROMSSourceColumns & | operator= (const ROMSSourceColumns &) |
void | attachOptionalCols (const MSSource &msSource) |
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.
casacore::ROMSSourceColumns::ROMSSourceColumns | ( | const MSSource & | msSource | ) |
Construct from the supplied Table.
casacore::ROMSSourceColumns::~ROMSSourceColumns | ( | ) |
The destructor does nothing special.
|
protected |
|
private |
|
protected |
|
private |
|
inline |
Access to required columns.
Definition at line 102 of file MSSourceColumns.h.
References calibrationGroup_p.
Referenced by casacore::MSSourceColumns::calibrationGroup().
|
inline |
Definition at line 104 of file MSSourceColumns.h.
References code_p.
Referenced by casacore::MSSourceColumns::code().
|
inline |
Definition at line 105 of file MSSourceColumns.h.
References direction_p.
Referenced by casacore::MSSourceColumns::direction().
|
inline |
Definition at line 108 of file MSSourceColumns.h.
References directionMeas_p.
Referenced by casacore::MSSourceColumns::directionMeas().
|
inline |
Definition at line 106 of file MSSourceColumns.h.
References directionQuant_p.
Referenced by casacore::MSSourceColumns::directionQuant().
|
inline |
Definition at line 110 of file MSSourceColumns.h.
References interval_p.
Referenced by casacore::MSSourceColumns::interval().
|
inline |
Definition at line 111 of file MSSourceColumns.h.
References intervalQuant_p.
Referenced by casacore::MSSourceColumns::intervalQuant().
|
inline |
Is this object defined? (MSSource table is optional)
Definition at line 98 of file MSSourceColumns.h.
References isNull_p.
Referenced by nrow().
|
inline |
Definition at line 113 of file MSSourceColumns.h.
References name_p.
Referenced by casacore::MSSourceColumns::name().
|
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().
Referenced by casa::sdfiller::SourceRecord::add(), and casa::sdfiller::SourceRecord::fill().
|
inline |
Definition at line 114 of file MSSourceColumns.h.
References numLines_p.
Referenced by casacore::MSSourceColumns::numLines().
|
private |
|
inline |
Access to optional columns.
Definition at line 128 of file MSSourceColumns.h.
References position_p.
Referenced by casacore::MSSourceColumns::position().
|
inline |
Definition at line 131 of file MSSourceColumns.h.
References positionMeas_p.
Referenced by casacore::MSSourceColumns::positionMeas().
|
inline |
Definition at line 129 of file MSSourceColumns.h.
References positionQuant_p.
Referenced by casacore::MSSourceColumns::positionQuant().
|
inline |
Definition at line 115 of file MSSourceColumns.h.
References properMotion_p.
Referenced by casacore::MSSourceColumns::properMotion().
|
inline |
Definition at line 116 of file MSSourceColumns.h.
References properMotionQuant_p.
Referenced by casacore::MSSourceColumns::properMotionQuant().
|
inline |
Definition at line 133 of file MSSourceColumns.h.
References pulsarId_p.
Referenced by casacore::MSSourceColumns::pulsarId().
|
inline |
Definition at line 134 of file MSSourceColumns.h.
References restFrequency_p.
Referenced by casacore::MSSourceColumns::restFrequency().
|
inline |
Definition at line 137 of file MSSourceColumns.h.
References restFrequencyMeas_p.
Referenced by casacore::MSSourceColumns::restFrequencyMeas().
|
inline |
Definition at line 135 of file MSSourceColumns.h.
References restFrequencyQuant_p.
Referenced by casacore::MSSourceColumns::restFrequencyQuant().
|
inline |
Definition at line 118 of file MSSourceColumns.h.
References sourceId_p.
Referenced by casacore::MSSourceColumns::sourceId().
|
inline |
Definition at line 139 of file MSSourceColumns.h.
References sourceModel_p.
Referenced by casacore::MSSourceColumns::sourceModel().
|
inline |
Definition at line 119 of file MSSourceColumns.h.
References spectralWindowId_p.
Referenced by casacore::MSSourceColumns::spectralWindowId().
|
inline |
Definition at line 141 of file MSSourceColumns.h.
References sysvel_p.
Referenced by casacore::MSSourceColumns::sysvel().
|
inline |
Definition at line 143 of file MSSourceColumns.h.
References sysvelMeas_p.
Referenced by casacore::MSSourceColumns::sysvelMeas().
|
inline |
Definition at line 142 of file MSSourceColumns.h.
References sysvelQuant_p.
Referenced by casacore::MSSourceColumns::sysvelQuant().
|
inline |
Definition at line 121 of file MSSourceColumns.h.
References time_p.
Referenced by casacore::MSSourceColumns::time().
|
inline |
Definition at line 123 of file MSSourceColumns.h.
References timeMeas_p.
Referenced by casacore::MSSourceColumns::timeMeas().
|
inline |
Definition at line 122 of file MSSourceColumns.h.
References timeQuant_p.
Referenced by casacore::MSSourceColumns::timeQuant().
|
inline |
Definition at line 145 of file MSSourceColumns.h.
References transition_p.
Referenced by casacore::MSSourceColumns::transition().
|
private |
Definition at line 173 of file MSSourceColumns.h.
Referenced by calibrationGroup(), and nrow().
|
private |
Definition at line 174 of file MSSourceColumns.h.
Referenced by code().
|
private |
Definition at line 175 of file MSSourceColumns.h.
Referenced by direction().
|
private |
Definition at line 192 of file MSSourceColumns.h.
Referenced by directionMeas().
|
private |
Definition at line 200 of file MSSourceColumns.h.
Referenced by directionQuant().
|
private |
Definition at line 176 of file MSSourceColumns.h.
Referenced by interval().
|
private |
Definition at line 201 of file MSSourceColumns.h.
Referenced by intervalQuant().
|
private |
Definition at line 170 of file MSSourceColumns.h.
Referenced by isNull().
|
private |
Definition at line 177 of file MSSourceColumns.h.
Referenced by name().
|
private |
Definition at line 178 of file MSSourceColumns.h.
Referenced by numLines().
|
private |
Definition at line 184 of file MSSourceColumns.h.
Referenced by position().
|
private |
Definition at line 195 of file MSSourceColumns.h.
Referenced by positionMeas().
|
private |
Definition at line 205 of file MSSourceColumns.h.
Referenced by positionQuant().
|
private |
Definition at line 179 of file MSSourceColumns.h.
Referenced by properMotion().
|
private |
Definition at line 202 of file MSSourceColumns.h.
Referenced by properMotionQuant().
|
private |
Definition at line 185 of file MSSourceColumns.h.
Referenced by pulsarId().
|
private |
Definition at line 186 of file MSSourceColumns.h.
Referenced by restFrequency().
|
private |
Definition at line 196 of file MSSourceColumns.h.
Referenced by restFrequencyMeas().
|
private |
Definition at line 206 of file MSSourceColumns.h.
Referenced by restFrequencyQuant().
|
private |
Definition at line 180 of file MSSourceColumns.h.
Referenced by sourceId().
|
private |
Definition at line 187 of file MSSourceColumns.h.
Referenced by sourceModel().
|
private |
Definition at line 181 of file MSSourceColumns.h.
Referenced by spectralWindowId().
|
private |
Definition at line 188 of file MSSourceColumns.h.
Referenced by sysvel().
|
private |
Definition at line 197 of file MSSourceColumns.h.
Referenced by sysvelMeas().
|
private |
Definition at line 207 of file MSSourceColumns.h.
Referenced by sysvelQuant().
|
private |
Definition at line 182 of file MSSourceColumns.h.
Referenced by time().
|
private |
Definition at line 193 of file MSSourceColumns.h.
Referenced by timeMeas().
|
private |
Definition at line 203 of file MSSourceColumns.h.
Referenced by timeQuant().
|
private |
Definition at line 189 of file MSSourceColumns.h.
Referenced by transition().