casa::MSPolarization Class Reference
[MeasurementSets]

#include <MSPolarization.h>

Inheritance diagram for casa::MSPolarization:

Inheritance graph
[legend]
Collaboration diagram for casa::MSPolarization:

Collaboration graph
[legend]
List of all members.

Detailed Description

A Table intended to hold a MeasurementSet POLARIZATION table.

Intended use:

Part of API

Review Status

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

Prerequisite

MeasurementSet MSTable

Etymology

MSPolarization stands for the MeasurementSet Polarization table.

Synopsis

An MSPolarization is a table intended to hold the POLARIZATION table for the MeasurementSet. It has an identical set of member functions as the main MeasurementSet class, except (currently) for the default calibration members. For further info and examples see the MeasurementSet class.

Example

See the MeasurementSet for an example of how to access and use this class.

Motivation

It was found that subtables and the main table of the MeasurementSet have a lot in common, therefore they derive their interface from the same base class. Each subtable has its own class to keep the enum definitions and conversion functions in separate scopes.

To Do

MeasurementSet.

Definition at line 80 of file MSPolarization.h.

Public Member Functions

 MSPolarization ()
 This constructs an empty MSPolarization.
 ~MSPolarization ()
 As with tables, the destructor writes the table if necessary.
MSPolarizationoperator= (const MSPolarization &)
 Assignment operator, reference semantics.
MSPolarization referenceCopy (const String &newTableName, const Block< String > &writableColumns) const
 Make a special copy of this Table which references all columns from this Table except those mentioned; those are empty and writable.

Static Public Member Functions

static void init ()
 Initialize the statics appropriately.

Private Attributes

Bool hasBeenDestroyed_p
 required by the need to throw an exception in the destructor


Constructor & Destructor Documentation

casa::MSPolarization::MSPolarization (  ) 

This constructs an empty MSPolarization.

casa::MSPolarization::MSPolarization ( const String tableName,
TableOption  = Table::Old 
)

These constructors mirror the Table ones with additional checking on validity (verifying that the MSPolarization will have the required columns and keywords) An exception is thrown if the constructed Table is not a valid MSPolarization.

Thrown Exceptions

casa::MSPolarization::MSPolarization ( const String tableName,
const String tableDescName,
TableOption  = Table::Old 
)

casa::MSPolarization::MSPolarization ( SetupNewTable newTab,
uInt  nrrow = 0,
Bool  initialize = False 
)

casa::MSPolarization::MSPolarization ( const Table table  ) 

casa::MSPolarization::MSPolarization ( const MSPolarization other  ) 

casa::MSPolarization::~MSPolarization (  ) 

As with tables, the destructor writes the table if necessary.

Additional checking is done here to verify that all required columns are still present. If it is NOT valid, it will write the table and then throw an exception.

Thrown Exceptions

casa::MSPolarization::MSPolarization ( const String tableName,
TableOption  = Table::Old 
)

These constructors mirror the Table ones with additional checking on validity (verifying that the MSPolarization will have the required columns and keywords) An exception is thrown if the constructed Table is not a valid MSPolarization.

Thrown Exceptions

casa::MSPolarization::MSPolarization ( const String tableName,
const String tableDescName,
TableOption  = Table::Old 
)

casa::MSPolarization::MSPolarization ( SetupNewTable newTab,
uInt  nrrow = 0,
Bool  initialize = False 
)

casa::MSPolarization::MSPolarization ( const Table table  ) 

casa::MSPolarization::MSPolarization ( const MSPolarization other  ) 


Member Function Documentation

MSPolarization& casa::MSPolarization::operator= ( const MSPolarization  ) 

Assignment operator, reference semantics.

MSPolarization casa::MSPolarization::referenceCopy ( const String newTableName,
const Block< String > &  writableColumns 
) const

Make a special copy of this Table which references all columns from this Table except those mentioned; those are empty and writable.

Each forwarded column has the same writable status as the underlying column. The mentioned columns all use the AipsIO storage manager. This function is inherited from MSTable and unlikely to be of use, except in the class MeasurementSet (see comment there).\.

Reimplemented from casa::MSTable< ColEnum, KeyEnum >.

static void casa::MSPolarization::init (  )  [static]

Initialize the statics appropriately.

This does not need to be called by users, it is called by the implementation class MSTableImpl.


Member Data Documentation

Bool casa::MSPolarization::hasBeenDestroyed_p [private]

required by the need to throw an exception in the destructor

Definition at line 135 of file MSPolarization.h.


The documentation for this class was generated from the following file:
Generated on Tue Aug 26 22:35:17 2008 for NRAOCASA by  doxygen 1.5.1