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

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

#include <MSFlagCmdColumns.h>

Inheritance diagram for casa::ROMSFlagCmdColumns:
casa::MSFlagCmdColumns

List of all members.

Public Member Functions

 ROMSFlagCmdColumns (const MSFlagCmd &msFlagCmd)
 Create a columns object that accesses the data in the specified Table.
 ~ROMSFlagCmdColumns ()
 The destructor does nothing special.
const ROScalarColumn< Bool > & applied () const
 Access to required columns.
const ROScalarColumn< String > & command () const
const ROScalarQuantColumn
< Double > & 
intervalQuant () const
const ROScalarColumn< Double > & interval () const
const ROScalarColumn< Int > & level () const
const ROScalarColumn< String > & reason () const
const ROScalarColumn< Int > & severity () const
const ROScalarColumn< Double > & time () const
const ROScalarQuantColumn
< Double > & 
timeQuant () const
const ROScalarMeasColumn
< MEpoch > & 
timeMeas () const
const ROScalarColumn< String > & type () const
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns.

Protected Member Functions

 ROMSFlagCmdColumns ()
void attach (const MSFlagCmd &msFlagCmd)

Private Member Functions

 ROMSFlagCmdColumns (const ROMSFlagCmdColumns &)
ROMSFlagCmdColumnsoperator= (const ROMSFlagCmdColumns &)

Private Attributes

ROScalarColumn< Boolapplied_p
ROScalarColumn< Stringcommand_p
ROScalarColumn< Doubleinterval_p
ROScalarColumn< Intlevel_p
ROScalarColumn< Stringreason_p
ROScalarColumn< Intseverity_p
ROScalarColumn< Doubletime_p
ROScalarColumn< Stringtype_p
ROScalarMeasColumn< MEpochtimeMeas_p
ROScalarQuantColumn< DoubleintervalQuant_p
ROScalarQuantColumn< DoubletimeQuant_p

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

ROMSFlagCmdColumns stands for Read-Only MeasurementSet FlagCmd Table columns.

Synopsis

This class provides read-only access to the columns in the MSFlagCmd Table. It does the declaration of all the ScalarColumns 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 MSFlagCmdColumns.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::MSFlagCmdColumns.

Definition at line 86 of file MSFlagCmdColumns.h.

References applied_p.

void casa::ROMSFlagCmdColumns::attach ( const MSFlagCmd msFlagCmd) [protected]

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 87 of file MSFlagCmdColumns.h.

References command_p.

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 90 of file MSFlagCmdColumns.h.

References interval_p.

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 88 of file MSFlagCmdColumns.h.

References intervalQuant_p.

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 91 of file MSFlagCmdColumns.h.

References level_p.

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

Definition at line 101 of file MSFlagCmdColumns.h.

References applied_p.

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

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 92 of file MSFlagCmdColumns.h.

References reason_p.

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 93 of file MSFlagCmdColumns.h.

References severity_p.

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 94 of file MSFlagCmdColumns.h.

References time_p.

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 96 of file MSFlagCmdColumns.h.

References timeMeas_p.

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 95 of file MSFlagCmdColumns.h.

References timeQuant_p.

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 97 of file MSFlagCmdColumns.h.

References type_p.


Member Data Documentation

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 118 of file MSFlagCmdColumns.h.

Referenced by applied(), and nrow().

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 119 of file MSFlagCmdColumns.h.

Referenced by command().

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 120 of file MSFlagCmdColumns.h.

Referenced by interval().

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 131 of file MSFlagCmdColumns.h.

Referenced by intervalQuant().

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 121 of file MSFlagCmdColumns.h.

Referenced by level().

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 122 of file MSFlagCmdColumns.h.

Referenced by reason().

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 123 of file MSFlagCmdColumns.h.

Referenced by severity().

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 124 of file MSFlagCmdColumns.h.

Referenced by time().

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 128 of file MSFlagCmdColumns.h.

Referenced by timeMeas().

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 132 of file MSFlagCmdColumns.h.

Referenced by timeQuant().

Reimplemented in casa::MSFlagCmdColumns.

Definition at line 125 of file MSFlagCmdColumns.h.

Referenced by type().


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