casacore::ROMSSourceColumns Class Reference

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

#include <MSSourceColumns.h>

Inheritance diagram for casacore::ROMSSourceColumns:
casacore::MSSourceColumns

List of all members.

Public Member Functions

 ROMSSourceColumns (const MSSource &msSource)
 Construct from the supplied Table.
 ~ROMSSourceColumns ()
 The destructor does nothing special.
Bool isNull () const
 Is this object defined? (MSSource table is optional).
const ROScalarColumn< Int > & calibrationGroup () const
 Access to required columns.
const ROScalarColumn< String > & code () const
const ROArrayColumn< Double > & direction () const
const ROArrayQuantColumn
< Double > & 
directionQuant () const
const ROScalarMeasColumn
< MDirection > & 
directionMeas () const
const ROScalarColumn< Double > & interval () const
const ROScalarQuantColumn
< Double > & 
intervalQuant () const
const ROScalarColumn< String > & name () const
const ROScalarColumn< Int > & numLines () const
const ROArrayColumn< Double > & properMotion () const
const ROArrayQuantColumn
< Double > & 
properMotionQuant () const
const ROScalarColumn< Int > & sourceId () const
const ROScalarColumn< Int > & spectralWindowId () const
const ROScalarColumn< Double > & time () const
const ROScalarQuantColumn
< Double > & 
timeQuant () const
const ROScalarMeasColumn
< MEpoch > & 
timeMeas () const
const ROArrayColumn< Double > & position () const
 Access to optional columns.
const ROArrayQuantColumn
< Double > & 
positionQuant () const
const ROScalarMeasColumn
< MPosition > & 
positionMeas () const
const ROScalarColumn< Int > & pulsarId () const
const ROArrayColumn< Double > & restFrequency () const
const ROArrayQuantColumn
< Double > & 
restFrequencyQuant () const
const ROArrayMeasColumn
< MFrequency > & 
restFrequencyMeas () const
const ROScalarColumn
< TableRecord > & 
sourceModel () const
const ROArrayColumn< Double > & sysvel () const
const ROArrayQuantColumn
< Double > & 
sysvelQuant () const
const ROArrayMeasColumn
< MRadialVelocity > & 
sysvelMeas () const
const ROArrayColumn< String > & transition () const
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns.

Protected Member Functions

 ROMSSourceColumns ()
void attach (const MSSource &msSource)

Private Member Functions

 ROMSSourceColumns (const ROMSSourceColumns &)
ROMSSourceColumnsoperator= (const ROMSSourceColumns &)
void attachOptionalCols (const MSSource &msSource)

Private Attributes

Bool isNull_p
ROScalarColumn< IntcalibrationGroup_p
ROScalarColumn< Stringcode_p
ROArrayColumn< Doubledirection_p
ROScalarColumn< Doubleinterval_p
ROScalarColumn< Stringname_p
ROScalarColumn< IntnumLines_p
ROArrayColumn< DoubleproperMotion_p
ROScalarColumn< IntsourceId_p
ROScalarColumn< IntspectralWindowId_p
ROScalarColumn< Doubletime_p
ROArrayColumn< Doubleposition_p
ROScalarColumn< IntpulsarId_p
ROArrayColumn< DoublerestFrequency_p
ROScalarColumn< TableRecordsourceModel_p
ROArrayColumn< Doublesysvel_p
ROArrayColumn< Stringtransition_p
ROScalarMeasColumn< MDirectiondirectionMeas_p
ROScalarMeasColumn< MEpochtimeMeas_p
ROScalarMeasColumn< MPositionpositionMeas_p
ROArrayMeasColumn< MFrequencyrestFrequencyMeas_p
ROArrayMeasColumn
< MRadialVelocity
sysvelMeas_p
ROArrayQuantColumn< DoubledirectionQuant_p
ROScalarQuantColumn< DoubleintervalQuant_p
ROArrayQuantColumn< DoubleproperMotionQuant_p
ROScalarQuantColumn< DoubletimeQuant_p
ROArrayQuantColumn< DoublepositionQuant_p
ROArrayQuantColumn< DoublerestFrequencyQuant_p
ROArrayQuantColumn< DoublesysvelQuant_p

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

ROMSSourceColumns stands for Read-Only MeasurementSet Source Table columns.

Synopsis

This class provides read-only access to the columns in the MSSource 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 88 of file MSSourceColumns.h.


Constructor & Destructor Documentation

casacore::ROMSSourceColumns::ROMSSourceColumns ( const MSSource msSource  ) 

Construct from the supplied Table.

casacore::ROMSSourceColumns::~ROMSSourceColumns (  ) 

The destructor does nothing special.

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

Member Function Documentation

void casacore::ROMSSourceColumns::attach ( const MSSource msSource  )  [protected]
void casacore::ROMSSourceColumns::attachOptionalCols ( const MSSource msSource  )  [private]
const ROScalarColumn<Int>& casacore::ROMSSourceColumns::calibrationGroup (  )  const [inline]

Access to required columns.

Reimplemented in casacore::MSSourceColumns.

Definition at line 102 of file MSSourceColumns.h.

References calibrationGroup_p.

const ROScalarColumn<String>& casacore::ROMSSourceColumns::code (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 104 of file MSSourceColumns.h.

References code_p.

const ROArrayColumn<Double>& casacore::ROMSSourceColumns::direction (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 105 of file MSSourceColumns.h.

References direction_p.

const ROScalarMeasColumn<MDirection>& casacore::ROMSSourceColumns::directionMeas (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 108 of file MSSourceColumns.h.

References directionMeas_p.

const ROArrayQuantColumn<Double>& casacore::ROMSSourceColumns::directionQuant (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 106 of file MSSourceColumns.h.

References directionQuant_p.

const ROScalarColumn<Double>& casacore::ROMSSourceColumns::interval (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 110 of file MSSourceColumns.h.

References interval_p.

const ROScalarQuantColumn<Double>& casacore::ROMSSourceColumns::intervalQuant (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 111 of file MSSourceColumns.h.

References intervalQuant_p.

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

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

Definition at line 98 of file MSSourceColumns.h.

References isNull_p.

Referenced by nrow().

const ROScalarColumn<String>& casacore::ROMSSourceColumns::name (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 113 of file MSSourceColumns.h.

References name_p.

uInt casacore::ROMSSourceColumns::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 150 of file MSSourceColumns.h.

References calibrationGroup_p, and isNull().

const ROScalarColumn<Int>& casacore::ROMSSourceColumns::numLines (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 114 of file MSSourceColumns.h.

References numLines_p.

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

Reimplemented in casacore::MSSourceColumns.

const ROArrayColumn<Double>& casacore::ROMSSourceColumns::position (  )  const [inline]

Access to optional columns.

Reimplemented in casacore::MSSourceColumns.

Definition at line 128 of file MSSourceColumns.h.

References position_p.

const ROScalarMeasColumn<MPosition>& casacore::ROMSSourceColumns::positionMeas (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 131 of file MSSourceColumns.h.

References positionMeas_p.

const ROArrayQuantColumn<Double>& casacore::ROMSSourceColumns::positionQuant (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 129 of file MSSourceColumns.h.

References positionQuant_p.

const ROArrayColumn<Double>& casacore::ROMSSourceColumns::properMotion (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 115 of file MSSourceColumns.h.

References properMotion_p.

const ROArrayQuantColumn<Double>& casacore::ROMSSourceColumns::properMotionQuant (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 116 of file MSSourceColumns.h.

References properMotionQuant_p.

const ROScalarColumn<Int>& casacore::ROMSSourceColumns::pulsarId (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 133 of file MSSourceColumns.h.

References pulsarId_p.

const ROArrayColumn<Double>& casacore::ROMSSourceColumns::restFrequency (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 134 of file MSSourceColumns.h.

References restFrequency_p.

const ROArrayMeasColumn<MFrequency>& casacore::ROMSSourceColumns::restFrequencyMeas (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 137 of file MSSourceColumns.h.

References restFrequencyMeas_p.

const ROArrayQuantColumn<Double>& casacore::ROMSSourceColumns::restFrequencyQuant (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 135 of file MSSourceColumns.h.

References restFrequencyQuant_p.

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

Reimplemented in casacore::MSSourceColumns.

Definition at line 118 of file MSSourceColumns.h.

References sourceId_p.

const ROScalarColumn<TableRecord>& casacore::ROMSSourceColumns::sourceModel (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 139 of file MSSourceColumns.h.

References sourceModel_p.

const ROScalarColumn<Int>& casacore::ROMSSourceColumns::spectralWindowId (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 119 of file MSSourceColumns.h.

References spectralWindowId_p.

const ROArrayColumn<Double>& casacore::ROMSSourceColumns::sysvel (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 141 of file MSSourceColumns.h.

References sysvel_p.

const ROArrayMeasColumn<MRadialVelocity>& casacore::ROMSSourceColumns::sysvelMeas (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 143 of file MSSourceColumns.h.

References sysvelMeas_p.

const ROArrayQuantColumn<Double>& casacore::ROMSSourceColumns::sysvelQuant (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 142 of file MSSourceColumns.h.

References sysvelQuant_p.

const ROScalarColumn<Double>& casacore::ROMSSourceColumns::time (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 121 of file MSSourceColumns.h.

References time_p.

const ROScalarMeasColumn<MEpoch>& casacore::ROMSSourceColumns::timeMeas (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 123 of file MSSourceColumns.h.

References timeMeas_p.

const ROScalarQuantColumn<Double>& casacore::ROMSSourceColumns::timeQuant (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 122 of file MSSourceColumns.h.

References timeQuant_p.

const ROArrayColumn<String>& casacore::ROMSSourceColumns::transition (  )  const [inline]

Reimplemented in casacore::MSSourceColumns.

Definition at line 145 of file MSSourceColumns.h.

References transition_p.


Member Data Documentation

Reimplemented in casacore::MSSourceColumns.

Definition at line 173 of file MSSourceColumns.h.

Referenced by calibrationGroup(), and nrow().

ROScalarColumn<String> casacore::ROMSSourceColumns::code_p [private]

Reimplemented in casacore::MSSourceColumns.

Definition at line 174 of file MSSourceColumns.h.

Referenced by code().

Reimplemented in casacore::MSSourceColumns.

Definition at line 175 of file MSSourceColumns.h.

Referenced by direction().

Reimplemented in casacore::MSSourceColumns.

Definition at line 192 of file MSSourceColumns.h.

Referenced by directionMeas().

Reimplemented in casacore::MSSourceColumns.

Definition at line 200 of file MSSourceColumns.h.

Referenced by directionQuant().

Reimplemented in casacore::MSSourceColumns.

Definition at line 176 of file MSSourceColumns.h.

Referenced by interval().

ROScalarQuantColumn<Double> casacore::ROMSSourceColumns::intervalQuant_p [private]

Reimplemented in casacore::MSSourceColumns.

Definition at line 201 of file MSSourceColumns.h.

Referenced by intervalQuant().

Definition at line 170 of file MSSourceColumns.h.

Referenced by isNull().

ROScalarColumn<String> casacore::ROMSSourceColumns::name_p [private]

Reimplemented in casacore::MSSourceColumns.

Definition at line 177 of file MSSourceColumns.h.

Referenced by name().

ROScalarColumn<Int> casacore::ROMSSourceColumns::numLines_p [private]

Reimplemented in casacore::MSSourceColumns.

Definition at line 178 of file MSSourceColumns.h.

Referenced by numLines().

Reimplemented in casacore::MSSourceColumns.

Definition at line 184 of file MSSourceColumns.h.

Referenced by position().

Reimplemented in casacore::MSSourceColumns.

Definition at line 195 of file MSSourceColumns.h.

Referenced by positionMeas().

Reimplemented in casacore::MSSourceColumns.

Definition at line 205 of file MSSourceColumns.h.

Referenced by positionQuant().

Reimplemented in casacore::MSSourceColumns.

Definition at line 179 of file MSSourceColumns.h.

Referenced by properMotion().

Reimplemented in casacore::MSSourceColumns.

Definition at line 202 of file MSSourceColumns.h.

Referenced by properMotionQuant().

ROScalarColumn<Int> casacore::ROMSSourceColumns::pulsarId_p [private]

Reimplemented in casacore::MSSourceColumns.

Definition at line 185 of file MSSourceColumns.h.

Referenced by pulsarId().

Reimplemented in casacore::MSSourceColumns.

Definition at line 186 of file MSSourceColumns.h.

Referenced by restFrequency().

Reimplemented in casacore::MSSourceColumns.

Definition at line 196 of file MSSourceColumns.h.

Referenced by restFrequencyMeas().

Reimplemented in casacore::MSSourceColumns.

Definition at line 206 of file MSSourceColumns.h.

Referenced by restFrequencyQuant().

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

Reimplemented in casacore::MSSourceColumns.

Definition at line 180 of file MSSourceColumns.h.

Referenced by sourceId().

Reimplemented in casacore::MSSourceColumns.

Definition at line 187 of file MSSourceColumns.h.

Referenced by sourceModel().

Reimplemented in casacore::MSSourceColumns.

Definition at line 181 of file MSSourceColumns.h.

Referenced by spectralWindowId().

Reimplemented in casacore::MSSourceColumns.

Definition at line 188 of file MSSourceColumns.h.

Referenced by sysvel().

Reimplemented in casacore::MSSourceColumns.

Definition at line 197 of file MSSourceColumns.h.

Referenced by sysvelMeas().

ROArrayQuantColumn<Double> casacore::ROMSSourceColumns::sysvelQuant_p [private]

Reimplemented in casacore::MSSourceColumns.

Definition at line 207 of file MSSourceColumns.h.

Referenced by sysvelQuant().

ROScalarColumn<Double> casacore::ROMSSourceColumns::time_p [private]

Reimplemented in casacore::MSSourceColumns.

Definition at line 182 of file MSSourceColumns.h.

Referenced by time().

ROScalarMeasColumn<MEpoch> casacore::ROMSSourceColumns::timeMeas_p [private]

Reimplemented in casacore::MSSourceColumns.

Definition at line 193 of file MSSourceColumns.h.

Referenced by timeMeas().

ROScalarQuantColumn<Double> casacore::ROMSSourceColumns::timeQuant_p [private]

Reimplemented in casacore::MSSourceColumns.

Definition at line 203 of file MSSourceColumns.h.

Referenced by timeQuant().

Reimplemented in casacore::MSSourceColumns.

Definition at line 189 of file MSSourceColumns.h.

Referenced by transition().


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