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

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

#include <MSProcessorColumns.h>

Inheritance diagram for casacore::MSProcessorColumns:
casacore::ROMSProcessorColumns

Public Member Functions

 MSProcessorColumns (MSProcessor &msProcessor)
 Create a columns object that accesses the data in the specified Table. More...
 
 ~MSProcessorColumns ()
 The destructor does nothing special. More...
 
ScalarColumn< Bool > & flagRow ()
 Read-write access to required columns. More...
 
ScalarColumn< Int > & modeId ()
 
ScalarColumn< String > & type ()
 
ScalarColumn< Int > & typeId ()
 
ScalarColumn< String > & subType ()
 
ScalarColumn< Int > & passId ()
 Read-write access to optional columns. More...
 
const ROScalarColumn< Bool > & flagRow () const
 Read-only access to required columns. More...
 
const ROScalarColumn< Int > & modeId () const
 
const ROScalarColumn< String > & type () const
 
const ROScalarColumn< Int > & typeId () const
 
const ROScalarColumn< String > & subType () const
 
const ROScalarColumn< Int > & passId () const
 Read-only access to optional columns. More...
 
- Public Member Functions inherited from casacore::ROMSProcessorColumns
 ROMSProcessorColumns (const MSProcessor &msProcessor)
 Create a columns object that accesses the data in the specified Table. More...
 
 ~ROMSProcessorColumns ()
 The destructor does nothing special. More...
 
const ROScalarColumn< Bool > & flagRow () const
 Access to required columns. More...
 
const ROScalarColumn< Int > & modeId () const
 
const ROScalarColumn< String > & type () const
 
const ROScalarColumn< Int > & typeId () const
 
const ROScalarColumn< String > & subType () const
 
const ROScalarColumn< Int > & passId () const
 Read-only access to optional columns. More...
 
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns. More...
 

Protected Member Functions

 MSProcessorColumns ()
 
void attach (MSProcessor &msProcessor)
 
- Protected Member Functions inherited from casacore::ROMSProcessorColumns
 ROMSProcessorColumns ()
 
void attach (const MSProcessor &msProcessor)
 

Private Member Functions

 MSProcessorColumns (const MSProcessorColumns &)
 
MSProcessorColumnsoperator= (const MSProcessorColumns &)
 
void attachOptionalCols (MSProcessor &msProcessor)
 

Private Attributes

ScalarColumn< BoolflagRow_p
 
ScalarColumn< IntmodeId_p
 
ScalarColumn< Stringtype_p
 
ScalarColumn< InttypeId_p
 
ScalarColumn< StringsubType_p
 
ScalarColumn< IntpassId_p
 

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

MSProcessorColumns stands for MeasurementSet Processor Table columns.

Synopsis

This class provides access to the columns in the MSProcessor 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 MSColumns for an example.

Motivation

See MSColumns for the motivation.

Definition at line 157 of file MSProcessorColumns.h.

Constructor & Destructor Documentation

casacore::MSProcessorColumns::MSProcessorColumns ( MSProcessor msProcessor)

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

casacore::MSProcessorColumns::~MSProcessorColumns ( )

The destructor does nothing special.

casacore::MSProcessorColumns::MSProcessorColumns ( )
protected
casacore::MSProcessorColumns::MSProcessorColumns ( const MSProcessorColumns )
private

Member Function Documentation

void casacore::MSProcessorColumns::attach ( MSProcessor msProcessor)
protected
void casacore::MSProcessorColumns::attachOptionalCols ( MSProcessor msProcessor)
private
ScalarColumn<Bool>& casacore::MSProcessorColumns::flagRow ( )
inline

Read-write access to required columns.

Definition at line 168 of file MSProcessorColumns.h.

References flagRow_p.

const ROScalarColumn<Bool>& casacore::MSProcessorColumns::flagRow ( ) const
inline

Read-only access to required columns.

Definition at line 182 of file MSProcessorColumns.h.

References casacore::ROMSProcessorColumns::flagRow().

ScalarColumn<Int>& casacore::MSProcessorColumns::modeId ( )
inline

Definition at line 169 of file MSProcessorColumns.h.

References modeId_p.

Referenced by casa::sdfiller::ProcessorRecord::fill().

const ROScalarColumn<Int>& casacore::MSProcessorColumns::modeId ( ) const
inline

Definition at line 184 of file MSProcessorColumns.h.

References casacore::ROMSProcessorColumns::modeId().

MSProcessorColumns& casacore::MSProcessorColumns::operator= ( const MSProcessorColumns )
private
ScalarColumn<Int>& casacore::MSProcessorColumns::passId ( )
inline

Read-write access to optional columns.

Definition at line 177 of file MSProcessorColumns.h.

References passId_p.

const ROScalarColumn<Int>& casacore::MSProcessorColumns::passId ( ) const
inline

Read-only access to optional columns.

Definition at line 196 of file MSProcessorColumns.h.

References casacore::ROMSProcessorColumns::passId().

ScalarColumn<String>& casacore::MSProcessorColumns::subType ( )
inline

Definition at line 172 of file MSProcessorColumns.h.

References subType_p.

Referenced by casa::sdfiller::ProcessorRecord::fill().

const ROScalarColumn<String>& casacore::MSProcessorColumns::subType ( ) const
inline

Definition at line 190 of file MSProcessorColumns.h.

References casacore::ROMSProcessorColumns::subType().

ScalarColumn<String>& casacore::MSProcessorColumns::type ( )
inline

Definition at line 170 of file MSProcessorColumns.h.

References type_p.

Referenced by casa::sdfiller::ProcessorRecord::fill().

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

Definition at line 186 of file MSProcessorColumns.h.

References casacore::ROMSProcessorColumns::type().

ScalarColumn<Int>& casacore::MSProcessorColumns::typeId ( )
inline

Definition at line 171 of file MSProcessorColumns.h.

References typeId_p.

Referenced by casa::sdfiller::ProcessorRecord::fill().

const ROScalarColumn<Int>& casacore::MSProcessorColumns::typeId ( ) const
inline

Definition at line 188 of file MSProcessorColumns.h.

References casacore::ROMSProcessorColumns::typeId().

Member Data Documentation

ScalarColumn<Bool> casacore::MSProcessorColumns::flagRow_p
private

Definition at line 218 of file MSProcessorColumns.h.

Referenced by flagRow().

ScalarColumn<Int> casacore::MSProcessorColumns::modeId_p
private

Definition at line 219 of file MSProcessorColumns.h.

Referenced by modeId().

ScalarColumn<Int> casacore::MSProcessorColumns::passId_p
private

Definition at line 224 of file MSProcessorColumns.h.

Referenced by passId().

ScalarColumn<String> casacore::MSProcessorColumns::subType_p
private

Definition at line 222 of file MSProcessorColumns.h.

Referenced by subType().

ScalarColumn<String> casacore::MSProcessorColumns::type_p
private

Definition at line 220 of file MSProcessorColumns.h.

Referenced by type().

ScalarColumn<Int> casacore::MSProcessorColumns::typeId_p
private

Definition at line 221 of file MSProcessorColumns.h.

Referenced by typeId().


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