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

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

#include <MSFlagCmdColumns.h>

Inheritance diagram for casacore::ROMSFlagCmdColumns:
casacore::MSFlagCmdColumns

Public Member Functions

 ROMSFlagCmdColumns (const MSFlagCmd &msFlagCmd)
 Create a columns object that accesses the data in the specified Table. More...
 
 ~ROMSFlagCmdColumns ()
 The destructor does nothing special. More...
 
const ROScalarColumn< Bool > & applied () const
 Access to required columns. More...
 
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. More...
 

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

casacore::ROMSFlagCmdColumns::ROMSFlagCmdColumns ( const MSFlagCmd msFlagCmd)

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

casacore::ROMSFlagCmdColumns::~ROMSFlagCmdColumns ( )

The destructor does nothing special.

casacore::ROMSFlagCmdColumns::ROMSFlagCmdColumns ( )
protected
casacore::ROMSFlagCmdColumns::ROMSFlagCmdColumns ( const ROMSFlagCmdColumns )
private

Member Function Documentation

const ROScalarColumn<Bool>& casacore::ROMSFlagCmdColumns::applied ( ) const
inline

Access to required columns.

Definition at line 86 of file MSFlagCmdColumns.h.

References applied_p.

Referenced by casacore::MSFlagCmdColumns::applied().

void casacore::ROMSFlagCmdColumns::attach ( const MSFlagCmd msFlagCmd)
protected
const ROScalarColumn<String>& casacore::ROMSFlagCmdColumns::command ( ) const
inline

Definition at line 87 of file MSFlagCmdColumns.h.

References command_p.

Referenced by casacore::MSFlagCmdColumns::command().

const ROScalarColumn<Double>& casacore::ROMSFlagCmdColumns::interval ( ) const
inline

Definition at line 90 of file MSFlagCmdColumns.h.

References interval_p.

Referenced by casacore::MSFlagCmdColumns::interval().

const ROScalarQuantColumn<Double>& casacore::ROMSFlagCmdColumns::intervalQuant ( ) const
inline

Definition at line 88 of file MSFlagCmdColumns.h.

References intervalQuant_p.

Referenced by casacore::MSFlagCmdColumns::intervalQuant().

const ROScalarColumn<Int>& casacore::ROMSFlagCmdColumns::level ( ) const
inline

Definition at line 91 of file MSFlagCmdColumns.h.

References level_p.

Referenced by casacore::MSFlagCmdColumns::level().

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

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& casacore::ROMSFlagCmdColumns::operator= ( const ROMSFlagCmdColumns )
private
const ROScalarColumn<String>& casacore::ROMSFlagCmdColumns::reason ( ) const
inline

Definition at line 92 of file MSFlagCmdColumns.h.

References reason_p.

Referenced by casacore::MSFlagCmdColumns::reason().

const ROScalarColumn<Int>& casacore::ROMSFlagCmdColumns::severity ( ) const
inline

Definition at line 93 of file MSFlagCmdColumns.h.

References severity_p.

Referenced by casacore::MSFlagCmdColumns::severity().

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

Definition at line 94 of file MSFlagCmdColumns.h.

References time_p.

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

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

Definition at line 96 of file MSFlagCmdColumns.h.

References timeMeas_p.

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

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

Definition at line 95 of file MSFlagCmdColumns.h.

References timeQuant_p.

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

const ROScalarColumn<String>& casacore::ROMSFlagCmdColumns::type ( ) const
inline

Definition at line 97 of file MSFlagCmdColumns.h.

References type_p.

Referenced by casacore::MSFlagCmdColumns::type().

Member Data Documentation

ROScalarColumn<Bool> casacore::ROMSFlagCmdColumns::applied_p
private

Definition at line 118 of file MSFlagCmdColumns.h.

Referenced by applied(), and nrow().

ROScalarColumn<String> casacore::ROMSFlagCmdColumns::command_p
private

Definition at line 119 of file MSFlagCmdColumns.h.

Referenced by command().

ROScalarColumn<Double> casacore::ROMSFlagCmdColumns::interval_p
private

Definition at line 120 of file MSFlagCmdColumns.h.

Referenced by interval().

ROScalarQuantColumn<Double> casacore::ROMSFlagCmdColumns::intervalQuant_p
private

Definition at line 131 of file MSFlagCmdColumns.h.

Referenced by intervalQuant().

ROScalarColumn<Int> casacore::ROMSFlagCmdColumns::level_p
private

Definition at line 121 of file MSFlagCmdColumns.h.

Referenced by level().

ROScalarColumn<String> casacore::ROMSFlagCmdColumns::reason_p
private

Definition at line 122 of file MSFlagCmdColumns.h.

Referenced by reason().

ROScalarColumn<Int> casacore::ROMSFlagCmdColumns::severity_p
private

Definition at line 123 of file MSFlagCmdColumns.h.

Referenced by severity().

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

Definition at line 124 of file MSFlagCmdColumns.h.

Referenced by time().

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

Definition at line 128 of file MSFlagCmdColumns.h.

Referenced by timeMeas().

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

Definition at line 132 of file MSFlagCmdColumns.h.

Referenced by timeQuant().

ROScalarColumn<String> casacore::ROMSFlagCmdColumns::type_p
private

Definition at line 125 of file MSFlagCmdColumns.h.

Referenced by type().


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