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

MSSelectableTable: An interface class used by MSSelection module to access the sub-tables and main-table columns of MS-like tables. More...

#include <MSSelectableTable.h>

Inheritance diagram for casa::MSSelectableTable:
casa::CTInterface casa::MSInterface

List of all members.

Public Member Functions

 MSSelectableTable ()
 MSSelectableTable (const Table &table)
virtual ~MSSelectableTable ()
virtual void setTable (const Table &table)
const Tabletable ()
TableExprNode col (const String &colName)
virtual Bool isMS ()=0
virtual const MSAntennaantenna ()=0
virtual const MSFieldfield ()=0
virtual const MSSpectralWindowspectralWindow ()=0
virtual const MSDataDescriptiondataDescription ()=0
virtual const MSObservationobservation ()=0
virtual String columnName (MSMainEnums::PredefinedColumns nameEnum)=0
virtual const MeasurementSetasMS ()=0
virtual MSSelectableMainColumnmainColumns ()=0

Protected Attributes

const Tabletable_p

Detailed Description

MSSelectableTable: An interface class used by MSSelection module to access the sub-tables and main-table columns of MS-like tables.

Intended use:

Public interface

Etymology

From "msselection" and "table".

Synopsis

This is a pure virtual base-class to provide a table-type agnostic interface to the MSSelection module to access sub-tables and main-table columns of MS-like tables.

Example

Motivation

To allow use of the MSSelection module for selection on any table that follows the general structure of the MS database. Via this class, minor differences in the database layout can be hidden from the MSSelection module. This also keeps MeasurementSet module from depending on other MS-like database implemention which may use the MSSelection module. Such usage will need to implement a specialization of MSSelectableTable and use it to instantiate the MSSelection object.

Definition at line 98 of file MSSelectableTable.h.


Constructor & Destructor Documentation

Definition at line 101 of file MSSelectableTable.h.

Definition at line 102 of file MSSelectableTable.h.

References table(), and table_p.

virtual casa::MSSelectableTable::~MSSelectableTable ( ) [inline, virtual]

Definition at line 103 of file MSSelectableTable.h.


Member Function Documentation

virtual const MSAntenna& casa::MSSelectableTable::antenna ( ) [pure virtual]

Implemented in casa::MSInterface, and casa::CTInterface.

virtual const MeasurementSet* casa::MSSelectableTable::asMS ( ) [pure virtual]

Implemented in casa::MSInterface, and casa::CTInterface.

TableExprNode casa::MSSelectableTable::col ( const String colName) [inline]

Definition at line 107 of file MSSelectableTable.h.

References casa::Table::col(), and table().

Implemented in casa::MSInterface, and casa::CTInterface.

Implemented in casa::MSInterface, and casa::CTInterface.

virtual const MSField& casa::MSSelectableTable::field ( ) [pure virtual]

Implemented in casa::MSInterface, and casa::CTInterface.

virtual Bool casa::MSSelectableTable::isMS ( ) [pure virtual]

Implemented in casa::MSInterface, and casa::CTInterface.

Implemented in casa::MSInterface, and casa::CTInterface.

virtual const MSObservation& casa::MSSelectableTable::observation ( ) [pure virtual]

Implemented in casa::MSInterface, and casa::CTInterface.

virtual void casa::MSSelectableTable::setTable ( const Table table) [inline, virtual]

Definition at line 105 of file MSSelectableTable.h.

References table(), and table_p.

virtual const MSSpectralWindow& casa::MSSelectableTable::spectralWindow ( ) [pure virtual]

Implemented in casa::MSInterface, and casa::CTInterface.

Definition at line 106 of file MSSelectableTable.h.

References table_p.

Referenced by casa::MSInterface::asMS(), col(), MSSelectableTable(), and setTable().


Member Data Documentation

Definition at line 122 of file MSSelectableTable.h.

Referenced by MSSelectableTable(), setTable(), and table().


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