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

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

#include <MSDopplerColumns.h>

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

List of all members.

Public Member Functions

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

Protected Member Functions

 ROMSDopplerColumns ()
void attach (const MSDoppler &msDoppler)

Private Member Functions

 ROMSDopplerColumns (const ROMSDopplerColumns &)
ROMSDopplerColumnsoperator= (const ROMSDopplerColumns &)

Private Attributes

Bool isNull_p
ROScalarColumn< IntdopplerId_p
ROScalarColumn< IntsourceId_p
ROScalarColumn< InttransitionId_p
ROScalarColumn< DoublevelDef_p
ROScalarMeasColumn< MDopplervelDefMeas_p
ROScalarQuantColumn< DoublevelDefQuant_p

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

ROMSDopplerColumns stands for Read-Only MeasurementSet Doppler Table columns.

Synopsis

This class provides read-only 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 ROMSColumns for an example.

Motivation

See MSColumns for the motivation.

Definition at line 75 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::ROMSDopplerColumns::attach ( const MSDoppler msDoppler) [protected]

Access to columns.

Reimplemented in casa::MSDopplerColumns.

Definition at line 89 of file MSDopplerColumns.h.

References dopplerId_p.

Is this object defined? (MSDoppler table is optional)

Definition at line 85 of file MSDopplerColumns.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 99 of file MSDopplerColumns.h.

References dopplerId_p, and isNull().

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

Reimplemented in casa::MSDopplerColumns.

Definition at line 90 of file MSDopplerColumns.h.

References sourceId_p.

Reimplemented in casa::MSDopplerColumns.

Definition at line 91 of file MSDopplerColumns.h.

References transitionId_p.

Reimplemented in casa::MSDopplerColumns.

Definition at line 92 of file MSDopplerColumns.h.

References velDef_p.

Reimplemented in casa::MSDopplerColumns.

Definition at line 94 of file MSDopplerColumns.h.

References velDefMeas_p.

Reimplemented in casa::MSDopplerColumns.

Definition at line 93 of file MSDopplerColumns.h.

References velDefQuant_p.


Member Data Documentation

Reimplemented in casa::MSDopplerColumns.

Definition at line 119 of file MSDopplerColumns.h.

Referenced by dopplerId(), and nrow().

Definition at line 116 of file MSDopplerColumns.h.

Referenced by isNull().

Reimplemented in casa::MSDopplerColumns.

Definition at line 120 of file MSDopplerColumns.h.

Referenced by sourceId().

Reimplemented in casa::MSDopplerColumns.

Definition at line 121 of file MSDopplerColumns.h.

Referenced by transitionId().

Reimplemented in casa::MSDopplerColumns.

Definition at line 122 of file MSDopplerColumns.h.

Referenced by velDef().

Reimplemented in casa::MSDopplerColumns.

Definition at line 125 of file MSDopplerColumns.h.

Referenced by velDefMeas().

Reimplemented in casa::MSDopplerColumns.

Definition at line 128 of file MSDopplerColumns.h.

Referenced by velDefQuant().


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