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

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

#include <MSFreqOffColumns.h>

Inheritance diagram for casa::ROMSFreqOffsetColumns:
casa::MSFreqOffsetColumns

List of all members.

Public Member Functions

 ROMSFreqOffsetColumns (const MSFreqOffset &msFreqOffset)
 Create a columns object that accesses the data in the specified Table.
 ~ROMSFreqOffsetColumns ()
 The destructor does nothing special.
Bool isNull () const
 Is this object defined? (MSFreqOffset table is optional)
const ROScalarColumn< Int > & antenna1 () const
 Access to columns.
const ROScalarColumn< Int > & antenna2 () const
const ROScalarColumn< Int > & feedId () const
const ROScalarColumn< Double > & interval () const
const ROScalarQuantColumn
< Double > & 
intervalQuant () const
const ROScalarColumn< Double > & offset () const
const ROScalarQuantColumn
< Double > & 
offsetQuant () const
const ROScalarColumn< Int > & spectralWindowId () const
const ROScalarColumn< Double > & time () const
const ROScalarQuantColumn
< Double > & 
timeQuant () const
const ROScalarMeasColumn
< MEpoch > & 
timeMeas () const
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns.

Protected Member Functions

 ROMSFreqOffsetColumns ()
void attach (const MSFreqOffset &msFreqOffset)

Private Member Functions

 ROMSFreqOffsetColumns (const ROMSFreqOffsetColumns &)
ROMSFreqOffsetColumnsoperator= (const ROMSFreqOffsetColumns &)

Private Attributes

Bool isNull_p
ROScalarColumn< Intantenna1_p
ROScalarColumn< Intantenna2_p
ROScalarColumn< IntfeedId_p
ROScalarColumn< Doubleinterval_p
ROScalarColumn< Doubleoffset_p
ROScalarColumn< IntspectralWindowId_p
ROScalarColumn< Doubletime_p
ROScalarMeasColumn< MEpochtimeMeas_p
ROScalarQuantColumn< DoubleintervalQuant_p
ROScalarQuantColumn< DoubleoffsetQuant_p
ROScalarQuantColumn< DoubletimeQuant_p

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

ROMSFreqOffsetColumns stands for Read-Only MeasurementSet FreqOffset Table columns.

Synopsis

This class provides read-only access to the columns in the MSFreqOffset 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 77 of file MSFreqOffColumns.h.


Constructor & Destructor Documentation

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

The destructor does nothing special.


Member Function Documentation

Access to columns.

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 91 of file MSFreqOffColumns.h.

References antenna1_p.

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 92 of file MSFreqOffColumns.h.

References antenna2_p.

void casa::ROMSFreqOffsetColumns::attach ( const MSFreqOffset msFreqOffset) [protected]

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 93 of file MSFreqOffColumns.h.

References feedId_p.

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 94 of file MSFreqOffColumns.h.

References interval_p.

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 95 of file MSFreqOffColumns.h.

References intervalQuant_p.

Is this object defined? (MSFreqOffset table is optional)

Definition at line 87 of file MSFreqOffColumns.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 109 of file MSFreqOffColumns.h.

References antenna1_p, and isNull().

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 97 of file MSFreqOffColumns.h.

References offset_p.

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 98 of file MSFreqOffColumns.h.

References offsetQuant_p.

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

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 100 of file MSFreqOffColumns.h.

References spectralWindowId_p.

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 102 of file MSFreqOffColumns.h.

References time_p.

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 104 of file MSFreqOffColumns.h.

References timeMeas_p.

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 103 of file MSFreqOffColumns.h.

References timeQuant_p.


Member Data Documentation

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 129 of file MSFreqOffColumns.h.

Referenced by antenna1(), and nrow().

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 130 of file MSFreqOffColumns.h.

Referenced by antenna2().

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 131 of file MSFreqOffColumns.h.

Referenced by feedId().

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 132 of file MSFreqOffColumns.h.

Referenced by interval().

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 141 of file MSFreqOffColumns.h.

Referenced by intervalQuant().

Definition at line 126 of file MSFreqOffColumns.h.

Referenced by isNull().

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 133 of file MSFreqOffColumns.h.

Referenced by offset().

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 142 of file MSFreqOffColumns.h.

Referenced by offsetQuant().

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 134 of file MSFreqOffColumns.h.

Referenced by spectralWindowId().

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 135 of file MSFreqOffColumns.h.

Referenced by time().

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 138 of file MSFreqOffColumns.h.

Referenced by timeMeas().

Reimplemented in casa::MSFreqOffsetColumns.

Definition at line 143 of file MSFreqOffColumns.h.

Referenced by timeQuant().


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