casacore::ROMSColumns Class Reference

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

#include <MSColumns.h>

Inheritance diagram for casacore::ROMSColumns:
casacore::ROMSMainColumns

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
 Access to subtables.
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 111 of file MSColumns.h.


Constructor & Destructor Documentation

casacore::ROMSColumns::ROMSColumns ( const MeasurementSet ms  ) 

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

casacore::ROMSColumns::~ROMSColumns (  ) 

The destructor does nothing special.


Member Function Documentation

const ROMSAntennaColumns& casacore::ROMSColumns::antenna (  )  const [inline]

Access to required subtables.

Definition at line 122 of file MSColumns.h.

References antenna_p.

const ROMSDataDescColumns& casacore::ROMSColumns::dataDescription (  )  const [inline]

Definition at line 123 of file MSColumns.h.

References dataDesc_p.

const ROMSDopplerColumns& casacore::ROMSColumns::doppler (  )  const [inline]

Access to optional subtables.

Definition at line 140 of file MSColumns.h.

References doppler_p.

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

Definition at line 124 of file MSColumns.h.

References feed_p.

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

Definition at line 125 of file MSColumns.h.

References field_p.

const ROMSFlagCmdColumns& casacore::ROMSColumns::flagCmd (  )  const [inline]

Definition at line 126 of file MSColumns.h.

References flagCmd_p.

const ROMSFreqOffsetColumns& casacore::ROMSColumns::freqOffset (  )  const [inline]

Definition at line 141 of file MSColumns.h.

References freqOffset_p.

const ROMSHistoryColumns& casacore::ROMSColumns::history (  )  const [inline]

Definition at line 127 of file MSColumns.h.

References history_p.

const ROMSObservationColumns& casacore::ROMSColumns::observation (  )  const [inline]

Definition at line 128 of file MSColumns.h.

References observation_p.

const ROMSPointingColumns& casacore::ROMSColumns::pointing (  )  const [inline]

Definition at line 129 of file MSColumns.h.

References pointing_p.

const ROMSPolarizationColumns& casacore::ROMSColumns::polarization (  )  const [inline]

Definition at line 130 of file MSColumns.h.

References polarization_p.

const ROMSProcessorColumns& casacore::ROMSColumns::processor (  )  const [inline]

Definition at line 132 of file MSColumns.h.

References processor_p.

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

Definition at line 142 of file MSColumns.h.

References source_p.

const ROMSSpWindowColumns& casacore::ROMSColumns::spectralWindow (  )  const [inline]

Definition at line 133 of file MSColumns.h.

References spectralWindow_p.

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

Definition at line 135 of file MSColumns.h.

References state_p.

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

Definition at line 143 of file MSColumns.h.

References sysCal_p.

const ROMSWeatherColumns& casacore::ROMSColumns::weather (  )  const [inline]

Definition at line 144 of file MSColumns.h.

References weather_p.


Member Data Documentation

Access to subtables.

Definition at line 149 of file MSColumns.h.

Referenced by antenna().

Definition at line 150 of file MSColumns.h.

Referenced by dataDescription().

Definition at line 151 of file MSColumns.h.

Referenced by doppler().

Definition at line 152 of file MSColumns.h.

Referenced by feed().

Definition at line 153 of file MSColumns.h.

Referenced by field().

Definition at line 154 of file MSColumns.h.

Referenced by flagCmd().

Definition at line 155 of file MSColumns.h.

Referenced by freqOffset().

Definition at line 156 of file MSColumns.h.

Referenced by history().

Definition at line 157 of file MSColumns.h.

Referenced by observation().

Definition at line 158 of file MSColumns.h.

Referenced by pointing().

Definition at line 159 of file MSColumns.h.

Referenced by polarization().

Definition at line 160 of file MSColumns.h.

Referenced by processor().

Definition at line 161 of file MSColumns.h.

Referenced by source().

Definition at line 162 of file MSColumns.h.

Referenced by spectralWindow().

Definition at line 163 of file MSColumns.h.

Referenced by state().

Definition at line 164 of file MSColumns.h.

Referenced by sysCal().

Definition at line 165 of file MSColumns.h.

Referenced by weather().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1