casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::ROMSWeatherColumns Class Reference

A class to provide easy read-only access to MSWeather columns. More...

#include <MSWeatherColumns.h>

Inheritance diagram for casacore::ROMSWeatherColumns:
casacore::MSWeatherColumns

Public Member Functions

 ROMSWeatherColumns (const MSWeather &msWeather)
 Create a columns object that accesses the data in the specified Table. More...
 
 ~ROMSWeatherColumns ()
 The destructor does nothing special. More...
 
Bool isNull () const
 Is this object defined? (MSWeather table is optional) More...
 
const ROScalarColumn< Int > & antennaId () const
 Access to columns. More...
 
const ROScalarColumn< Double > & interval () const
 
const ROScalarQuantColumn
< Double > & 
intervalQuant () const
 
const ROScalarColumn< Double > & time () const
 
const ROScalarQuantColumn
< Double > & 
timeQuant () const
 
const ROScalarMeasColumn
< MEpoch > & 
timeMeas () const
 
const ROScalarColumn< Float > & dewPoint () const
 Access to optional columns. More...
 
const ROScalarQuantColumn
< Float > & 
dewPointQuant () const
 
const ROScalarColumn< Bool > & dewPointFlag () const
 
const ROScalarColumn< Float > & H2O () const
 
const ROScalarColumn< Bool > & H2OFlag () const
 
const ROScalarQuantColumn
< Float > & 
H2OQuant () const
 
const ROScalarColumn< Float > & ionosElectron () const
 
const ROScalarQuantColumn
< Float > & 
ionosElectronQuant () const
 
const ROScalarColumn< Bool > & ionosElectronFlag () const
 
const ROScalarColumn< Float > & pressure () const
 
const ROScalarQuantColumn
< Float > & 
pressureQuant () const
 
const ROScalarColumn< Bool > & pressureFlag () const
 
const ROScalarColumn< Float > & relHumidity () const
 
const ROScalarColumn< Bool > & relHumidityFlag () const
 
const ROScalarColumn< Float > & temperature () const
 
const ROScalarQuantColumn
< Float > & 
temperatureQuant () const
 
const ROScalarColumn< Bool > & temperatureFlag () const
 
const ROScalarColumn< Float > & windDirection () const
 
const ROScalarQuantColumn
< Float > & 
windDirectionQuant () const
 
const ROScalarColumn< Bool > & windDirectionFlag () const
 
const ROScalarColumn< Float > & windSpeed () const
 
const ROScalarQuantColumn
< Float > & 
windSpeedQuant () const
 
const ROScalarColumn< Bool > & windSpeedFlag () const
 
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns. More...
 

Protected Member Functions

 ROMSWeatherColumns ()
 
void attach (const MSWeather &msWeather)
 

Private Member Functions

 ROMSWeatherColumns (const ROMSWeatherColumns &)
 
ROMSWeatherColumnsoperator= (const ROMSWeatherColumns &)
 
void attachOptionalCols (const MSWeather &msWeather)
 

Private Attributes

Bool isNull_p
 
ROScalarColumn< IntantennaId_p
 
ROScalarColumn< Doubleinterval_p
 
ROScalarColumn< Doubletime_p
 
ROScalarColumn< FloatdewPoint_p
 
ROScalarColumn< BooldewPointFlag_p
 
ROScalarColumn< FloatH2O_p
 
ROScalarColumn< BoolH2OFlag_p
 
ROScalarColumn< FloationosElectron_p
 
ROScalarColumn< BoolionosElectronFlag_p
 
ROScalarColumn< Floatpressure_p
 
ROScalarColumn< BoolpressureFlag_p
 
ROScalarColumn< FloatrelHumidity_p
 
ROScalarColumn< BoolrelHumidityFlag_p
 
ROScalarColumn< Floattemperature_p
 
ROScalarColumn< BooltemperatureFlag_p
 
ROScalarColumn< FloatwindDirection_p
 
ROScalarColumn< BoolwindDirectionFlag_p
 
ROScalarColumn< FloatwindSpeed_p
 
ROScalarColumn< BoolwindSpeedFlag_p
 
ROScalarMeasColumn< MEpochtimeMeas_p
 
ROScalarQuantColumn< DoubleintervalQuant_p
 
ROScalarQuantColumn< DoubletimeQuant_p
 
ROScalarQuantColumn< FloatdewPointQuant_p
 
ROScalarQuantColumn< FloatH2OQuant_p
 
ROScalarQuantColumn< FloationosElectronQuant_p
 
ROScalarQuantColumn< FloatpressureQuant_p
 
ROScalarQuantColumn< FloattemperatureQuant_p
 
ROScalarQuantColumn< FloatwindDirectionQuant_p
 
ROScalarQuantColumn< FloatwindSpeedQuant_p
 

Detailed Description

A class to provide easy read-only access to MSWeather columns.

Intended use:

Public interface

Review Status

Reviewed By:
Bob Garwood
Date Reviewed:
1997/02/01

Prerequisite

Etymology

ROMSWeatherColumns stands for Read-Only MeasurementSet Weather Table columns.

Synopsis

This class provides read-only access to the columns in the MSWeather 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.

Motivation

See MSColumns for the motivation.

Definition at line 76 of file MSWeatherColumns.h.

Constructor & Destructor Documentation

casacore::ROMSWeatherColumns::ROMSWeatherColumns ( const MSWeather msWeather)

Create a columns object that accesses the data in the specified Table.

casacore::ROMSWeatherColumns::~ROMSWeatherColumns ( )

The destructor does nothing special.

casacore::ROMSWeatherColumns::ROMSWeatherColumns ( )
protected
casacore::ROMSWeatherColumns::ROMSWeatherColumns ( const ROMSWeatherColumns )
private

Member Function Documentation

const ROScalarColumn<Int>& casacore::ROMSWeatherColumns::antennaId ( ) const
inline

Access to columns.

Definition at line 90 of file MSWeatherColumns.h.

References antennaId_p.

Referenced by casacore::MSWeatherColumns::antennaId().

void casacore::ROMSWeatherColumns::attach ( const MSWeather msWeather)
protected
void casacore::ROMSWeatherColumns::attachOptionalCols ( const MSWeather msWeather)
private
const ROScalarColumn<Float>& casacore::ROMSWeatherColumns::dewPoint ( ) const
inline

Access to optional columns.

Definition at line 101 of file MSWeatherColumns.h.

References dewPoint_p.

Referenced by casacore::MSWeatherColumns::dewPoint().

const ROScalarColumn<Bool>& casacore::ROMSWeatherColumns::dewPointFlag ( ) const
inline

Definition at line 104 of file MSWeatherColumns.h.

References dewPointFlag_p.

Referenced by casacore::MSWeatherColumns::dewPointFlag().

const ROScalarQuantColumn<Float>& casacore::ROMSWeatherColumns::dewPointQuant ( ) const
inline

Definition at line 102 of file MSWeatherColumns.h.

References dewPointQuant_p.

Referenced by casacore::MSWeatherColumns::dewPointQuant().

const ROScalarColumn<Float>& casacore::ROMSWeatherColumns::H2O ( ) const
inline

Definition at line 105 of file MSWeatherColumns.h.

References H2O_p.

Referenced by casacore::MSWeatherColumns::H2O().

const ROScalarColumn<Bool>& casacore::ROMSWeatherColumns::H2OFlag ( ) const
inline

Definition at line 106 of file MSWeatherColumns.h.

References H2OFlag_p.

Referenced by casacore::MSWeatherColumns::H2OFlag().

const ROScalarQuantColumn<Float>& casacore::ROMSWeatherColumns::H2OQuant ( ) const
inline

Definition at line 107 of file MSWeatherColumns.h.

References H2OQuant_p.

Referenced by casacore::MSWeatherColumns::H2OQuant().

const ROScalarColumn<Double>& casacore::ROMSWeatherColumns::interval ( ) const
inline

Definition at line 91 of file MSWeatherColumns.h.

References interval_p.

Referenced by casacore::MSWeatherColumns::interval().

const ROScalarQuantColumn<Double>& casacore::ROMSWeatherColumns::intervalQuant ( ) const
inline

Definition at line 92 of file MSWeatherColumns.h.

References intervalQuant_p.

Referenced by casacore::MSWeatherColumns::intervalQuant().

const ROScalarColumn<Float>& casacore::ROMSWeatherColumns::ionosElectron ( ) const
inline

Definition at line 108 of file MSWeatherColumns.h.

References ionosElectron_p.

Referenced by casacore::MSWeatherColumns::ionosElectron().

const ROScalarColumn<Bool>& casacore::ROMSWeatherColumns::ionosElectronFlag ( ) const
inline

Definition at line 111 of file MSWeatherColumns.h.

References ionosElectronFlag_p.

Referenced by casacore::MSWeatherColumns::ionosElectronFlag().

const ROScalarQuantColumn<Float>& casacore::ROMSWeatherColumns::ionosElectronQuant ( ) const
inline

Definition at line 109 of file MSWeatherColumns.h.

References ionosElectronQuant_p.

Referenced by casacore::MSWeatherColumns::ionosElectronQuant().

Bool casacore::ROMSWeatherColumns::isNull ( ) const
inline

Is this object defined? (MSWeather table is optional)

Definition at line 86 of file MSWeatherColumns.h.

References isNull_p.

Referenced by nrow().

uInt casacore::ROMSWeatherColumns::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 138 of file MSWeatherColumns.h.

References antennaId_p, and isNull().

Referenced by casa::sdfiller::WeatherRecord::fill().

ROMSWeatherColumns& casacore::ROMSWeatherColumns::operator= ( const ROMSWeatherColumns )
private
const ROScalarColumn<Float>& casacore::ROMSWeatherColumns::pressure ( ) const
inline

Definition at line 113 of file MSWeatherColumns.h.

References pressure_p.

Referenced by casacore::MSWeatherColumns::pressure().

const ROScalarColumn<Bool>& casacore::ROMSWeatherColumns::pressureFlag ( ) const
inline

Definition at line 116 of file MSWeatherColumns.h.

References pressureFlag_p.

Referenced by casacore::MSWeatherColumns::pressureFlag().

const ROScalarQuantColumn<Float>& casacore::ROMSWeatherColumns::pressureQuant ( ) const
inline

Definition at line 114 of file MSWeatherColumns.h.

References pressureQuant_p.

Referenced by casacore::MSWeatherColumns::pressureQuant().

const ROScalarColumn<Float>& casacore::ROMSWeatherColumns::relHumidity ( ) const
inline

Definition at line 117 of file MSWeatherColumns.h.

References relHumidity_p.

Referenced by casacore::MSWeatherColumns::relHumidity().

const ROScalarColumn<Bool>& casacore::ROMSWeatherColumns::relHumidityFlag ( ) const
inline

Definition at line 118 of file MSWeatherColumns.h.

References relHumidityFlag_p.

Referenced by casacore::MSWeatherColumns::relHumidityFlag().

const ROScalarColumn<Float>& casacore::ROMSWeatherColumns::temperature ( ) const
inline

Definition at line 120 of file MSWeatherColumns.h.

References temperature_p.

Referenced by casacore::MSWeatherColumns::temperature().

const ROScalarColumn<Bool>& casacore::ROMSWeatherColumns::temperatureFlag ( ) const
inline

Definition at line 123 of file MSWeatherColumns.h.

References temperatureFlag_p.

Referenced by casacore::MSWeatherColumns::temperatureFlag().

const ROScalarQuantColumn<Float>& casacore::ROMSWeatherColumns::temperatureQuant ( ) const
inline

Definition at line 121 of file MSWeatherColumns.h.

References temperatureQuant_p.

Referenced by casacore::MSWeatherColumns::temperatureQuant().

const ROScalarColumn<Double>& casacore::ROMSWeatherColumns::time ( void  ) const
inline

Definition at line 94 of file MSWeatherColumns.h.

References time_p.

Referenced by casacore::MSWeatherColumns::time().

const ROScalarMeasColumn<MEpoch>& casacore::ROMSWeatherColumns::timeMeas ( ) const
inline

Definition at line 96 of file MSWeatherColumns.h.

References timeMeas_p.

Referenced by casacore::MSWeatherColumns::timeMeas().

const ROScalarQuantColumn<Double>& casacore::ROMSWeatherColumns::timeQuant ( ) const
inline

Definition at line 95 of file MSWeatherColumns.h.

References timeQuant_p.

Referenced by casacore::MSWeatherColumns::timeQuant().

const ROScalarColumn<Float>& casacore::ROMSWeatherColumns::windDirection ( ) const
inline

Definition at line 125 of file MSWeatherColumns.h.

References windDirection_p.

Referenced by casacore::MSWeatherColumns::windDirection().

const ROScalarColumn<Bool>& casacore::ROMSWeatherColumns::windDirectionFlag ( ) const
inline

Definition at line 128 of file MSWeatherColumns.h.

References windDirectionFlag_p.

Referenced by casacore::MSWeatherColumns::windDirectionFlag().

const ROScalarQuantColumn<Float>& casacore::ROMSWeatherColumns::windDirectionQuant ( ) const
inline

Definition at line 126 of file MSWeatherColumns.h.

References windDirectionQuant_p.

Referenced by casacore::MSWeatherColumns::windDirectionQuant().

const ROScalarColumn<Float>& casacore::ROMSWeatherColumns::windSpeed ( ) const
inline

Definition at line 130 of file MSWeatherColumns.h.

References windSpeed_p.

Referenced by casacore::MSWeatherColumns::windSpeed().

const ROScalarColumn<Bool>& casacore::ROMSWeatherColumns::windSpeedFlag ( ) const
inline

Definition at line 133 of file MSWeatherColumns.h.

References windSpeedFlag_p.

Referenced by casacore::MSWeatherColumns::windSpeedFlag().

const ROScalarQuantColumn<Float>& casacore::ROMSWeatherColumns::windSpeedQuant ( ) const
inline

Definition at line 131 of file MSWeatherColumns.h.

References windSpeedQuant_p.

Referenced by casacore::MSWeatherColumns::windSpeedQuant().

Member Data Documentation

ROScalarColumn<Int> casacore::ROMSWeatherColumns::antennaId_p
private

Definition at line 161 of file MSWeatherColumns.h.

Referenced by antennaId(), and nrow().

ROScalarColumn<Float> casacore::ROMSWeatherColumns::dewPoint_p
private

Definition at line 165 of file MSWeatherColumns.h.

Referenced by dewPoint().

ROScalarColumn<Bool> casacore::ROMSWeatherColumns::dewPointFlag_p
private

Definition at line 166 of file MSWeatherColumns.h.

Referenced by dewPointFlag().

ROScalarQuantColumn<Float> casacore::ROMSWeatherColumns::dewPointQuant_p
private

Definition at line 189 of file MSWeatherColumns.h.

Referenced by dewPointQuant().

ROScalarColumn<Float> casacore::ROMSWeatherColumns::H2O_p
private

Definition at line 167 of file MSWeatherColumns.h.

Referenced by H2O().

ROScalarColumn<Bool> casacore::ROMSWeatherColumns::H2OFlag_p
private

Definition at line 168 of file MSWeatherColumns.h.

Referenced by H2OFlag().

ROScalarQuantColumn<Float> casacore::ROMSWeatherColumns::H2OQuant_p
private

Definition at line 190 of file MSWeatherColumns.h.

Referenced by H2OQuant().

ROScalarColumn<Double> casacore::ROMSWeatherColumns::interval_p
private

Definition at line 162 of file MSWeatherColumns.h.

Referenced by interval().

ROScalarQuantColumn<Double> casacore::ROMSWeatherColumns::intervalQuant_p
private

Definition at line 186 of file MSWeatherColumns.h.

Referenced by intervalQuant().

ROScalarColumn<Float> casacore::ROMSWeatherColumns::ionosElectron_p
private

Definition at line 169 of file MSWeatherColumns.h.

Referenced by ionosElectron().

ROScalarColumn<Bool> casacore::ROMSWeatherColumns::ionosElectronFlag_p
private

Definition at line 170 of file MSWeatherColumns.h.

Referenced by ionosElectronFlag().

ROScalarQuantColumn<Float> casacore::ROMSWeatherColumns::ionosElectronQuant_p
private

Definition at line 191 of file MSWeatherColumns.h.

Referenced by ionosElectronQuant().

Bool casacore::ROMSWeatherColumns::isNull_p
private

Definition at line 158 of file MSWeatherColumns.h.

Referenced by isNull().

ROScalarColumn<Float> casacore::ROMSWeatherColumns::pressure_p
private

Definition at line 171 of file MSWeatherColumns.h.

Referenced by pressure().

ROScalarColumn<Bool> casacore::ROMSWeatherColumns::pressureFlag_p
private

Definition at line 172 of file MSWeatherColumns.h.

Referenced by pressureFlag().

ROScalarQuantColumn<Float> casacore::ROMSWeatherColumns::pressureQuant_p
private

Definition at line 192 of file MSWeatherColumns.h.

Referenced by pressureQuant().

ROScalarColumn<Float> casacore::ROMSWeatherColumns::relHumidity_p
private

Definition at line 173 of file MSWeatherColumns.h.

Referenced by relHumidity().

ROScalarColumn<Bool> casacore::ROMSWeatherColumns::relHumidityFlag_p
private

Definition at line 174 of file MSWeatherColumns.h.

Referenced by relHumidityFlag().

ROScalarColumn<Float> casacore::ROMSWeatherColumns::temperature_p
private

Definition at line 175 of file MSWeatherColumns.h.

Referenced by temperature().

ROScalarColumn<Bool> casacore::ROMSWeatherColumns::temperatureFlag_p
private

Definition at line 176 of file MSWeatherColumns.h.

Referenced by temperatureFlag().

ROScalarQuantColumn<Float> casacore::ROMSWeatherColumns::temperatureQuant_p
private

Definition at line 193 of file MSWeatherColumns.h.

Referenced by temperatureQuant().

ROScalarColumn<Double> casacore::ROMSWeatherColumns::time_p
private

Definition at line 163 of file MSWeatherColumns.h.

Referenced by time().

ROScalarMeasColumn<MEpoch> casacore::ROMSWeatherColumns::timeMeas_p
private

Definition at line 183 of file MSWeatherColumns.h.

Referenced by timeMeas().

ROScalarQuantColumn<Double> casacore::ROMSWeatherColumns::timeQuant_p
private

Definition at line 187 of file MSWeatherColumns.h.

Referenced by timeQuant().

ROScalarColumn<Float> casacore::ROMSWeatherColumns::windDirection_p
private

Definition at line 177 of file MSWeatherColumns.h.

Referenced by windDirection().

ROScalarColumn<Bool> casacore::ROMSWeatherColumns::windDirectionFlag_p
private

Definition at line 178 of file MSWeatherColumns.h.

Referenced by windDirectionFlag().

ROScalarQuantColumn<Float> casacore::ROMSWeatherColumns::windDirectionQuant_p
private

Definition at line 194 of file MSWeatherColumns.h.

Referenced by windDirectionQuant().

ROScalarColumn<Float> casacore::ROMSWeatherColumns::windSpeed_p
private

Definition at line 179 of file MSWeatherColumns.h.

Referenced by windSpeed().

ROScalarColumn<Bool> casacore::ROMSWeatherColumns::windSpeedFlag_p
private

Definition at line 180 of file MSWeatherColumns.h.

Referenced by windSpeedFlag().

ROScalarQuantColumn<Float> casacore::ROMSWeatherColumns::windSpeedQuant_p
private

Definition at line 195 of file MSWeatherColumns.h.

Referenced by windSpeedQuant().


The documentation for this class was generated from the following file: