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

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

#include <MSObsColumns.h>

Inheritance diagram for casacore::ROMSObservationColumns:
casacore::MSObservationColumns

Public Member Functions

 ROMSObservationColumns (const MSObservation &msObservation)
 Create a columns object that accesses the data in the specified Table. More...
 
 ~ROMSObservationColumns ()
 The destructor does nothing special. More...
 
const ROScalarColumn< Bool > & flagRow () const
 Access to required columns. More...
 
const ROArrayColumn< String > & log () const
 
const ROScalarColumn< String > & observer () const
 
const ROScalarColumn< String > & project () const
 
const ROScalarColumn< Double > & releaseDate () const
 
const ROScalarQuantColumn
< Double > & 
releaseDateQuant () const
 
const ROScalarMeasColumn
< MEpoch > & 
releaseDateMeas () const
 
const ROArrayColumn< String > & schedule () const
 
const ROScalarColumn< String > & scheduleType () const
 
const ROScalarColumn< String > & telescopeName () const
 
const ROArrayColumn< Double > & timeRange () const
 
const ROArrayQuantColumn
< Double > & 
timeRangeQuant () const
 
const ROArrayMeasColumn< MEpoch > & timeRangeMeas () const
 
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns. More...
 

Protected Member Functions

 ROMSObservationColumns ()
 
void attach (const MSObservation &msObservation)
 

Private Member Functions

 ROMSObservationColumns (const ROMSObservationColumns &)
 
ROMSObservationColumnsoperator= (const ROMSObservationColumns &)
 

Private Attributes

ROScalarColumn< BoolflagRow_p
 
ROArrayColumn< Stringlog_p
 
ROScalarColumn< Stringobserver_p
 
ROScalarColumn< Stringproject_p
 
ROScalarColumn< DoublereleaseDate_p
 
ROArrayColumn< Stringschedule_p
 
ROScalarColumn< StringscheduleType_p
 
ROScalarColumn< StringtelescopeName_p
 
ROArrayColumn< DoubletimeRange_p
 
ROScalarMeasColumn< MEpochreleaseDateMeas_p
 
ROArrayMeasColumn< MEpochtimeRangeMeas_p
 
ROScalarQuantColumn< DoublereleaseDateQuant_p
 
ROArrayQuantColumn< DoubletimeRangeQuant_p
 

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

ROMSObservationColumns stands for Read-Only MeasurementSet Observation Table columns.

Synopsis

This class provides read-only access to the columns in the MSObservation 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 80 of file MSObsColumns.h.

Constructor & Destructor Documentation

casacore::ROMSObservationColumns::ROMSObservationColumns ( const MSObservation msObservation)

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

casacore::ROMSObservationColumns::~ROMSObservationColumns ( )

The destructor does nothing special.

casacore::ROMSObservationColumns::ROMSObservationColumns ( )
protected
casacore::ROMSObservationColumns::ROMSObservationColumns ( const ROMSObservationColumns )
private

Member Function Documentation

void casacore::ROMSObservationColumns::attach ( const MSObservation msObservation)
protected
const ROScalarColumn<Bool>& casacore::ROMSObservationColumns::flagRow ( ) const
inline

Access to required columns.

Definition at line 91 of file MSObsColumns.h.

References flagRow_p.

Referenced by casacore::MSObservationColumns::flagRow().

const ROArrayColumn<String>& casacore::ROMSObservationColumns::log ( ) const
inline

Definition at line 92 of file MSObsColumns.h.

References log_p.

Referenced by casacore::MSObservationColumns::log().

uInt casacore::ROMSObservationColumns::nrow ( ) const
inline

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

Definition at line 111 of file MSObsColumns.h.

References flagRow_p.

Referenced by casa::sdfiller::ObservationRecord::fill().

const ROScalarColumn<String>& casacore::ROMSObservationColumns::observer ( ) const
inline

Definition at line 93 of file MSObsColumns.h.

References observer_p.

Referenced by casacore::MSObservationColumns::observer().

ROMSObservationColumns& casacore::ROMSObservationColumns::operator= ( const ROMSObservationColumns )
private
const ROScalarColumn<String>& casacore::ROMSObservationColumns::project ( ) const
inline

Definition at line 94 of file MSObsColumns.h.

References project_p.

Referenced by casacore::MSObservationColumns::project().

const ROScalarColumn<Double>& casacore::ROMSObservationColumns::releaseDate ( ) const
inline

Definition at line 95 of file MSObsColumns.h.

References releaseDate_p.

Referenced by casacore::MSObservationColumns::releaseDate().

const ROScalarMeasColumn<MEpoch>& casacore::ROMSObservationColumns::releaseDateMeas ( ) const
inline

Definition at line 98 of file MSObsColumns.h.

References releaseDateMeas_p.

Referenced by casacore::MSObservationColumns::releaseDateMeas().

const ROScalarQuantColumn<Double>& casacore::ROMSObservationColumns::releaseDateQuant ( ) const
inline

Definition at line 96 of file MSObsColumns.h.

References releaseDateQuant_p.

Referenced by casacore::MSObservationColumns::releaseDateQuant().

const ROArrayColumn<String>& casacore::ROMSObservationColumns::schedule ( ) const
inline

Definition at line 100 of file MSObsColumns.h.

References schedule_p.

Referenced by casacore::MSObservationColumns::schedule().

const ROScalarColumn<String>& casacore::ROMSObservationColumns::scheduleType ( ) const
inline

Definition at line 101 of file MSObsColumns.h.

References scheduleType_p.

Referenced by casacore::MSObservationColumns::scheduleType().

const ROScalarColumn<String>& casacore::ROMSObservationColumns::telescopeName ( ) const
inline

Definition at line 102 of file MSObsColumns.h.

References telescopeName_p.

Referenced by casacore::MSObservationColumns::telescopeName().

const ROArrayColumn<Double>& casacore::ROMSObservationColumns::timeRange ( ) const
inline

Definition at line 103 of file MSObsColumns.h.

References timeRange_p.

Referenced by casacore::MSObservationColumns::timeRange().

const ROArrayMeasColumn<MEpoch>& casacore::ROMSObservationColumns::timeRangeMeas ( ) const
inline

Definition at line 106 of file MSObsColumns.h.

References timeRangeMeas_p.

Referenced by casacore::MSObservationColumns::timeRangeMeas().

const ROArrayQuantColumn<Double>& casacore::ROMSObservationColumns::timeRangeQuant ( ) const
inline

Definition at line 104 of file MSObsColumns.h.

References timeRangeQuant_p.

Referenced by casacore::MSObservationColumns::timeRangeQuant().

Member Data Documentation

ROScalarColumn<Bool> casacore::ROMSObservationColumns::flagRow_p
private

Definition at line 128 of file MSObsColumns.h.

Referenced by flagRow(), and nrow().

ROArrayColumn<String> casacore::ROMSObservationColumns::log_p
private

Definition at line 129 of file MSObsColumns.h.

Referenced by log().

ROScalarColumn<String> casacore::ROMSObservationColumns::observer_p
private

Definition at line 130 of file MSObsColumns.h.

Referenced by observer().

ROScalarColumn<String> casacore::ROMSObservationColumns::project_p
private

Definition at line 131 of file MSObsColumns.h.

Referenced by project().

ROScalarColumn<Double> casacore::ROMSObservationColumns::releaseDate_p
private

Definition at line 132 of file MSObsColumns.h.

Referenced by releaseDate().

ROScalarMeasColumn<MEpoch> casacore::ROMSObservationColumns::releaseDateMeas_p
private

Definition at line 139 of file MSObsColumns.h.

Referenced by releaseDateMeas().

ROScalarQuantColumn<Double> casacore::ROMSObservationColumns::releaseDateQuant_p
private

Definition at line 143 of file MSObsColumns.h.

Referenced by releaseDateQuant().

ROArrayColumn<String> casacore::ROMSObservationColumns::schedule_p
private

Definition at line 133 of file MSObsColumns.h.

Referenced by schedule().

ROScalarColumn<String> casacore::ROMSObservationColumns::scheduleType_p
private

Definition at line 134 of file MSObsColumns.h.

Referenced by scheduleType().

ROScalarColumn<String> casacore::ROMSObservationColumns::telescopeName_p
private

Definition at line 135 of file MSObsColumns.h.

Referenced by telescopeName().

ROArrayColumn<Double> casacore::ROMSObservationColumns::timeRange_p
private

Definition at line 136 of file MSObsColumns.h.

Referenced by timeRange().

ROArrayMeasColumn<MEpoch> casacore::ROMSObservationColumns::timeRangeMeas_p
private

Definition at line 140 of file MSObsColumns.h.

Referenced by timeRangeMeas().

ROArrayQuantColumn<Double> casacore::ROMSObservationColumns::timeRangeQuant_p
private

Definition at line 144 of file MSObsColumns.h.

Referenced by timeRangeQuant().


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