casa::ROMSWeatherColumns Class Reference
[MeasurementSets]

#include <MSWeatherColumns.h>

Inheritance diagram for casa::ROMSWeatherColumns:

Inheritance graph
[legend]
List of all members.

Detailed Description

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

Intended use:

Part of API

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 75 of file MSWeatherColumns.h.

Public Member Functions

 ROMSWeatherColumns (const MSWeather &msWeather)
 Create a columns object that accesses the data in the specified Table.
 ~ROMSWeatherColumns ()
 The destructor does nothing special.
Bool isNull () const
 Is this object defined? (MSWeather table is optional).
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns.
const ROScalarColumn< Int > & antennaId () const
 Access to columns.
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.
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

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


Constructor & Destructor Documentation

casa::ROMSWeatherColumns::ROMSWeatherColumns ( const MSWeather msWeather  ) 

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

casa::ROMSWeatherColumns::~ROMSWeatherColumns (  ) 

The destructor does nothing special.

casa::ROMSWeatherColumns::ROMSWeatherColumns (  )  [protected]

casa::ROMSWeatherColumns::ROMSWeatherColumns ( const ROMSWeatherColumns  )  [private]


Member Function Documentation

Bool casa::ROMSWeatherColumns::isNull (  )  const [inline]

Is this object defined? (MSWeather table is optional).

Definition at line 85 of file MSWeatherColumns.h.

References isNull_p.

Referenced by nrow().

const ROScalarColumn<Int>& casa::ROMSWeatherColumns::antennaId (  )  const [inline]

Access to columns.

Definition at line 89 of file MSWeatherColumns.h.

References antennaId_p.

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

const ROScalarColumn<Double>& casa::ROMSWeatherColumns::interval (  )  const [inline]

Definition at line 90 of file MSWeatherColumns.h.

References interval_p.

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

const ROScalarQuantColumn<Double>& casa::ROMSWeatherColumns::intervalQuant (  )  const [inline]

Definition at line 91 of file MSWeatherColumns.h.

References intervalQuant_p.

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

const ROScalarColumn<Double>& casa::ROMSWeatherColumns::time (  )  const [inline]

Definition at line 93 of file MSWeatherColumns.h.

References time_p.

const ROScalarQuantColumn<Double>& casa::ROMSWeatherColumns::timeQuant (  )  const [inline]

Definition at line 94 of file MSWeatherColumns.h.

References timeQuant_p.

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

const ROScalarMeasColumn<MEpoch>& casa::ROMSWeatherColumns::timeMeas (  )  const [inline]

Definition at line 95 of file MSWeatherColumns.h.

References timeMeas_p.

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

const ROScalarColumn<Float>& casa::ROMSWeatherColumns::dewPoint (  )  const [inline]

Access to optional columns.

Definition at line 100 of file MSWeatherColumns.h.

References dewPoint_p.

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

const ROScalarQuantColumn<Float>& casa::ROMSWeatherColumns::dewPointQuant (  )  const [inline]

Definition at line 101 of file MSWeatherColumns.h.

References dewPointQuant_p.

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

const ROScalarColumn<Bool>& casa::ROMSWeatherColumns::dewPointFlag (  )  const [inline]

Definition at line 103 of file MSWeatherColumns.h.

References dewPointFlag_p.

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

const ROScalarColumn<Float>& casa::ROMSWeatherColumns::H2O (  )  const [inline]

Definition at line 104 of file MSWeatherColumns.h.

References H2O_p.

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

const ROScalarColumn<Bool>& casa::ROMSWeatherColumns::H2OFlag (  )  const [inline]

Definition at line 105 of file MSWeatherColumns.h.

References H2OFlag_p.

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

const ROScalarQuantColumn<Float>& casa::ROMSWeatherColumns::H2OQuant (  )  const [inline]

Definition at line 106 of file MSWeatherColumns.h.

References H2OQuant_p.

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

const ROScalarColumn<Float>& casa::ROMSWeatherColumns::ionosElectron (  )  const [inline]

Definition at line 107 of file MSWeatherColumns.h.

References ionosElectron_p.

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

const ROScalarQuantColumn<Float>& casa::ROMSWeatherColumns::ionosElectronQuant (  )  const [inline]

Definition at line 108 of file MSWeatherColumns.h.

References ionosElectronQuant_p.

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

const ROScalarColumn<Bool>& casa::ROMSWeatherColumns::ionosElectronFlag (  )  const [inline]

Definition at line 110 of file MSWeatherColumns.h.

References ionosElectronFlag_p.

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

const ROScalarColumn<Float>& casa::ROMSWeatherColumns::pressure (  )  const [inline]

Definition at line 112 of file MSWeatherColumns.h.

References pressure_p.

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

const ROScalarQuantColumn<Float>& casa::ROMSWeatherColumns::pressureQuant (  )  const [inline]

Definition at line 113 of file MSWeatherColumns.h.

References pressureQuant_p.

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

const ROScalarColumn<Bool>& casa::ROMSWeatherColumns::pressureFlag (  )  const [inline]

Definition at line 115 of file MSWeatherColumns.h.

References pressureFlag_p.

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

const ROScalarColumn<Float>& casa::ROMSWeatherColumns::relHumidity (  )  const [inline]

Definition at line 116 of file MSWeatherColumns.h.

References relHumidity_p.

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

const ROScalarColumn<Bool>& casa::ROMSWeatherColumns::relHumidityFlag (  )  const [inline]

Definition at line 117 of file MSWeatherColumns.h.

References relHumidityFlag_p.

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

const ROScalarColumn<Float>& casa::ROMSWeatherColumns::temperature (  )  const [inline]

Definition at line 119 of file MSWeatherColumns.h.

References temperature_p.

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

const ROScalarQuantColumn<Float>& casa::ROMSWeatherColumns::temperatureQuant (  )  const [inline]

Definition at line 120 of file MSWeatherColumns.h.

References temperatureQuant_p.

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

const ROScalarColumn<Bool>& casa::ROMSWeatherColumns::temperatureFlag (  )  const [inline]

Definition at line 122 of file MSWeatherColumns.h.

References temperatureFlag_p.

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

const ROScalarColumn<Float>& casa::ROMSWeatherColumns::windDirection (  )  const [inline]

Definition at line 124 of file MSWeatherColumns.h.

References windDirection_p.

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

const ROScalarQuantColumn<Float>& casa::ROMSWeatherColumns::windDirectionQuant (  )  const [inline]

Definition at line 125 of file MSWeatherColumns.h.

References windDirectionQuant_p.

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

const ROScalarColumn<Bool>& casa::ROMSWeatherColumns::windDirectionFlag (  )  const [inline]

Definition at line 127 of file MSWeatherColumns.h.

References windDirectionFlag_p.

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

const ROScalarColumn<Float>& casa::ROMSWeatherColumns::windSpeed (  )  const [inline]

Definition at line 129 of file MSWeatherColumns.h.

References windSpeed_p.

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

const ROScalarQuantColumn<Float>& casa::ROMSWeatherColumns::windSpeedQuant (  )  const [inline]

Definition at line 130 of file MSWeatherColumns.h.

References windSpeedQuant_p.

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

const ROScalarColumn<Bool>& casa::ROMSWeatherColumns::windSpeedFlag (  )  const [inline]

Definition at line 132 of file MSWeatherColumns.h.

References windSpeedFlag_p.

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

uInt casa::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 137 of file MSWeatherColumns.h.

References antennaId_p, and isNull().

void casa::ROMSWeatherColumns::attach ( const MSWeather msWeather  )  [protected]

ROMSWeatherColumns& casa::ROMSWeatherColumns::operator= ( const ROMSWeatherColumns  )  [private]

void casa::ROMSWeatherColumns::attachOptionalCols ( const MSWeather msWeather  )  [private]


Member Data Documentation

Bool casa::ROMSWeatherColumns::isNull_p [private]

Definition at line 157 of file MSWeatherColumns.h.

Referenced by isNull().

ROScalarColumn<Int> casa::ROMSWeatherColumns::antennaId_p [private]

Definition at line 160 of file MSWeatherColumns.h.

Referenced by antennaId(), and nrow().

ROScalarColumn<Double> casa::ROMSWeatherColumns::interval_p [private]

Definition at line 161 of file MSWeatherColumns.h.

Referenced by interval().

ROScalarColumn<Double> casa::ROMSWeatherColumns::time_p [private]

Definition at line 162 of file MSWeatherColumns.h.

Referenced by time().

ROScalarColumn<Float> casa::ROMSWeatherColumns::dewPoint_p [private]

Definition at line 164 of file MSWeatherColumns.h.

Referenced by dewPoint().

ROScalarColumn<Bool> casa::ROMSWeatherColumns::dewPointFlag_p [private]

Definition at line 165 of file MSWeatherColumns.h.

Referenced by dewPointFlag().

ROScalarColumn<Float> casa::ROMSWeatherColumns::H2O_p [private]

Definition at line 166 of file MSWeatherColumns.h.

Referenced by H2O().

ROScalarColumn<Bool> casa::ROMSWeatherColumns::H2OFlag_p [private]

Definition at line 167 of file MSWeatherColumns.h.

Referenced by H2OFlag().

ROScalarColumn<Float> casa::ROMSWeatherColumns::ionosElectron_p [private]

Definition at line 168 of file MSWeatherColumns.h.

Referenced by ionosElectron().

ROScalarColumn<Bool> casa::ROMSWeatherColumns::ionosElectronFlag_p [private]

Definition at line 169 of file MSWeatherColumns.h.

Referenced by ionosElectronFlag().

ROScalarColumn<Float> casa::ROMSWeatherColumns::pressure_p [private]

Definition at line 170 of file MSWeatherColumns.h.

Referenced by pressure().

ROScalarColumn<Bool> casa::ROMSWeatherColumns::pressureFlag_p [private]

Definition at line 171 of file MSWeatherColumns.h.

Referenced by pressureFlag().

ROScalarColumn<Float> casa::ROMSWeatherColumns::relHumidity_p [private]

Definition at line 172 of file MSWeatherColumns.h.

Referenced by relHumidity().

ROScalarColumn<Bool> casa::ROMSWeatherColumns::relHumidityFlag_p [private]

Definition at line 173 of file MSWeatherColumns.h.

Referenced by relHumidityFlag().

ROScalarColumn<Float> casa::ROMSWeatherColumns::temperature_p [private]

Definition at line 174 of file MSWeatherColumns.h.

Referenced by temperature().

ROScalarColumn<Bool> casa::ROMSWeatherColumns::temperatureFlag_p [private]

Definition at line 175 of file MSWeatherColumns.h.

Referenced by temperatureFlag().

ROScalarColumn<Float> casa::ROMSWeatherColumns::windDirection_p [private]

Definition at line 176 of file MSWeatherColumns.h.

Referenced by windDirection().

ROScalarColumn<Bool> casa::ROMSWeatherColumns::windDirectionFlag_p [private]

Definition at line 177 of file MSWeatherColumns.h.

Referenced by windDirectionFlag().

ROScalarColumn<Float> casa::ROMSWeatherColumns::windSpeed_p [private]

Definition at line 178 of file MSWeatherColumns.h.

Referenced by windSpeed().

ROScalarColumn<Bool> casa::ROMSWeatherColumns::windSpeedFlag_p [private]

Definition at line 179 of file MSWeatherColumns.h.

Referenced by windSpeedFlag().

ROScalarMeasColumn<MEpoch> casa::ROMSWeatherColumns::timeMeas_p [private]

Definition at line 182 of file MSWeatherColumns.h.

Referenced by timeMeas().

ROScalarQuantColumn<Double> casa::ROMSWeatherColumns::intervalQuant_p [private]

Definition at line 185 of file MSWeatherColumns.h.

Referenced by intervalQuant().

ROScalarQuantColumn<Double> casa::ROMSWeatherColumns::timeQuant_p [private]

Definition at line 186 of file MSWeatherColumns.h.

Referenced by timeQuant().

ROScalarQuantColumn<Float> casa::ROMSWeatherColumns::dewPointQuant_p [private]

Definition at line 188 of file MSWeatherColumns.h.

Referenced by dewPointQuant().

ROScalarQuantColumn<Float> casa::ROMSWeatherColumns::H2OQuant_p [private]

Definition at line 189 of file MSWeatherColumns.h.

Referenced by H2OQuant().

ROScalarQuantColumn<Float> casa::ROMSWeatherColumns::ionosElectronQuant_p [private]

Definition at line 190 of file MSWeatherColumns.h.

Referenced by ionosElectronQuant().

ROScalarQuantColumn<Float> casa::ROMSWeatherColumns::pressureQuant_p [private]

Definition at line 191 of file MSWeatherColumns.h.

Referenced by pressureQuant().

ROScalarQuantColumn<Float> casa::ROMSWeatherColumns::temperatureQuant_p [private]

Definition at line 192 of file MSWeatherColumns.h.

Referenced by temperatureQuant().

ROScalarQuantColumn<Float> casa::ROMSWeatherColumns::windDirectionQuant_p [private]

Definition at line 193 of file MSWeatherColumns.h.

Referenced by windDirectionQuant().

ROScalarQuantColumn<Float> casa::ROMSWeatherColumns::windSpeedQuant_p [private]

Definition at line 194 of file MSWeatherColumns.h.

Referenced by windSpeedQuant().


The documentation for this class was generated from the following file:
Generated on Mon Sep 1 22:47:01 2008 for NRAOCASA by  doxygen 1.5.1