casa::ROMSObservationColumns Class Reference
[MeasurementSets]

#include <MSObsColumns.h>

Inheritance diagram for casa::ROMSObservationColumns:

Inheritance graph
[legend]
List of all members.

Detailed Description

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

Intended use:

Part of API

Review Status

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

Prerequisite

Etymology

ROMSObservationColumns stands for Read-Only MeasurementSet Observation Table columns.

Synopsis

This class provides read-only access to the columns in the MSObservation 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 79 of file MSObsColumns.h.

Public Member Functions

 ROMSObservationColumns (const MSObservation &msObservation)
 Create a columns object that accesses the data in the specified Table.
 ~ROMSObservationColumns ()
 The destructor does nothing special.
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns.
const ROScalarColumn< Bool > & flagRow () const
 Access to required columns.
const ROArrayColumn< String > & log () const
const ROScalarColumn< String > & observer () const
const ROScalarColumn< String > & project () const
const ROScalarColumn< Double > & releaseDate () const
const ROScalarQuantColumn<
Double > & 
releaseDateQuant () const
const ROScalarMeasColumn<
MEpoch > & 
releaseDateMeas () const
const ROArrayColumn< String > & schedule () const
const ROScalarColumn< String > & scheduleType () const
const ROScalarColumn< String > & telescopeName () const
const ROArrayColumn< Double > & timeRange () const
const ROArrayQuantColumn<
Double > & 
timeRangeQuant () const
const ROArrayMeasColumn< MEpoch > & timeRangeMeas () const

Protected Member Functions

 ROMSObservationColumns ()
void attach (const MSObservation &msObservation)

Private Member Functions

 ROMSObservationColumns (const ROMSObservationColumns &)
ROMSObservationColumnsoperator= (const ROMSObservationColumns &)

Private Attributes

ROScalarColumn< BoolflagRow_p
ROArrayColumn< Stringlog_p
ROScalarColumn< Stringobserver_p
ROScalarColumn< Stringproject_p
ROScalarColumn< DoublereleaseDate_p
ROArrayColumn< Stringschedule_p
ROScalarColumn< StringscheduleType_p
ROScalarColumn< StringtelescopeName_p
ROArrayColumn< DoubletimeRange_p
ROScalarMeasColumn< MEpochreleaseDateMeas_p
ROArrayMeasColumn< MEpochtimeRangeMeas_p
ROScalarQuantColumn< DoublereleaseDateQuant_p
ROArrayQuantColumn< DoubletimeRangeQuant_p


Constructor & Destructor Documentation

casa::ROMSObservationColumns::ROMSObservationColumns ( const MSObservation msObservation  ) 

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

casa::ROMSObservationColumns::~ROMSObservationColumns (  ) 

The destructor does nothing special.

casa::ROMSObservationColumns::ROMSObservationColumns (  )  [protected]

casa::ROMSObservationColumns::ROMSObservationColumns ( const ROMSObservationColumns  )  [private]


Member Function Documentation

const ROScalarColumn<Bool>& casa::ROMSObservationColumns::flagRow (  )  const [inline]

Access to required columns.

Definition at line 90 of file MSObsColumns.h.

References flagRow_p.

Referenced by casa::MSObservationColumns::flagRow().

const ROArrayColumn<String>& casa::ROMSObservationColumns::log (  )  const [inline]

Definition at line 91 of file MSObsColumns.h.

References log_p.

const ROScalarColumn<String>& casa::ROMSObservationColumns::observer (  )  const [inline]

Definition at line 92 of file MSObsColumns.h.

References observer_p.

Referenced by casa::MSObservationColumns::observer().

const ROScalarColumn<String>& casa::ROMSObservationColumns::project (  )  const [inline]

Definition at line 93 of file MSObsColumns.h.

References project_p.

Referenced by casa::MSObservationColumns::project().

const ROScalarColumn<Double>& casa::ROMSObservationColumns::releaseDate (  )  const [inline]

Definition at line 94 of file MSObsColumns.h.

References releaseDate_p.

Referenced by casa::MSObservationColumns::releaseDate().

const ROScalarQuantColumn<Double>& casa::ROMSObservationColumns::releaseDateQuant (  )  const [inline]

Definition at line 95 of file MSObsColumns.h.

References releaseDateQuant_p.

Referenced by casa::MSObservationColumns::releaseDateQuant().

const ROScalarMeasColumn<MEpoch>& casa::ROMSObservationColumns::releaseDateMeas (  )  const [inline]

Definition at line 97 of file MSObsColumns.h.

References releaseDateMeas_p.

Referenced by casa::MSObservationColumns::releaseDateMeas().

const ROArrayColumn<String>& casa::ROMSObservationColumns::schedule (  )  const [inline]

Definition at line 99 of file MSObsColumns.h.

References schedule_p.

Referenced by casa::MSObservationColumns::schedule().

const ROScalarColumn<String>& casa::ROMSObservationColumns::scheduleType (  )  const [inline]

Definition at line 100 of file MSObsColumns.h.

References scheduleType_p.

Referenced by casa::MSObservationColumns::scheduleType().

const ROScalarColumn<String>& casa::ROMSObservationColumns::telescopeName (  )  const [inline]

Definition at line 101 of file MSObsColumns.h.

References telescopeName_p.

Referenced by casa::MSObservationColumns::telescopeName().

const ROArrayColumn<Double>& casa::ROMSObservationColumns::timeRange (  )  const [inline]

Definition at line 102 of file MSObsColumns.h.

References timeRange_p.

Referenced by casa::MSObservationColumns::timeRange().

const ROArrayQuantColumn<Double>& casa::ROMSObservationColumns::timeRangeQuant (  )  const [inline]

Definition at line 103 of file MSObsColumns.h.

References timeRangeQuant_p.

Referenced by casa::MSObservationColumns::timeRangeQuant().

const ROArrayMeasColumn<MEpoch>& casa::ROMSObservationColumns::timeRangeMeas (  )  const [inline]

Definition at line 105 of file MSObsColumns.h.

References timeRangeMeas_p.

Referenced by casa::MSObservationColumns::timeRangeMeas().

uInt casa::ROMSObservationColumns::nrow (  )  const [inline]

Convenience function that returns the number of rows in any of the columns.

Definition at line 110 of file MSObsColumns.h.

References flagRow_p.

void casa::ROMSObservationColumns::attach ( const MSObservation msObservation  )  [protected]

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


Member Data Documentation

ROScalarColumn<Bool> casa::ROMSObservationColumns::flagRow_p [private]

Definition at line 127 of file MSObsColumns.h.

Referenced by flagRow(), and nrow().

ROArrayColumn<String> casa::ROMSObservationColumns::log_p [private]

Definition at line 128 of file MSObsColumns.h.

Referenced by log().

ROScalarColumn<String> casa::ROMSObservationColumns::observer_p [private]

Definition at line 129 of file MSObsColumns.h.

Referenced by observer().

ROScalarColumn<String> casa::ROMSObservationColumns::project_p [private]

Definition at line 130 of file MSObsColumns.h.

Referenced by project().

ROScalarColumn<Double> casa::ROMSObservationColumns::releaseDate_p [private]

Definition at line 131 of file MSObsColumns.h.

Referenced by releaseDate().

ROArrayColumn<String> casa::ROMSObservationColumns::schedule_p [private]

Definition at line 132 of file MSObsColumns.h.

Referenced by schedule().

ROScalarColumn<String> casa::ROMSObservationColumns::scheduleType_p [private]

Definition at line 133 of file MSObsColumns.h.

Referenced by scheduleType().

ROScalarColumn<String> casa::ROMSObservationColumns::telescopeName_p [private]

Definition at line 134 of file MSObsColumns.h.

Referenced by telescopeName().

ROArrayColumn<Double> casa::ROMSObservationColumns::timeRange_p [private]

Definition at line 135 of file MSObsColumns.h.

Referenced by timeRange().

ROScalarMeasColumn<MEpoch> casa::ROMSObservationColumns::releaseDateMeas_p [private]

Definition at line 138 of file MSObsColumns.h.

Referenced by releaseDateMeas().

ROArrayMeasColumn<MEpoch> casa::ROMSObservationColumns::timeRangeMeas_p [private]

Definition at line 139 of file MSObsColumns.h.

Referenced by timeRangeMeas().

ROScalarQuantColumn<Double> casa::ROMSObservationColumns::releaseDateQuant_p [private]

Definition at line 142 of file MSObsColumns.h.

Referenced by releaseDateQuant().

ROArrayQuantColumn<Double> casa::ROMSObservationColumns::timeRangeQuant_p [private]

Definition at line 143 of file MSObsColumns.h.

Referenced by timeRangeQuant().


The documentation for this class was generated from the following file:
Generated on Thu Aug 7 22:35:17 2008 for NRAOCASA by  doxygen 1.5.1