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

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

#include <MSProcessorColumns.h>

Inheritance diagram for casa::MSProcessorColumns:
casa::ROMSProcessorColumns

List of all members.

Public Member Functions

 MSProcessorColumns (MSProcessor &msProcessor)
 Create a columns object that accesses the data in the specified Table.
 ~MSProcessorColumns ()
 The destructor does nothing special.
ScalarColumn< Bool > & flagRow ()
 Read-write access to required columns.
ScalarColumn< Int > & modeId ()
ScalarColumn< String > & type ()
ScalarColumn< Int > & typeId ()
ScalarColumn< String > & subType ()
ScalarColumn< Int > & passId ()
 Read-write access to optional columns.
const ROScalarColumn< Bool > & flagRow () const
 Read-only access to required columns.
const ROScalarColumn< Int > & modeId () const
const ROScalarColumn< String > & type () const
const ROScalarColumn< Int > & typeId () const
const ROScalarColumn< String > & subType () const
const ROScalarColumn< Int > & passId () const
 Read-only access to optional columns.

Protected Member Functions

 MSProcessorColumns ()
 
   

void attach (MSProcessor &msProcessor)

Private Member Functions

 MSProcessorColumns (const MSProcessorColumns &)
MSProcessorColumnsoperator= (const MSProcessorColumns &)
void attachOptionalCols (MSProcessor &msProcessor)

Private Attributes

ScalarColumn< BoolflagRow_p
ScalarColumn< IntmodeId_p
ScalarColumn< Stringtype_p
ScalarColumn< InttypeId_p
ScalarColumn< StringsubType_p
ScalarColumn< IntpassId_p

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

MSProcessorColumns stands for MeasurementSet Processor Table columns.

Synopsis

This class provides access to the columns in the MSProcessor 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 157 of file MSProcessorColumns.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::MSProcessorColumns::attach ( MSProcessor msProcessor) [protected]
void casa::MSProcessorColumns::attachOptionalCols ( MSProcessor msProcessor) [private]

Read-write access to required columns.

Definition at line 168 of file MSProcessorColumns.h.

References flagRow_p.

Referenced by flagRow().

Read-only access to required columns.

Reimplemented from casa::ROMSProcessorColumns.

Definition at line 182 of file MSProcessorColumns.h.

References flagRow().

Definition at line 169 of file MSProcessorColumns.h.

References modeId_p.

Referenced by modeId().

Reimplemented from casa::ROMSProcessorColumns.

Definition at line 184 of file MSProcessorColumns.h.

References modeId().

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

Read-write access to optional columns.

Definition at line 177 of file MSProcessorColumns.h.

References passId_p.

Referenced by passId().

Read-only access to optional columns.

Reimplemented from casa::ROMSProcessorColumns.

Definition at line 196 of file MSProcessorColumns.h.

References passId().

Definition at line 172 of file MSProcessorColumns.h.

References subType_p.

Referenced by subType().

Reimplemented from casa::ROMSProcessorColumns.

Definition at line 190 of file MSProcessorColumns.h.

References subType().

Definition at line 170 of file MSProcessorColumns.h.

References type_p.

Referenced by type().

Reimplemented from casa::ROMSProcessorColumns.

Definition at line 186 of file MSProcessorColumns.h.

References type().

Definition at line 171 of file MSProcessorColumns.h.

References typeId_p.

Referenced by typeId().

Reimplemented from casa::ROMSProcessorColumns.

Definition at line 188 of file MSProcessorColumns.h.

References typeId().


Member Data Documentation

Reimplemented from casa::ROMSProcessorColumns.

Definition at line 218 of file MSProcessorColumns.h.

Referenced by flagRow().

Reimplemented from casa::ROMSProcessorColumns.

Definition at line 219 of file MSProcessorColumns.h.

Referenced by modeId().

Reimplemented from casa::ROMSProcessorColumns.

Definition at line 224 of file MSProcessorColumns.h.

Referenced by passId().

Reimplemented from casa::ROMSProcessorColumns.

Definition at line 222 of file MSProcessorColumns.h.

Referenced by subType().

Reimplemented from casa::ROMSProcessorColumns.

Definition at line 220 of file MSProcessorColumns.h.

Referenced by type().

Reimplemented from casa::ROMSProcessorColumns.

Definition at line 221 of file MSProcessorColumns.h.

Referenced by typeId().


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