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

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

#include <MSFreqOffColumns.h>

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

List of all members.

Public Member Functions

 MSFreqOffsetColumns (MSFreqOffset &msFreqOffset)
 Create a columns object that accesses the data in the specified Table.
 ~MSFreqOffsetColumns ()
 The destructor does nothing special.
ScalarColumn< Int > & antenna1 ()
 Read-write access to required columns.
ScalarColumn< Int > & antenna2 ()
ScalarColumn< Int > & feedId ()
ScalarColumn< Double > & interval ()
ScalarQuantColumn< Double > & intervalQuant ()
ScalarColumn< Double > & offset ()
ScalarQuantColumn< Double > & offsetQuant ()
ScalarColumn< Int > & spectralWindowId ()
ScalarColumn< Double > & time ()
ScalarQuantColumn< Double > & timeQuant ()
ScalarMeasColumn< MEpoch > & timeMeas ()
const ROScalarColumn< Int > & antenna1 () const
 Read-only access to required 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
void setEpochRef (MEpoch::Types ref, Bool tableMustBeEmpty=True)
 set the epoch type for the TIME column.

Protected Member Functions

 MSFreqOffsetColumns ()
void attach (MSFreqOffset &msFreqOffset)

Private Member Functions

 MSFreqOffsetColumns (const MSFreqOffsetColumns &)
MSFreqOffsetColumnsoperator= (const MSFreqOffsetColumns &)

Private Attributes

ScalarColumn< Intantenna1_p
ScalarColumn< Intantenna2_p
ScalarColumn< IntfeedId_p
ScalarColumn< Doubleinterval_p
ScalarColumn< Doubleoffset_p
ScalarColumn< IntspectralWindowId_p
ScalarColumn< Doubletime_p
ScalarMeasColumn< MEpochtimeMeas_p
ScalarQuantColumn< DoubleintervalQuant_p
ScalarQuantColumn< DoubleoffsetQuant_p
ScalarQuantColumn< DoubletimeQuant_p

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

MSFreqOffsetColumns stands for MeasurementSet FreqOffset Table columns.

Synopsis

This class provides 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 MSColumns for an example.

Motivation

See MSColumns for the motivation.

Definition at line 179 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

Read-write access to required columns.

Definition at line 190 of file MSFreqOffColumns.h.

References antenna1_p.

Referenced by antenna1().

Read-only access to required columns.

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 205 of file MSFreqOffColumns.h.

References antenna1().

Definition at line 191 of file MSFreqOffColumns.h.

References antenna2_p.

Referenced by antenna2().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 207 of file MSFreqOffColumns.h.

References antenna2().

void casa::MSFreqOffsetColumns::attach ( MSFreqOffset msFreqOffset) [protected]

Definition at line 192 of file MSFreqOffColumns.h.

References feedId_p.

Referenced by feedId().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 209 of file MSFreqOffColumns.h.

References feedId().

Definition at line 193 of file MSFreqOffColumns.h.

References interval_p.

Referenced by interval().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 211 of file MSFreqOffColumns.h.

References interval().

Definition at line 194 of file MSFreqOffColumns.h.

References intervalQuant_p.

Referenced by intervalQuant().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 213 of file MSFreqOffColumns.h.

References intervalQuant().

Definition at line 195 of file MSFreqOffColumns.h.

References offset_p.

Referenced by offset().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 215 of file MSFreqOffColumns.h.

References offset().

Definition at line 196 of file MSFreqOffColumns.h.

References offsetQuant_p.

Referenced by offsetQuant().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 217 of file MSFreqOffColumns.h.

References offsetQuant().

MSFreqOffsetColumns& casa::MSFreqOffsetColumns::operator= ( const MSFreqOffsetColumns ) [private]
void casa::MSFreqOffsetColumns::setEpochRef ( MEpoch::Types  ref,
Bool  tableMustBeEmpty = True 
)

set the epoch type for the TIME column.


Tip: In principle this function can only be used if the table is empty, otherwise already written values may thereafter have an incorrect reference, offset, or unit; However, it is possible that part of the table gets written before these values are known; In that case the reference, offset, or units can be set by using a False tableMustBeEmpty argument;

Definition at line 197 of file MSFreqOffColumns.h.

References spectralWindowId_p.

Referenced by spectralWindowId().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 219 of file MSFreqOffColumns.h.

References spectralWindowId().

Definition at line 198 of file MSFreqOffColumns.h.

References time_p.

Referenced by time().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 221 of file MSFreqOffColumns.h.

References time().

Definition at line 200 of file MSFreqOffColumns.h.

References timeMeas_p.

Referenced by timeMeas().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 225 of file MSFreqOffColumns.h.

References timeMeas().

Definition at line 199 of file MSFreqOffColumns.h.

References timeQuant_p.

Referenced by timeQuant().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 223 of file MSFreqOffColumns.h.

References timeQuant().


Member Data Documentation

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 255 of file MSFreqOffColumns.h.

Referenced by antenna1().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 256 of file MSFreqOffColumns.h.

Referenced by antenna2().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 257 of file MSFreqOffColumns.h.

Referenced by feedId().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 258 of file MSFreqOffColumns.h.

Referenced by interval().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 267 of file MSFreqOffColumns.h.

Referenced by intervalQuant().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 259 of file MSFreqOffColumns.h.

Referenced by offset().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 268 of file MSFreqOffColumns.h.

Referenced by offsetQuant().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 260 of file MSFreqOffColumns.h.

Referenced by spectralWindowId().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 261 of file MSFreqOffColumns.h.

Referenced by time().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 264 of file MSFreqOffColumns.h.

Referenced by timeMeas().

Reimplemented from casa::ROMSFreqOffsetColumns.

Definition at line 269 of file MSFreqOffColumns.h.

Referenced by timeQuant().


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