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

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

#include <MSColumns.h>

Inheritance diagram for casa::ROMSColumns:
casa::ROMSMainColumns casa::MS2ASDM casa::MS2ASDM

List of all members.

Public Member Functions

 ROMSColumns (const MeasurementSet &ms)
 Create a columns object that accesses the data in the specified MS.
 ~ROMSColumns ()
 The destructor does nothing special.
const ROMSAntennaColumnsantenna () const
 Access to required subtables.
const ROMSDataDescColumnsdataDescription () const
const ROMSFeedColumnsfeed () const
const ROMSFieldColumnsfield () const
const ROMSFlagCmdColumnsflagCmd () const
const ROMSHistoryColumnshistory () const
const ROMSObservationColumnsobservation () const
const ROMSPointingColumnspointing () const
const ROMSPolarizationColumnspolarization () const
const ROMSProcessorColumnsprocessor () const
const ROMSSpWindowColumnsspectralWindow () const
const ROMSStateColumnsstate () const
const ROMSDopplerColumnsdoppler () const
 Access to optional subtables.
const ROMSFreqOffsetColumnsfreqOffset () const
const ROMSSourceColumnssource () const
const ROMSSysCalColumnssysCal () const
const ROMSWeatherColumnsweather () const

Private Attributes

ROMSAntennaColumns antenna_p
 
   

ROMSDataDescColumns dataDesc_p
ROMSDopplerColumns doppler_p
ROMSFeedColumns feed_p
ROMSFieldColumns field_p
ROMSFlagCmdColumns flagCmd_p
ROMSFreqOffsetColumns freqOffset_p
ROMSHistoryColumns history_p
ROMSObservationColumns observation_p
ROMSPointingColumns pointing_p
ROMSPolarizationColumns polarization_p
ROMSProcessorColumns processor_p
ROMSSourceColumns source_p
ROMSSpWindowColumns spectralWindow_p
ROMSStateColumns state_p
ROMSSysCalColumns sysCal_p
ROMSWeatherColumns weather_p

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

ROMSColumns stands for Read-Only MeasurementSet Table columns.

Synopsis

This class provides read-only access to the columns in the MeasurementSet. 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.

Example

    // use as follows
    MeasurementSet ms("myMS"); 
    ROMSColumns msc(ms);
    // show data from row 5
    cout << msc.data()(5);
    // show name of antenna on row 3 in antenna table
    cout << msc.antenna().name();

Motivation

See MSColumns for the motivation.

To Do

Definition at line 106 of file MSColumns.h.


Constructor & Destructor Documentation

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

The destructor does nothing special.


Member Function Documentation

Access to required subtables.

Definition at line 117 of file MSColumns.h.

References antenna_p.

Definition at line 118 of file MSColumns.h.

References dataDesc_p.

Access to optional subtables.

Definition at line 135 of file MSColumns.h.

References doppler_p.

const ROMSFeedColumns& casa::ROMSColumns::feed ( ) const [inline]

Definition at line 119 of file MSColumns.h.

References feed_p.

const ROMSFieldColumns& casa::ROMSColumns::field ( ) const [inline]

Definition at line 120 of file MSColumns.h.

References field_p.

Definition at line 121 of file MSColumns.h.

References flagCmd_p.

Definition at line 136 of file MSColumns.h.

References freqOffset_p.

Definition at line 122 of file MSColumns.h.

References history_p.

Definition at line 123 of file MSColumns.h.

References observation_p.

Definition at line 124 of file MSColumns.h.

References pointing_p.

Definition at line 125 of file MSColumns.h.

References polarization_p.

Definition at line 127 of file MSColumns.h.

References processor_p.

const ROMSSourceColumns& casa::ROMSColumns::source ( ) const [inline]

Definition at line 137 of file MSColumns.h.

References source_p.

Definition at line 128 of file MSColumns.h.

References spectralWindow_p.

const ROMSStateColumns& casa::ROMSColumns::state ( ) const [inline]

Definition at line 130 of file MSColumns.h.

References state_p.

const ROMSSysCalColumns& casa::ROMSColumns::sysCal ( ) const [inline]

Definition at line 138 of file MSColumns.h.

References sysCal_p.

Definition at line 139 of file MSColumns.h.

References weather_p.


Member Data Documentation

   

Access to subtables

Definition at line 144 of file MSColumns.h.

Referenced by antenna().

Definition at line 145 of file MSColumns.h.

Referenced by dataDescription().

Definition at line 146 of file MSColumns.h.

Referenced by doppler().

Definition at line 147 of file MSColumns.h.

Referenced by feed().

Definition at line 148 of file MSColumns.h.

Referenced by field().

Definition at line 149 of file MSColumns.h.

Referenced by flagCmd().

Definition at line 150 of file MSColumns.h.

Referenced by freqOffset().

Definition at line 151 of file MSColumns.h.

Referenced by history().

Definition at line 152 of file MSColumns.h.

Referenced by observation().

Definition at line 153 of file MSColumns.h.

Referenced by pointing().

Definition at line 154 of file MSColumns.h.

Referenced by polarization().

Definition at line 155 of file MSColumns.h.

Referenced by processor().

Definition at line 156 of file MSColumns.h.

Referenced by source().

Definition at line 157 of file MSColumns.h.

Referenced by spectralWindow().

Definition at line 158 of file MSColumns.h.

Referenced by state().

Definition at line 159 of file MSColumns.h.

Referenced by sysCal().

Definition at line 160 of file MSColumns.h.

Referenced by weather().


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