casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::MSDopplerColumns Class Reference

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

#include <MSDopplerColumns.h>

Inheritance diagram for casacore::MSDopplerColumns:
casacore::ROMSDopplerColumns

Public Member Functions

 MSDopplerColumns (MSDoppler &msDoppler)
 Create a columns object that accesses the data in the specified Table. More...
 
 ~MSDopplerColumns ()
 The destructor does nothing special. More...
 
ScalarColumn< Int > & dopplerId ()
 Read-write access to required columns. More...
 
ScalarColumn< Int > & sourceId ()
 
ScalarColumn< Int > & transitionId ()
 
ScalarColumn< Double > & velDef ()
 
ScalarQuantColumn< Double > & velDefQuant ()
 
ScalarMeasColumn< MDoppler > & velDefMeas ()
 
const ROScalarColumn< Int > & dopplerId () const
 Read-only access to required columns. More...
 
const ROScalarColumn< Int > & sourceId () const
 
const ROScalarColumn< Int > & transitionId () const
 
const ROScalarColumn< Double > & velDef () const
 
const ROScalarQuantColumn
< Double > & 
velDefQuant () const
 
const ROScalarMeasColumn
< MDoppler > & 
velDefMeas () const
 
void setVelDefRef (MDoppler::Types ref)
 set the DOPPLER type for the VELDEF column. More...
 
- Public Member Functions inherited from casacore::ROMSDopplerColumns
 ROMSDopplerColumns (const MSDoppler &msDoppler)
 Create a columns object that accesses the data in the specified Table. More...
 
 ~ROMSDopplerColumns ()
 The destructor does nothing special. More...
 
Bool isNull () const
 Is this object defined? (MSDoppler table is optional) More...
 
const ROScalarColumn< Int > & dopplerId () const
 Access to columns. More...
 
const ROScalarColumn< Int > & sourceId () const
 
const ROScalarColumn< Int > & transitionId () const
 
const ROScalarColumn< Double > & velDef () const
 
const ROScalarQuantColumn
< Double > & 
velDefQuant () const
 
const ROScalarMeasColumn
< MDoppler > & 
velDefMeas () const
 
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns. More...
 

Protected Member Functions

 MSDopplerColumns ()
 
void attach (MSDoppler &msDoppler)
 
- Protected Member Functions inherited from casacore::ROMSDopplerColumns
 ROMSDopplerColumns ()
 
void attach (const MSDoppler &msDoppler)
 

Private Member Functions

 MSDopplerColumns (const MSDopplerColumns &)
 
MSDopplerColumnsoperator= (const MSDopplerColumns &)
 

Private Attributes

ScalarColumn< IntdopplerId_p
 
ScalarColumn< IntsourceId_p
 
ScalarColumn< InttransitionId_p
 
ScalarColumn< DoublevelDef_p
 
ScalarMeasColumn< MDopplervelDefMeas_p
 
ScalarQuantColumn< DoublevelDefQuant_p
 

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

MSDopplerColumns stands for MeasurementSet Doppler Table columns.

Synopsis

This class provides access to the columns in the MSDoppler 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 164 of file MSDopplerColumns.h.

Constructor & Destructor Documentation

casacore::MSDopplerColumns::MSDopplerColumns ( MSDoppler msDoppler)

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

casacore::MSDopplerColumns::~MSDopplerColumns ( )

The destructor does nothing special.

casacore::MSDopplerColumns::MSDopplerColumns ( )
protected
casacore::MSDopplerColumns::MSDopplerColumns ( const MSDopplerColumns )
private

Member Function Documentation

void casacore::MSDopplerColumns::attach ( MSDoppler msDoppler)
protected
ScalarColumn<Int>& casacore::MSDopplerColumns::dopplerId ( )
inline

Read-write access to required columns.

Definition at line 175 of file MSDopplerColumns.h.

References dopplerId_p.

const ROScalarColumn<Int>& casacore::MSDopplerColumns::dopplerId ( ) const
inline

Read-only access to required columns.

Definition at line 185 of file MSDopplerColumns.h.

References casacore::ROMSDopplerColumns::dopplerId().

MSDopplerColumns& casacore::MSDopplerColumns::operator= ( const MSDopplerColumns )
private
void casacore::MSDopplerColumns::setVelDefRef ( MDoppler::Types  ref)

set the DOPPLER type for the VELDEF column.

ScalarColumn<Int>& casacore::MSDopplerColumns::sourceId ( )
inline

Definition at line 176 of file MSDopplerColumns.h.

References sourceId_p.

const ROScalarColumn<Int>& casacore::MSDopplerColumns::sourceId ( ) const
inline

Definition at line 187 of file MSDopplerColumns.h.

References casacore::ROMSDopplerColumns::sourceId().

ScalarColumn<Int>& casacore::MSDopplerColumns::transitionId ( )
inline

Definition at line 177 of file MSDopplerColumns.h.

References transitionId_p.

const ROScalarColumn<Int>& casacore::MSDopplerColumns::transitionId ( ) const
inline

Definition at line 189 of file MSDopplerColumns.h.

References casacore::ROMSDopplerColumns::transitionId().

ScalarColumn<Double>& casacore::MSDopplerColumns::velDef ( )
inline

Definition at line 178 of file MSDopplerColumns.h.

References velDef_p.

const ROScalarColumn<Double>& casacore::MSDopplerColumns::velDef ( ) const
inline

Definition at line 191 of file MSDopplerColumns.h.

References casacore::ROMSDopplerColumns::velDef().

ScalarMeasColumn<MDoppler>& casacore::MSDopplerColumns::velDefMeas ( )
inline

Definition at line 180 of file MSDopplerColumns.h.

References velDefMeas_p.

const ROScalarMeasColumn<MDoppler>& casacore::MSDopplerColumns::velDefMeas ( ) const
inline

Definition at line 195 of file MSDopplerColumns.h.

References casacore::ROMSDopplerColumns::velDefMeas().

ScalarQuantColumn<Double>& casacore::MSDopplerColumns::velDefQuant ( )
inline

Definition at line 179 of file MSDopplerColumns.h.

References velDefQuant_p.

const ROScalarQuantColumn<Double>& casacore::MSDopplerColumns::velDefQuant ( ) const
inline

Definition at line 193 of file MSDopplerColumns.h.

References casacore::ROMSDopplerColumns::velDefQuant().

Member Data Documentation

ScalarColumn<Int> casacore::MSDopplerColumns::dopplerId_p
private

Definition at line 217 of file MSDopplerColumns.h.

Referenced by dopplerId().

ScalarColumn<Int> casacore::MSDopplerColumns::sourceId_p
private

Definition at line 218 of file MSDopplerColumns.h.

Referenced by sourceId().

ScalarColumn<Int> casacore::MSDopplerColumns::transitionId_p
private

Definition at line 219 of file MSDopplerColumns.h.

Referenced by transitionId().

ScalarColumn<Double> casacore::MSDopplerColumns::velDef_p
private

Definition at line 220 of file MSDopplerColumns.h.

Referenced by velDef().

ScalarMeasColumn<MDoppler> casacore::MSDopplerColumns::velDefMeas_p
private

Definition at line 223 of file MSDopplerColumns.h.

Referenced by velDefMeas().

ScalarQuantColumn<Double> casacore::MSDopplerColumns::velDefQuant_p
private

Definition at line 226 of file MSDopplerColumns.h.

Referenced by velDefQuant().


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