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

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

#include <MSStateColumns.h>

Inheritance diagram for casa::MSStateColumns:
casa::ROMSStateColumns

List of all members.

Public Member Functions

 MSStateColumns (MSState &msState)
 Create a columns object that accesses the data in the specified Table.
 ~MSStateColumns ()
 The destructor does nothing special.
ScalarColumn< Double > & cal ()
 Read-write access to required columns.
ScalarQuantColumn< Double > & calQuant ()
ScalarColumn< Bool > & flagRow ()
ScalarColumn< Double > & load ()
ScalarQuantColumn< Double > & loadQuant ()
ScalarColumn< String > & obsMode ()
ScalarColumn< Bool > & ref ()
ScalarColumn< Bool > & sig ()
ScalarColumn< Int > & subScan ()

Protected Member Functions

 MSStateColumns ()
 Read-only access to required columns.
void attach (MSState &msState)

Private Member Functions

 MSStateColumns (const MSStateColumns &)
MSStateColumnsoperator= (const MSStateColumns &)

Private Attributes

ScalarColumn< Doublecal_p
ScalarColumn< BoolflagRow_p
ScalarColumn< Doubleload_p
ScalarColumn< StringobsMode_p
ScalarColumn< Boolref_p
ScalarColumn< Boolsig_p
ScalarColumn< IntsubScan_p
ScalarQuantColumn< DoublecalQuant_p
 Access to Quantum columns.
ScalarQuantColumn< DoubleloadQuant_p

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

MSStateColumns stands for MeasurementSet State Table columns.

Synopsis

This class provides access to the columns in the MSState 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 174 of file MSStateColumns.h.


Constructor & Destructor Documentation

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

The destructor does nothing special.

Read-only access to required columns.

   

Member Function Documentation

void casa::MSStateColumns::attach ( MSState msState) [protected]

Read-write access to required columns.

Definition at line 185 of file MSStateColumns.h.

References cal_p.

Definition at line 186 of file MSStateColumns.h.

References calQuant_p.

Definition at line 187 of file MSStateColumns.h.

References flagRow_p.

Definition at line 188 of file MSStateColumns.h.

References load_p.

Definition at line 189 of file MSStateColumns.h.

References loadQuant_p.

Definition at line 190 of file MSStateColumns.h.

References obsMode_p.

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

Definition at line 191 of file MSStateColumns.h.

References ref_p.

Definition at line 192 of file MSStateColumns.h.

References sig_p.

Definition at line 193 of file MSStateColumns.h.

References subScan_p.


Member Data Documentation

Reimplemented from casa::ROMSStateColumns.

Definition at line 215 of file MSStateColumns.h.

Referenced by cal().

Access to Quantum columns.

Reimplemented from casa::ROMSStateColumns.

Definition at line 224 of file MSStateColumns.h.

Referenced by calQuant().

Reimplemented from casa::ROMSStateColumns.

Definition at line 216 of file MSStateColumns.h.

Referenced by flagRow().

Reimplemented from casa::ROMSStateColumns.

Definition at line 217 of file MSStateColumns.h.

Referenced by load().

Reimplemented from casa::ROMSStateColumns.

Definition at line 225 of file MSStateColumns.h.

Referenced by loadQuant().

Reimplemented from casa::ROMSStateColumns.

Definition at line 218 of file MSStateColumns.h.

Referenced by obsMode().

Reimplemented from casa::ROMSStateColumns.

Definition at line 219 of file MSStateColumns.h.

Referenced by ref().

Reimplemented from casa::ROMSStateColumns.

Definition at line 220 of file MSStateColumns.h.

Referenced by sig().

Reimplemented from casa::ROMSStateColumns.

Definition at line 221 of file MSStateColumns.h.

Referenced by subScan().


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