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

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

#include <MSObsColumns.h>

Inheritance diagram for casa::ROMSObservationColumns:
casa::MSObservationColumns

List of all members.

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.
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
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns.

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

Detailed Description

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

Intended use:

Public interface

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 80 of file MSObsColumns.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::ROMSObservationColumns::attach ( const MSObservation msObservation) [protected]

Access to required columns.

Reimplemented in casa::MSObservationColumns.

Definition at line 91 of file MSObsColumns.h.

References flagRow_p.

Reimplemented in casa::MSObservationColumns.

Definition at line 92 of file MSObsColumns.h.

References log_p.

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

Definition at line 111 of file MSObsColumns.h.

References flagRow_p.

Reimplemented in casa::MSObservationColumns.

Definition at line 93 of file MSObsColumns.h.

References observer_p.

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

Reimplemented in casa::MSObservationColumns.

Definition at line 94 of file MSObsColumns.h.

References project_p.

Reimplemented in casa::MSObservationColumns.

Definition at line 95 of file MSObsColumns.h.

References releaseDate_p.

Reimplemented in casa::MSObservationColumns.

Definition at line 98 of file MSObsColumns.h.

References releaseDateMeas_p.

Reimplemented in casa::MSObservationColumns.

Definition at line 96 of file MSObsColumns.h.

References releaseDateQuant_p.

Reimplemented in casa::MSObservationColumns.

Definition at line 100 of file MSObsColumns.h.

References schedule_p.

Reimplemented in casa::MSObservationColumns.

Definition at line 101 of file MSObsColumns.h.

References scheduleType_p.

Reimplemented in casa::MSObservationColumns.

Definition at line 102 of file MSObsColumns.h.

References telescopeName_p.

Reimplemented in casa::MSObservationColumns.

Definition at line 103 of file MSObsColumns.h.

References timeRange_p.

Reimplemented in casa::MSObservationColumns.

Definition at line 106 of file MSObsColumns.h.

References timeRangeMeas_p.

Reimplemented in casa::MSObservationColumns.

Definition at line 104 of file MSObsColumns.h.

References timeRangeQuant_p.


Member Data Documentation

Reimplemented in casa::MSObservationColumns.

Definition at line 128 of file MSObsColumns.h.

Referenced by flagRow(), and nrow().

Reimplemented in casa::MSObservationColumns.

Definition at line 129 of file MSObsColumns.h.

Referenced by log().

Reimplemented in casa::MSObservationColumns.

Definition at line 130 of file MSObsColumns.h.

Referenced by observer().

Reimplemented in casa::MSObservationColumns.

Definition at line 131 of file MSObsColumns.h.

Referenced by project().

Reimplemented in casa::MSObservationColumns.

Definition at line 132 of file MSObsColumns.h.

Referenced by releaseDate().

Reimplemented in casa::MSObservationColumns.

Definition at line 139 of file MSObsColumns.h.

Referenced by releaseDateMeas().

Reimplemented in casa::MSObservationColumns.

Definition at line 143 of file MSObsColumns.h.

Referenced by releaseDateQuant().

Reimplemented in casa::MSObservationColumns.

Definition at line 133 of file MSObsColumns.h.

Referenced by schedule().

Reimplemented in casa::MSObservationColumns.

Definition at line 134 of file MSObsColumns.h.

Referenced by scheduleType().

Reimplemented in casa::MSObservationColumns.

Definition at line 135 of file MSObsColumns.h.

Referenced by telescopeName().

Reimplemented in casa::MSObservationColumns.

Definition at line 136 of file MSObsColumns.h.

Referenced by timeRange().

Reimplemented in casa::MSObservationColumns.

Definition at line 140 of file MSObsColumns.h.

Referenced by timeRangeMeas().

Reimplemented in casa::MSObservationColumns.

Definition at line 144 of file MSObsColumns.h.

Referenced by timeRangeQuant().


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