casacore::ROMSDopplerColumns Class Reference

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

#include <MSDopplerColumns.h>

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

List of all members.

Public Member Functions

 ROMSDopplerColumns (const MSDoppler &msDoppler)
 Create a columns object that accesses the data in the specified Table.
 ~ROMSDopplerColumns ()
 The destructor does nothing special.
Bool isNull () const
 Is this object defined? (MSDoppler table is optional).
const ROScalarColumn< Int > & dopplerId () const
 Access to columns.
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.

Protected Member Functions

 ROMSDopplerColumns ()
void attach (const MSDoppler &msDoppler)

Private Member Functions

 ROMSDopplerColumns (const ROMSDopplerColumns &)
ROMSDopplerColumnsoperator= (const ROMSDopplerColumns &)

Private Attributes

Bool isNull_p
ROScalarColumn< IntdopplerId_p
ROScalarColumn< IntsourceId_p
ROScalarColumn< InttransitionId_p
ROScalarColumn< DoublevelDef_p
ROScalarMeasColumn< MDopplervelDefMeas_p
ROScalarQuantColumn< DoublevelDefQuant_p

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

ROMSDopplerColumns stands for Read-Only MeasurementSet Doppler Table columns.

Synopsis

This class provides read-only 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 ROMSColumns for an example.

Motivation

See MSColumns for the motivation.

Definition at line 75 of file MSDopplerColumns.h.


Constructor & Destructor Documentation

casacore::ROMSDopplerColumns::ROMSDopplerColumns ( const MSDoppler msDoppler  ) 

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

casacore::ROMSDopplerColumns::~ROMSDopplerColumns (  ) 

The destructor does nothing special.

casacore::ROMSDopplerColumns::ROMSDopplerColumns (  )  [protected]
casacore::ROMSDopplerColumns::ROMSDopplerColumns ( const ROMSDopplerColumns  )  [private]

Member Function Documentation

void casacore::ROMSDopplerColumns::attach ( const MSDoppler msDoppler  )  [protected]
const ROScalarColumn<Int>& casacore::ROMSDopplerColumns::dopplerId (  )  const [inline]

Access to columns.

Reimplemented in casacore::MSDopplerColumns.

Definition at line 89 of file MSDopplerColumns.h.

References dopplerId_p.

Bool casacore::ROMSDopplerColumns::isNull (  )  const [inline]

Is this object defined? (MSDoppler table is optional).

Definition at line 85 of file MSDopplerColumns.h.

References isNull_p.

Referenced by nrow().

uInt casacore::ROMSDopplerColumns::nrow (  )  const [inline]

Convenience function that returns the number of rows in any of the columns.

Returns zero if the object is null.

Definition at line 99 of file MSDopplerColumns.h.

References dopplerId_p, and isNull().

ROMSDopplerColumns& casacore::ROMSDopplerColumns::operator= ( const ROMSDopplerColumns  )  [private]

Reimplemented in casacore::MSDopplerColumns.

const ROScalarColumn<Int>& casacore::ROMSDopplerColumns::sourceId (  )  const [inline]

Reimplemented in casacore::MSDopplerColumns.

Definition at line 90 of file MSDopplerColumns.h.

References sourceId_p.

const ROScalarColumn<Int>& casacore::ROMSDopplerColumns::transitionId (  )  const [inline]

Reimplemented in casacore::MSDopplerColumns.

Definition at line 91 of file MSDopplerColumns.h.

References transitionId_p.

const ROScalarColumn<Double>& casacore::ROMSDopplerColumns::velDef (  )  const [inline]

Reimplemented in casacore::MSDopplerColumns.

Definition at line 92 of file MSDopplerColumns.h.

References velDef_p.

const ROScalarMeasColumn<MDoppler>& casacore::ROMSDopplerColumns::velDefMeas (  )  const [inline]

Reimplemented in casacore::MSDopplerColumns.

Definition at line 94 of file MSDopplerColumns.h.

References velDefMeas_p.

const ROScalarQuantColumn<Double>& casacore::ROMSDopplerColumns::velDefQuant (  )  const [inline]

Reimplemented in casacore::MSDopplerColumns.

Definition at line 93 of file MSDopplerColumns.h.

References velDefQuant_p.


Member Data Documentation

Reimplemented in casacore::MSDopplerColumns.

Definition at line 119 of file MSDopplerColumns.h.

Referenced by dopplerId(), and nrow().

Definition at line 116 of file MSDopplerColumns.h.

Referenced by isNull().

ROScalarColumn<Int> casacore::ROMSDopplerColumns::sourceId_p [private]

Reimplemented in casacore::MSDopplerColumns.

Definition at line 120 of file MSDopplerColumns.h.

Referenced by sourceId().

Reimplemented in casacore::MSDopplerColumns.

Definition at line 121 of file MSDopplerColumns.h.

Referenced by transitionId().

Reimplemented in casacore::MSDopplerColumns.

Definition at line 122 of file MSDopplerColumns.h.

Referenced by velDef().

Reimplemented in casacore::MSDopplerColumns.

Definition at line 125 of file MSDopplerColumns.h.

Referenced by velDefMeas().

ROScalarQuantColumn<Double> casacore::ROMSDopplerColumns::velDefQuant_p [private]

Reimplemented in casacore::MSDopplerColumns.

Definition at line 128 of file MSDopplerColumns.h.

Referenced by velDefQuant().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1