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

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

#include <MSDopplerColumns.h>

Inheritance diagram for casa::MSDopplerColumns:
casa::ROMSDopplerColumns

List of all members.

Public Member Functions

 MSDopplerColumns (MSDoppler &msDoppler)
 Create a columns object that accesses the data in the specified Table.
 ~MSDopplerColumns ()
 The destructor does nothing special.
ScalarColumn< Int > & dopplerId ()
 Read-write access to required columns.
ScalarColumn< Int > & sourceId ()
ScalarColumn< Int > & transitionId ()
ScalarColumn< Double > & velDef ()
ScalarQuantColumn< Double > & velDefQuant ()
ScalarMeasColumn< MDoppler > & velDefMeas ()
const ROScalarColumn< Int > & dopplerId () const
 Read-only access to required columns.
const ROScalarColumn< Int > & sourceId () const
const ROScalarColumn< Int > & transitionId () const
const ROScalarColumn< Double > & velDef () const
const ROScalarQuantColumn
< Double > & 
velDefQuant () const
const ROScalarMeasColumn
< MDoppler > & 
velDefMeas () const
void setVelDefRef (MDoppler::Types ref)
 set the DOPPLER type for the VELDEF column.

Protected Member Functions

 MSDopplerColumns ()
void attach (MSDoppler &msDoppler)

Private Member Functions

 MSDopplerColumns (const MSDopplerColumns &)
MSDopplerColumnsoperator= (const MSDopplerColumns &)

Private Attributes

ScalarColumn< IntdopplerId_p
ScalarColumn< IntsourceId_p
ScalarColumn< InttransitionId_p
ScalarColumn< DoublevelDef_p
ScalarMeasColumn< MDopplervelDefMeas_p
ScalarQuantColumn< DoublevelDefQuant_p

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

MSDopplerColumns stands for MeasurementSet Doppler Table columns.

Synopsis

This class provides access to the columns in the MSDoppler 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 164 of file MSDopplerColumns.h.


Constructor & Destructor Documentation

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

The destructor does nothing special.


Member Function Documentation

void casa::MSDopplerColumns::attach ( MSDoppler msDoppler) [protected]

Read-write access to required columns.

Definition at line 175 of file MSDopplerColumns.h.

References dopplerId_p.

Referenced by dopplerId().

Read-only access to required columns.

Reimplemented from casa::ROMSDopplerColumns.

Definition at line 185 of file MSDopplerColumns.h.

References dopplerId().

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

set the DOPPLER type for the VELDEF column.

Definition at line 176 of file MSDopplerColumns.h.

References sourceId_p.

Referenced by sourceId().

Reimplemented from casa::ROMSDopplerColumns.

Definition at line 187 of file MSDopplerColumns.h.

References sourceId().

Definition at line 177 of file MSDopplerColumns.h.

References transitionId_p.

Referenced by transitionId().

Reimplemented from casa::ROMSDopplerColumns.

Definition at line 189 of file MSDopplerColumns.h.

References transitionId().

Definition at line 178 of file MSDopplerColumns.h.

References velDef_p.

Referenced by velDef().

Reimplemented from casa::ROMSDopplerColumns.

Definition at line 191 of file MSDopplerColumns.h.

References velDef().

Definition at line 180 of file MSDopplerColumns.h.

References velDefMeas_p.

Referenced by velDefMeas().

Reimplemented from casa::ROMSDopplerColumns.

Definition at line 195 of file MSDopplerColumns.h.

References velDefMeas().

Definition at line 179 of file MSDopplerColumns.h.

References velDefQuant_p.

Referenced by velDefQuant().

Reimplemented from casa::ROMSDopplerColumns.

Definition at line 193 of file MSDopplerColumns.h.

References velDefQuant().


Member Data Documentation

Reimplemented from casa::ROMSDopplerColumns.

Definition at line 217 of file MSDopplerColumns.h.

Referenced by dopplerId().

Reimplemented from casa::ROMSDopplerColumns.

Definition at line 218 of file MSDopplerColumns.h.

Referenced by sourceId().

Reimplemented from casa::ROMSDopplerColumns.

Definition at line 219 of file MSDopplerColumns.h.

Referenced by transitionId().

Reimplemented from casa::ROMSDopplerColumns.

Definition at line 220 of file MSDopplerColumns.h.

Referenced by velDef().

Reimplemented from casa::ROMSDopplerColumns.

Definition at line 223 of file MSDopplerColumns.h.

Referenced by velDefMeas().

Reimplemented from casa::ROMSDopplerColumns.

Definition at line 226 of file MSDopplerColumns.h.

Referenced by velDefQuant().


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