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

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

#include <MSFlagCmdColumns.h>

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

List of all members.

Public Member Functions

 MSFlagCmdColumns (MSFlagCmd &msFlagCmd)
 Create a columns object that accesses the data in the specified Table.
 ~MSFlagCmdColumns ()
 The destructor does nothing special.
ScalarColumn< Bool > & applied ()
 Read-write access to required columns.
ScalarColumn< String > & command ()
ScalarColumn< Double > & interval ()
ScalarQuantColumn< Double > & intervalQuant ()
ScalarColumn< Int > & level ()
ScalarColumn< String > & reason ()
ScalarColumn< Int > & severity ()
ScalarColumn< Double > & time ()
ScalarQuantColumn< Double > & timeQuant ()
ScalarMeasColumn< MEpoch > & timeMeas ()
ScalarColumn< String > & type ()
const ROScalarColumn< Bool > & applied () const
 Read-only 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
void setEpochRef (MEpoch::Types ref, Bool tableMustBeEmpty=True)
 set the epoch type for the FLAG_CMD column.

Protected Member Functions

 MSFlagCmdColumns ()
void attach (MSFlagCmd &msFlagCmd)

Private Member Functions

 MSFlagCmdColumns (const MSFlagCmdColumns &)
MSFlagCmdColumnsoperator= (const MSFlagCmdColumns &)

Private Attributes

ScalarColumn< Boolapplied_p
ScalarColumn< Stringcommand_p
ScalarColumn< Doubleinterval_p
ScalarColumn< Intlevel_p
ScalarColumn< Stringreason_p
ScalarColumn< Intseverity_p
ScalarColumn< Doubletime_p
ScalarColumn< Stringtype_p
ScalarMeasColumn< MEpochtimeMeas_p
ScalarQuantColumn< DoubleintervalQuant_p
ScalarQuantColumn< DoubletimeQuant_p

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

MSFlagCmdColumns stands for MeasurementSet FlagCmd Table columns.

Synopsis

This class provides 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 MSColumns for an example.

Motivation

See MSColumns for the motivation.

Definition at line 167 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

Read-write access to required columns.

Definition at line 178 of file MSFlagCmdColumns.h.

References applied_p.

Referenced by applied().

Read-only access to required columns.

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 193 of file MSFlagCmdColumns.h.

References applied().

void casa::MSFlagCmdColumns::attach ( MSFlagCmd msFlagCmd) [protected]

Definition at line 179 of file MSFlagCmdColumns.h.

References command_p.

Referenced by command().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 195 of file MSFlagCmdColumns.h.

References command().

Definition at line 180 of file MSFlagCmdColumns.h.

References interval_p.

Referenced by interval().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 199 of file MSFlagCmdColumns.h.

References interval().

Definition at line 181 of file MSFlagCmdColumns.h.

References intervalQuant_p.

Referenced by intervalQuant().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 197 of file MSFlagCmdColumns.h.

References intervalQuant().

Definition at line 182 of file MSFlagCmdColumns.h.

References level_p.

Referenced by level().

const ROScalarColumn<Int>& casa::MSFlagCmdColumns::level ( ) const [inline]

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 201 of file MSFlagCmdColumns.h.

References level().

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

Definition at line 183 of file MSFlagCmdColumns.h.

References reason_p.

Referenced by reason().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 203 of file MSFlagCmdColumns.h.

References reason().

void casa::MSFlagCmdColumns::setEpochRef ( MEpoch::Types  ref,
Bool  tableMustBeEmpty = True 
)

set the epoch type for the FLAG_CMD column.


Tip: In principle this function can only be used if the table is empty, otherwise already written values may thereafter have an incorrect reference, offset, or unit; However, it is possible that part of the table gets written before these values are known; In that case the reference, offset, or units can be set by using a False tableMustBeEmpty argument;

Definition at line 184 of file MSFlagCmdColumns.h.

References severity_p.

Referenced by severity().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 205 of file MSFlagCmdColumns.h.

References severity().

Definition at line 185 of file MSFlagCmdColumns.h.

References time_p.

Referenced by time().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 207 of file MSFlagCmdColumns.h.

References time().

Definition at line 187 of file MSFlagCmdColumns.h.

References timeMeas_p.

Referenced by timeMeas().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 211 of file MSFlagCmdColumns.h.

References timeMeas().

Definition at line 186 of file MSFlagCmdColumns.h.

References timeQuant_p.

Referenced by timeQuant().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 209 of file MSFlagCmdColumns.h.

References timeQuant().

Definition at line 188 of file MSFlagCmdColumns.h.

References type_p.

Referenced by type().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 213 of file MSFlagCmdColumns.h.

References type().


Member Data Documentation

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 243 of file MSFlagCmdColumns.h.

Referenced by applied().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 244 of file MSFlagCmdColumns.h.

Referenced by command().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 245 of file MSFlagCmdColumns.h.

Referenced by interval().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 256 of file MSFlagCmdColumns.h.

Referenced by intervalQuant().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 246 of file MSFlagCmdColumns.h.

Referenced by level().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 247 of file MSFlagCmdColumns.h.

Referenced by reason().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 248 of file MSFlagCmdColumns.h.

Referenced by severity().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 249 of file MSFlagCmdColumns.h.

Referenced by time().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 253 of file MSFlagCmdColumns.h.

Referenced by timeMeas().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 257 of file MSFlagCmdColumns.h.

Referenced by timeQuant().

Reimplemented from casa::ROMSFlagCmdColumns.

Definition at line 250 of file MSFlagCmdColumns.h.

Referenced by type().


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