casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
casa::ROMSWeatherColumns Class Reference

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

#include <MSWeatherColumns.h>

Inheritance diagram for casa::ROMSWeatherColumns:
casa::MSWeatherColumns

List of all members.

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)
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
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns.

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

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

The destructor does nothing special.


Member Function Documentation

Access to columns.

Reimplemented in casa::MSWeatherColumns.

Definition at line 90 of file MSWeatherColumns.h.

References antennaId_p.

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

Access to optional columns.

Reimplemented in casa::MSWeatherColumns.

Definition at line 101 of file MSWeatherColumns.h.

References dewPoint_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 104 of file MSWeatherColumns.h.

References dewPointFlag_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 102 of file MSWeatherColumns.h.

References dewPointQuant_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 105 of file MSWeatherColumns.h.

References H2O_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 106 of file MSWeatherColumns.h.

References H2OFlag_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 107 of file MSWeatherColumns.h.

References H2OQuant_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 91 of file MSWeatherColumns.h.

References interval_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 92 of file MSWeatherColumns.h.

References intervalQuant_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 108 of file MSWeatherColumns.h.

References ionosElectron_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 111 of file MSWeatherColumns.h.

References ionosElectronFlag_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 109 of file MSWeatherColumns.h.

References ionosElectronQuant_p.

Is this object defined? (MSWeather table is optional)

Definition at line 86 of file MSWeatherColumns.h.

References isNull_p.

Referenced by nrow().

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().

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

Reimplemented in casa::MSWeatherColumns.

Definition at line 113 of file MSWeatherColumns.h.

References pressure_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 116 of file MSWeatherColumns.h.

References pressureFlag_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 114 of file MSWeatherColumns.h.

References pressureQuant_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 117 of file MSWeatherColumns.h.

References relHumidity_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 118 of file MSWeatherColumns.h.

References relHumidityFlag_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 120 of file MSWeatherColumns.h.

References temperature_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 123 of file MSWeatherColumns.h.

References temperatureFlag_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 121 of file MSWeatherColumns.h.

References temperatureQuant_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 94 of file MSWeatherColumns.h.

References time_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 96 of file MSWeatherColumns.h.

References timeMeas_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 95 of file MSWeatherColumns.h.

References timeQuant_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 125 of file MSWeatherColumns.h.

References windDirection_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 128 of file MSWeatherColumns.h.

References windDirectionFlag_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 126 of file MSWeatherColumns.h.

References windDirectionQuant_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 130 of file MSWeatherColumns.h.

References windSpeed_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 133 of file MSWeatherColumns.h.

References windSpeedFlag_p.

Reimplemented in casa::MSWeatherColumns.

Definition at line 131 of file MSWeatherColumns.h.

References windSpeedQuant_p.


Member Data Documentation

Reimplemented in casa::MSWeatherColumns.

Definition at line 161 of file MSWeatherColumns.h.

Referenced by antennaId(), and nrow().

Reimplemented in casa::MSWeatherColumns.

Definition at line 165 of file MSWeatherColumns.h.

Referenced by dewPoint().

Reimplemented in casa::MSWeatherColumns.

Definition at line 166 of file MSWeatherColumns.h.

Referenced by dewPointFlag().

Reimplemented in casa::MSWeatherColumns.

Definition at line 189 of file MSWeatherColumns.h.

Referenced by dewPointQuant().

Reimplemented in casa::MSWeatherColumns.

Definition at line 167 of file MSWeatherColumns.h.

Referenced by H2O().

Reimplemented in casa::MSWeatherColumns.

Definition at line 168 of file MSWeatherColumns.h.

Referenced by H2OFlag().

Reimplemented in casa::MSWeatherColumns.

Definition at line 190 of file MSWeatherColumns.h.

Referenced by H2OQuant().

Reimplemented in casa::MSWeatherColumns.

Definition at line 162 of file MSWeatherColumns.h.

Referenced by interval().

Reimplemented in casa::MSWeatherColumns.

Definition at line 186 of file MSWeatherColumns.h.

Referenced by intervalQuant().

Reimplemented in casa::MSWeatherColumns.

Definition at line 169 of file MSWeatherColumns.h.

Referenced by ionosElectron().

Reimplemented in casa::MSWeatherColumns.

Definition at line 170 of file MSWeatherColumns.h.

Referenced by ionosElectronFlag().

Reimplemented in casa::MSWeatherColumns.

Definition at line 191 of file MSWeatherColumns.h.

Referenced by ionosElectronQuant().

Definition at line 158 of file MSWeatherColumns.h.

Referenced by isNull().

Reimplemented in casa::MSWeatherColumns.

Definition at line 171 of file MSWeatherColumns.h.

Referenced by pressure().

Reimplemented in casa::MSWeatherColumns.

Definition at line 172 of file MSWeatherColumns.h.

Referenced by pressureFlag().

Reimplemented in casa::MSWeatherColumns.

Definition at line 192 of file MSWeatherColumns.h.

Referenced by pressureQuant().

Reimplemented in casa::MSWeatherColumns.

Definition at line 173 of file MSWeatherColumns.h.

Referenced by relHumidity().

Reimplemented in casa::MSWeatherColumns.

Definition at line 174 of file MSWeatherColumns.h.

Referenced by relHumidityFlag().

Reimplemented in casa::MSWeatherColumns.

Definition at line 175 of file MSWeatherColumns.h.

Referenced by temperature().

Reimplemented in casa::MSWeatherColumns.

Definition at line 176 of file MSWeatherColumns.h.

Referenced by temperatureFlag().

Reimplemented in casa::MSWeatherColumns.

Definition at line 193 of file MSWeatherColumns.h.

Referenced by temperatureQuant().

Reimplemented in casa::MSWeatherColumns.

Definition at line 163 of file MSWeatherColumns.h.

Referenced by time().

Reimplemented in casa::MSWeatherColumns.

Definition at line 183 of file MSWeatherColumns.h.

Referenced by timeMeas().

Reimplemented in casa::MSWeatherColumns.

Definition at line 187 of file MSWeatherColumns.h.

Referenced by timeQuant().

Reimplemented in casa::MSWeatherColumns.

Definition at line 177 of file MSWeatherColumns.h.

Referenced by windDirection().

Reimplemented in casa::MSWeatherColumns.

Definition at line 178 of file MSWeatherColumns.h.

Referenced by windDirectionFlag().

Reimplemented in casa::MSWeatherColumns.

Definition at line 194 of file MSWeatherColumns.h.

Referenced by windDirectionQuant().

Reimplemented in casa::MSWeatherColumns.

Definition at line 179 of file MSWeatherColumns.h.

Referenced by windSpeed().

Reimplemented in casa::MSWeatherColumns.

Definition at line 180 of file MSWeatherColumns.h.

Referenced by windSpeedFlag().

Reimplemented in casa::MSWeatherColumns.

Definition at line 195 of file MSWeatherColumns.h.

Referenced by windSpeedQuant().


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