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

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

#include <MSHistoryColumns.h>

Inheritance diagram for casacore::ROMSHistoryColumns:
casacore::MSHistoryColumns

Public Member Functions

 ROMSHistoryColumns (const MSHistory &msHistory)
 Create a columns object that accesses the data in the specified Table. More...
 
 ~ROMSHistoryColumns ()
 The destructor does nothing special. More...
 
const ROScalarColumn< String > & application () const
 Access to required columns. More...
 
const ROArrayColumn< String > & appParams () const
 
const ROArrayColumn< String > & cliCommand () const
 
const ROScalarColumn< String > & message () const
 
const ROScalarColumn< Int > & objectId () const
 
const ROScalarColumn< Int > & observationId () const
 
const ROScalarColumn< String > & origin () const
 
const ROScalarColumn< String > & priority () const
 
const ROScalarColumn< Double > & time () const
 
const ROScalarQuantColumn
< Double > & 
timeQuant () const
 
const ROScalarMeasColumn
< MEpoch > & 
timeMeas () const
 
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns. More...
 

Protected Member Functions

 ROMSHistoryColumns ()
 
void attach (const MSHistory &msHistory)
 

Private Member Functions

 ROMSHistoryColumns (const ROMSHistoryColumns &)
 
ROMSHistoryColumnsoperator= (const ROMSHistoryColumns &)
 

Private Attributes

ROScalarColumn< Stringapplication_p
 
ROArrayColumn< StringappParams_p
 
ROArrayColumn< StringcliCommand_p
 
ROScalarColumn< Stringmessage_p
 
ROScalarColumn< IntobjectId_p
 
ROScalarColumn< IntobservationId_p
 
ROScalarColumn< Stringorigin_p
 
ROScalarColumn< Stringpriority_p
 
ROScalarColumn< Doubletime_p
 
ROScalarMeasColumn< MEpochtimeMeas_p
 
ROScalarQuantColumn< DoubletimeQuant_p
 

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

ROMSHistoryColumns stands for Read-Only MeasurementSet History Table columns.

Synopsis

This class provides read-only access to the columns in the MSHistory 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 76 of file MSHistoryColumns.h.

Constructor & Destructor Documentation

casacore::ROMSHistoryColumns::ROMSHistoryColumns ( const MSHistory msHistory)

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

casacore::ROMSHistoryColumns::~ROMSHistoryColumns ( )

The destructor does nothing special.

casacore::ROMSHistoryColumns::ROMSHistoryColumns ( )
protected
casacore::ROMSHistoryColumns::ROMSHistoryColumns ( const ROMSHistoryColumns )
private

Member Function Documentation

const ROScalarColumn<String>& casacore::ROMSHistoryColumns::application ( ) const
inline

Access to required columns.

Definition at line 87 of file MSHistoryColumns.h.

References application_p.

Referenced by casacore::MSHistoryColumns::application().

const ROArrayColumn<String>& casacore::ROMSHistoryColumns::appParams ( ) const
inline

Definition at line 88 of file MSHistoryColumns.h.

References appParams_p.

Referenced by casacore::MSHistoryColumns::appParams().

void casacore::ROMSHistoryColumns::attach ( const MSHistory msHistory)
protected
const ROArrayColumn<String>& casacore::ROMSHistoryColumns::cliCommand ( ) const
inline

Definition at line 89 of file MSHistoryColumns.h.

References cliCommand_p.

Referenced by casacore::MSHistoryColumns::cliCommand().

const ROScalarColumn<String>& casacore::ROMSHistoryColumns::message ( ) const
inline

Definition at line 90 of file MSHistoryColumns.h.

References message_p.

Referenced by casacore::MSHistoryColumns::message().

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

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

Definition at line 101 of file MSHistoryColumns.h.

References application_p.

const ROScalarColumn<Int>& casacore::ROMSHistoryColumns::objectId ( ) const
inline

Definition at line 91 of file MSHistoryColumns.h.

References objectId_p.

Referenced by casacore::MSHistoryColumns::objectId().

const ROScalarColumn<Int>& casacore::ROMSHistoryColumns::observationId ( ) const
inline

Definition at line 92 of file MSHistoryColumns.h.

References observationId_p.

Referenced by casacore::MSHistoryColumns::observationId().

ROMSHistoryColumns& casacore::ROMSHistoryColumns::operator= ( const ROMSHistoryColumns )
private
const ROScalarColumn<String>& casacore::ROMSHistoryColumns::origin ( ) const
inline

Definition at line 93 of file MSHistoryColumns.h.

References origin_p.

Referenced by casacore::MSHistoryColumns::origin().

const ROScalarColumn<String>& casacore::ROMSHistoryColumns::priority ( ) const
inline

Definition at line 94 of file MSHistoryColumns.h.

References priority_p.

Referenced by casacore::MSHistoryColumns::priority().

const ROScalarColumn<Double>& casacore::ROMSHistoryColumns::time ( void  ) const
inline

Definition at line 95 of file MSHistoryColumns.h.

References time_p.

Referenced by casacore::MSHistoryColumns::time().

const ROScalarMeasColumn<MEpoch>& casacore::ROMSHistoryColumns::timeMeas ( ) const
inline

Definition at line 97 of file MSHistoryColumns.h.

References timeMeas_p.

Referenced by casacore::MSHistoryColumns::timeMeas().

const ROScalarQuantColumn<Double>& casacore::ROMSHistoryColumns::timeQuant ( ) const
inline

Definition at line 96 of file MSHistoryColumns.h.

References timeQuant_p.

Referenced by casacore::MSHistoryColumns::timeQuant().

Member Data Documentation

ROScalarColumn<String> casacore::ROMSHistoryColumns::application_p
private

Definition at line 118 of file MSHistoryColumns.h.

Referenced by application(), and nrow().

ROArrayColumn<String> casacore::ROMSHistoryColumns::appParams_p
private

Definition at line 119 of file MSHistoryColumns.h.

Referenced by appParams().

ROArrayColumn<String> casacore::ROMSHistoryColumns::cliCommand_p
private

Definition at line 120 of file MSHistoryColumns.h.

Referenced by cliCommand().

ROScalarColumn<String> casacore::ROMSHistoryColumns::message_p
private

Definition at line 121 of file MSHistoryColumns.h.

Referenced by message().

ROScalarColumn<Int> casacore::ROMSHistoryColumns::objectId_p
private

Definition at line 122 of file MSHistoryColumns.h.

Referenced by objectId().

ROScalarColumn<Int> casacore::ROMSHistoryColumns::observationId_p
private

Definition at line 123 of file MSHistoryColumns.h.

Referenced by observationId().

ROScalarColumn<String> casacore::ROMSHistoryColumns::origin_p
private

Definition at line 124 of file MSHistoryColumns.h.

Referenced by origin().

ROScalarColumn<String> casacore::ROMSHistoryColumns::priority_p
private

Definition at line 125 of file MSHistoryColumns.h.

Referenced by priority().

ROScalarColumn<Double> casacore::ROMSHistoryColumns::time_p
private

Definition at line 126 of file MSHistoryColumns.h.

Referenced by time().

ROScalarMeasColumn<MEpoch> casacore::ROMSHistoryColumns::timeMeas_p
private

Definition at line 129 of file MSHistoryColumns.h.

Referenced by timeMeas().

ROScalarQuantColumn<Double> casacore::ROMSHistoryColumns::timeQuant_p
private

Definition at line 132 of file MSHistoryColumns.h.

Referenced by timeQuant().


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