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::MSWeatherColumns Class Reference

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

#include <MSWeatherColumns.h>

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

List of all members.

Public Member Functions

 MSWeatherColumns (MSWeather &msWeather)
 Create a columns object that accesses the data in the specified Table.
 ~MSWeatherColumns ()
 The destructor does nothing special.
ScalarColumn< Int > & antennaId ()
 Read-write access to required columns.
ScalarColumn< Double > & interval ()
ScalarQuantColumn< Double > & intervalQuant ()
ScalarColumn< Double > & time ()
ScalarQuantColumn< Double > & timeQuant ()
ScalarMeasColumn< MEpoch > & timeMeas ()
ScalarColumn< Float > & dewPoint ()
 Read-write access to optional columns.
ScalarQuantColumn< Float > & dewPointQuant ()
ScalarColumn< Bool > & dewPointFlag ()
ScalarColumn< Float > & H2O ()
ScalarQuantColumn< Float > & H2OQuant ()
ScalarColumn< Bool > & H2OFlag ()
ScalarColumn< Float > & ionosElectron ()
ScalarQuantColumn< Float > & ionosElectronQuant ()
ScalarColumn< Bool > & ionosElectronFlag ()
ScalarColumn< Float > & pressure ()
ScalarQuantColumn< Float > & pressureQuant ()
ScalarColumn< Bool > & pressureFlag ()
ScalarColumn< Float > & relHumidity ()
ScalarColumn< Bool > & relHumidityFlag ()
ScalarColumn< Float > & temperature ()
ScalarQuantColumn< Float > & temperatureQuant ()
ScalarColumn< Bool > & temperatureFlag ()
ScalarColumn< Float > & windDirection ()
ScalarQuantColumn< Float > & windDirectionQuant ()
ScalarColumn< Bool > & windDirectionFlag ()
ScalarColumn< Float > & windSpeed ()
ScalarQuantColumn< Float > & windSpeedQuant ()
ScalarColumn< Bool > & windSpeedFlag ()
const ROScalarColumn< Int > & antennaId () const
 Read-only access to required 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
 Read-only 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
void setEpochRef (MEpoch::Types ref, Bool tableMustBeEmpty=True)
 set the epoch type for the TIME column.

Protected Member Functions

 MSWeatherColumns ()
void attach (MSWeather &msWeather)

Private Member Functions

 MSWeatherColumns (const MSWeatherColumns &)
MSWeatherColumnsoperator= (const MSWeatherColumns &)
void attachOptionalCols (MSWeather &msWeather)

Private Attributes

ScalarColumn< IntantennaId_p
ScalarColumn< Doubleinterval_p
ScalarColumn< Doubletime_p
ScalarColumn< FloatdewPoint_p
ScalarColumn< BooldewPointFlag_p
ScalarColumn< FloatH2O_p
ScalarColumn< BoolH2OFlag_p
ScalarColumn< FloationosElectron_p
ScalarColumn< BoolionosElectronFlag_p
ScalarColumn< Floatpressure_p
ScalarColumn< BoolpressureFlag_p
ScalarColumn< FloatrelHumidity_p
ScalarColumn< BoolrelHumidityFlag_p
ScalarColumn< Floattemperature_p
ScalarColumn< BooltemperatureFlag_p
ScalarColumn< FloatwindDirection_p
ScalarColumn< BoolwindDirectionFlag_p
ScalarColumn< FloatwindSpeed_p
ScalarColumn< BoolwindSpeedFlag_p
ScalarMeasColumn< MEpochtimeMeas_p
ScalarQuantColumn< DoubleintervalQuant_p
ScalarQuantColumn< DoubletimeQuant_p
ScalarQuantColumn< FloatdewPointQuant_p
ScalarQuantColumn< FloatH2OQuant_p
ScalarQuantColumn< FloationosElectronQuant_p
ScalarQuantColumn< FloatpressureQuant_p
ScalarQuantColumn< FloattemperatureQuant_p
ScalarQuantColumn< FloatwindDirectionQuant_p
ScalarQuantColumn< FloatwindSpeedQuant_p

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

MSWeatherColumns stands for MeasurementSet Weather Table columns.

Synopsis

This class provides 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 MSColumns for an example.

Motivation

See MSColumns for the motivation.

Definition at line 231 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

Read-write access to required columns.

Definition at line 242 of file MSWeatherColumns.h.

References antennaId_p.

Referenced by antennaId().

Read-only access to required columns.

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 279 of file MSWeatherColumns.h.

References antennaId().

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

Read-write access to optional columns.

Definition at line 252 of file MSWeatherColumns.h.

References dewPoint_p.

Referenced by dewPoint().

Read-only access to optional columns.

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 295 of file MSWeatherColumns.h.

References dewPoint().

Definition at line 254 of file MSWeatherColumns.h.

References dewPointFlag_p.

Referenced by dewPointFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 299 of file MSWeatherColumns.h.

References dewPointFlag().

Definition at line 253 of file MSWeatherColumns.h.

References dewPointQuant_p.

Referenced by dewPointQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 297 of file MSWeatherColumns.h.

References dewPointQuant().

Definition at line 255 of file MSWeatherColumns.h.

References H2O_p.

Referenced by H2O().

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

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 301 of file MSWeatherColumns.h.

References H2O().

Definition at line 257 of file MSWeatherColumns.h.

References H2OFlag_p.

Referenced by H2OFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 303 of file MSWeatherColumns.h.

References H2OFlag().

Definition at line 256 of file MSWeatherColumns.h.

References H2OQuant_p.

Referenced by H2OQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 305 of file MSWeatherColumns.h.

References H2OQuant().

Definition at line 243 of file MSWeatherColumns.h.

References interval_p.

Referenced by interval().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 281 of file MSWeatherColumns.h.

References interval().

Definition at line 244 of file MSWeatherColumns.h.

References intervalQuant_p.

Referenced by intervalQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 283 of file MSWeatherColumns.h.

References intervalQuant().

Definition at line 258 of file MSWeatherColumns.h.

References ionosElectron_p.

Referenced by ionosElectron().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 307 of file MSWeatherColumns.h.

References ionosElectron().

Definition at line 260 of file MSWeatherColumns.h.

References ionosElectronFlag_p.

Referenced by ionosElectronFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 311 of file MSWeatherColumns.h.

References ionosElectronFlag().

Definition at line 259 of file MSWeatherColumns.h.

References ionosElectronQuant_p.

Referenced by ionosElectronQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 309 of file MSWeatherColumns.h.

References ionosElectronQuant().

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

Definition at line 261 of file MSWeatherColumns.h.

References pressure_p.

Referenced by pressure().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 313 of file MSWeatherColumns.h.

References pressure().

Definition at line 263 of file MSWeatherColumns.h.

References pressureFlag_p.

Referenced by pressureFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 317 of file MSWeatherColumns.h.

References pressureFlag().

Definition at line 262 of file MSWeatherColumns.h.

References pressureQuant_p.

Referenced by pressureQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 315 of file MSWeatherColumns.h.

References pressureQuant().

Definition at line 264 of file MSWeatherColumns.h.

References relHumidity_p.

Referenced by relHumidity().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 319 of file MSWeatherColumns.h.

References relHumidity().

Definition at line 265 of file MSWeatherColumns.h.

References relHumidityFlag_p.

Referenced by relHumidityFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 321 of file MSWeatherColumns.h.

References relHumidityFlag().

void casa::MSWeatherColumns::setEpochRef ( MEpoch::Types  ref,
Bool  tableMustBeEmpty = True 
)

set the epoch type for the TIME column.


Tip: In principle this function can only be used if the table is empty, otherwise already written values may thereafter have an incorrect reference, offset, or unit; However, it is possible that part of the table gets written before these values are known; In that case the reference, offset, or units can be set by using a False tableMustBeEmpty argument;

Definition at line 266 of file MSWeatherColumns.h.

References temperature_p.

Referenced by temperature().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 323 of file MSWeatherColumns.h.

References temperature().

Definition at line 268 of file MSWeatherColumns.h.

References temperatureFlag_p.

Referenced by temperatureFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 327 of file MSWeatherColumns.h.

References temperatureFlag().

Definition at line 267 of file MSWeatherColumns.h.

References temperatureQuant_p.

Referenced by temperatureQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 325 of file MSWeatherColumns.h.

References temperatureQuant().

Definition at line 245 of file MSWeatherColumns.h.

References time_p.

Referenced by time().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 285 of file MSWeatherColumns.h.

References time().

Definition at line 247 of file MSWeatherColumns.h.

References timeMeas_p.

Referenced by timeMeas().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 289 of file MSWeatherColumns.h.

References timeMeas().

Definition at line 246 of file MSWeatherColumns.h.

References timeQuant_p.

Referenced by timeQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 287 of file MSWeatherColumns.h.

References timeQuant().

Definition at line 269 of file MSWeatherColumns.h.

References windDirection_p.

Referenced by windDirection().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 329 of file MSWeatherColumns.h.

References windDirection().

Definition at line 271 of file MSWeatherColumns.h.

References windDirectionFlag_p.

Referenced by windDirectionFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 333 of file MSWeatherColumns.h.

References windDirectionFlag().

Definition at line 270 of file MSWeatherColumns.h.

References windDirectionQuant_p.

Referenced by windDirectionQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 331 of file MSWeatherColumns.h.

References windDirectionQuant().

Definition at line 272 of file MSWeatherColumns.h.

References windSpeed_p.

Referenced by windSpeed().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 335 of file MSWeatherColumns.h.

References windSpeed().

Definition at line 274 of file MSWeatherColumns.h.

References windSpeedFlag_p.

Referenced by windSpeedFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 339 of file MSWeatherColumns.h.

References windSpeedFlag().

Definition at line 273 of file MSWeatherColumns.h.

References windSpeedQuant_p.

Referenced by windSpeedQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 337 of file MSWeatherColumns.h.

References windSpeedQuant().


Member Data Documentation

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 372 of file MSWeatherColumns.h.

Referenced by antennaId().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 376 of file MSWeatherColumns.h.

Referenced by dewPoint().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 377 of file MSWeatherColumns.h.

Referenced by dewPointFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 400 of file MSWeatherColumns.h.

Referenced by dewPointQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 378 of file MSWeatherColumns.h.

Referenced by H2O().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 379 of file MSWeatherColumns.h.

Referenced by H2OFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 401 of file MSWeatherColumns.h.

Referenced by H2OQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 373 of file MSWeatherColumns.h.

Referenced by interval().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 397 of file MSWeatherColumns.h.

Referenced by intervalQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 380 of file MSWeatherColumns.h.

Referenced by ionosElectron().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 381 of file MSWeatherColumns.h.

Referenced by ionosElectronFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 402 of file MSWeatherColumns.h.

Referenced by ionosElectronQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 382 of file MSWeatherColumns.h.

Referenced by pressure().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 383 of file MSWeatherColumns.h.

Referenced by pressureFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 403 of file MSWeatherColumns.h.

Referenced by pressureQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 384 of file MSWeatherColumns.h.

Referenced by relHumidity().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 385 of file MSWeatherColumns.h.

Referenced by relHumidityFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 386 of file MSWeatherColumns.h.

Referenced by temperature().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 387 of file MSWeatherColumns.h.

Referenced by temperatureFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 404 of file MSWeatherColumns.h.

Referenced by temperatureQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 374 of file MSWeatherColumns.h.

Referenced by time().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 394 of file MSWeatherColumns.h.

Referenced by timeMeas().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 398 of file MSWeatherColumns.h.

Referenced by timeQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 388 of file MSWeatherColumns.h.

Referenced by windDirection().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 389 of file MSWeatherColumns.h.

Referenced by windDirectionFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 405 of file MSWeatherColumns.h.

Referenced by windDirectionQuant().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 390 of file MSWeatherColumns.h.

Referenced by windSpeed().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 391 of file MSWeatherColumns.h.

Referenced by windSpeedFlag().

Reimplemented from casa::ROMSWeatherColumns.

Definition at line 406 of file MSWeatherColumns.h.

Referenced by windSpeedQuant().


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