casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
casa::ROMSHistoryColumns Class Reference

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

#include <MSHistoryColumns.h>

Inheritance diagram for casa::ROMSHistoryColumns:
casa::MSHistoryColumns

List of all members.

Public Member Functions

 ROMSHistoryColumns (const MSHistory &msHistory)
 Create a columns object that accesses the data in the specified Table.
 ~ROMSHistoryColumns ()
 The destructor does nothing special.
const ROScalarColumn< String > & application () const
 Access to required columns.
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.

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

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

The destructor does nothing special.


Member Function Documentation

Access to required columns.

Reimplemented in casa::MSHistoryColumns.

Definition at line 87 of file MSHistoryColumns.h.

References application_p.

Reimplemented in casa::MSHistoryColumns.

Definition at line 88 of file MSHistoryColumns.h.

References appParams_p.

void casa::ROMSHistoryColumns::attach ( const MSHistory msHistory) [protected]

Reimplemented in casa::MSHistoryColumns.

Definition at line 89 of file MSHistoryColumns.h.

References cliCommand_p.

Reimplemented in casa::MSHistoryColumns.

Definition at line 90 of file MSHistoryColumns.h.

References message_p.

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

Definition at line 101 of file MSHistoryColumns.h.

References application_p.

Reimplemented in casa::MSHistoryColumns.

Definition at line 91 of file MSHistoryColumns.h.

References objectId_p.

Reimplemented in casa::MSHistoryColumns.

Definition at line 92 of file MSHistoryColumns.h.

References observationId_p.

ROMSHistoryColumns& casa::ROMSHistoryColumns::operator= ( const ROMSHistoryColumns ) [private]

Reimplemented in casa::MSHistoryColumns.

Definition at line 93 of file MSHistoryColumns.h.

References origin_p.

Reimplemented in casa::MSHistoryColumns.

Definition at line 94 of file MSHistoryColumns.h.

References priority_p.

Reimplemented in casa::MSHistoryColumns.

Definition at line 95 of file MSHistoryColumns.h.

References time_p.

Reimplemented in casa::MSHistoryColumns.

Definition at line 97 of file MSHistoryColumns.h.

References timeMeas_p.

Reimplemented in casa::MSHistoryColumns.

Definition at line 96 of file MSHistoryColumns.h.

References timeQuant_p.


Member Data Documentation

Reimplemented in casa::MSHistoryColumns.

Definition at line 118 of file MSHistoryColumns.h.

Referenced by application(), and nrow().

Reimplemented in casa::MSHistoryColumns.

Definition at line 119 of file MSHistoryColumns.h.

Referenced by appParams().

Reimplemented in casa::MSHistoryColumns.

Definition at line 120 of file MSHistoryColumns.h.

Referenced by cliCommand().

Reimplemented in casa::MSHistoryColumns.

Definition at line 121 of file MSHistoryColumns.h.

Referenced by message().

Reimplemented in casa::MSHistoryColumns.

Definition at line 122 of file MSHistoryColumns.h.

Referenced by objectId().

Reimplemented in casa::MSHistoryColumns.

Definition at line 123 of file MSHistoryColumns.h.

Referenced by observationId().

Reimplemented in casa::MSHistoryColumns.

Definition at line 124 of file MSHistoryColumns.h.

Referenced by origin().

Reimplemented in casa::MSHistoryColumns.

Definition at line 125 of file MSHistoryColumns.h.

Referenced by priority().

Reimplemented in casa::MSHistoryColumns.

Definition at line 126 of file MSHistoryColumns.h.

Referenced by time().

Reimplemented in casa::MSHistoryColumns.

Definition at line 129 of file MSHistoryColumns.h.

Referenced by timeMeas().

Reimplemented in casa::MSHistoryColumns.

Definition at line 132 of file MSHistoryColumns.h.

Referenced by timeQuant().


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