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

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

#include <MSAntennaColumns.h>

Inheritance diagram for casa::MSAntennaColumns:
casa::ROMSAntennaColumns

List of all members.

Public Member Functions

 MSAntennaColumns (MSAntenna &msAntenna)
 Create a columns object that accesses the data in the specified Table.
 ~MSAntennaColumns ()
 The destructor does nothing special.
ScalarColumn< Double > & dishDiameter ()
 Read-write access to required columns.
ScalarQuantColumn< Double > & dishDiameterQuant ()
ScalarColumn< Bool > & flagRow ()
ScalarColumn< String > & mount ()
ScalarColumn< String > & name ()
ArrayColumn< Double > & offset ()
ArrayQuantColumn< Double > & offsetQuant ()
ScalarMeasColumn< MPosition > & offsetMeas ()
ArrayColumn< Double > & position ()
ArrayQuantColumn< Double > & positionQuant ()
ScalarMeasColumn< MPosition > & positionMeas ()
ScalarColumn< String > & station ()
ScalarColumn< String > & type ()
ArrayColumn< Double > & meanOrbit ()
 Read-write access to optional columns.
ScalarColumn< Int > & orbitId ()
ScalarColumn< Int > & phasedArrayId ()
const ROScalarColumn< Double > & dishDiameter () const
 Read-only access to required columns.
const ROScalarQuantColumn
< Double > & 
dishDiameterQuant () const
const ROScalarColumn< Bool > & flagRow () const
const ROScalarColumn< String > & mount () const
const ROScalarColumn< String > & name () const
const ROArrayColumn< Double > & offset () const
const ROArrayQuantColumn
< Double > & 
offsetQuant () const
const ROScalarMeasColumn
< MPosition > & 
offsetMeas () const
const ROArrayColumn< Double > & position () const
const ROArrayQuantColumn
< Double > & 
positionQuant () const
const ROScalarMeasColumn
< MPosition > & 
positionMeas () const
const ROScalarColumn< String > & station () const
const ROScalarColumn< String > & type () const
const ROArrayColumn< Double > & meanOrbit () const
 Read-only access to optional columns.
const ROScalarColumn< Int > & orbitId () const
const ROScalarColumn< Int > & phasedArrayId () const
void setPositionRef (MPosition::Types ref)
 set the position type for the POSITION column.
void setOffsetRef (MPosition::Types ref)
 set the position type for the OFFSET column.

Protected Member Functions

 MSAntennaColumns ()
void attach (MSAntenna &msAntenna)

Private Member Functions

 MSAntennaColumns (const MSAntennaColumns &)
MSAntennaColumnsoperator= (const MSAntennaColumns &)
void attachOptionalCols (MSAntenna &msAntenna)

Private Attributes

ScalarColumn< DoubledishDiameter_p
ScalarColumn< BoolflagRow_p
ScalarColumn< Stringmount_p
ScalarColumn< Stringname_p
ArrayColumn< Doubleoffset_p
ArrayColumn< Doubleposition_p
ScalarColumn< Stringstation_p
ScalarColumn< Stringtype_p
ArrayColumn< DoublemeanOrbit_p
ScalarColumn< IntorbitId_p
ScalarColumn< IntphasedArrayId_p
ScalarMeasColumn< MPositionoffsetMeas_p
ScalarMeasColumn< MPositionpositionMeas_p
ScalarQuantColumn< DoubledishDiameterQuant_p
ArrayQuantColumn< DoubleoffsetQuant_p
ArrayQuantColumn< DoublepositionQuant_p

Detailed Description

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

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

MSAntennaColumns stands for MeasurementSet Antenna Table columns.

Synopsis

This class provides access to the columns in the MSAntenna 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 227 of file MSAntennaColumns.h.


Constructor & Destructor Documentation

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

The destructor does nothing special.


Member Function Documentation

void casa::MSAntennaColumns::attach ( MSAntenna msAntenna) [protected]
void casa::MSAntennaColumns::attachOptionalCols ( MSAntenna msAntenna) [private]

Read-write access to required columns.

Definition at line 239 of file MSAntennaColumns.h.

References dishDiameter_p.

Referenced by dishDiameter().

Read-only access to required columns.

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 263 of file MSAntennaColumns.h.

References dishDiameter().

Definition at line 240 of file MSAntennaColumns.h.

References dishDiameterQuant_p.

Referenced by dishDiameterQuant().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 265 of file MSAntennaColumns.h.

References dishDiameterQuant().

Definition at line 241 of file MSAntennaColumns.h.

References flagRow_p.

Referenced by flagRow().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 267 of file MSAntennaColumns.h.

References flagRow().

Read-write access to optional columns.

Definition at line 256 of file MSAntennaColumns.h.

References meanOrbit_p.

Referenced by meanOrbit().

Read-only access to optional columns.

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 293 of file MSAntennaColumns.h.

References meanOrbit().

Definition at line 242 of file MSAntennaColumns.h.

References mount_p.

Referenced by mount().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 269 of file MSAntennaColumns.h.

References mount().

Definition at line 243 of file MSAntennaColumns.h.

References name_p.

Referenced by name().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 271 of file MSAntennaColumns.h.

References name().

Definition at line 244 of file MSAntennaColumns.h.

References offset_p.

Referenced by offset().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 273 of file MSAntennaColumns.h.

References offset().

Definition at line 246 of file MSAntennaColumns.h.

References offsetMeas_p.

Referenced by offsetMeas().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 277 of file MSAntennaColumns.h.

References offsetMeas().

Definition at line 245 of file MSAntennaColumns.h.

References offsetQuant_p.

Referenced by offsetQuant().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 275 of file MSAntennaColumns.h.

References offsetQuant().

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

Definition at line 257 of file MSAntennaColumns.h.

References orbitId_p.

Referenced by orbitId().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 295 of file MSAntennaColumns.h.

References orbitId().

Definition at line 258 of file MSAntennaColumns.h.

References phasedArrayId_p.

Referenced by phasedArrayId().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 297 of file MSAntennaColumns.h.

References phasedArrayId().

Definition at line 247 of file MSAntennaColumns.h.

References position_p.

Referenced by position().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 279 of file MSAntennaColumns.h.

References position().

Definition at line 249 of file MSAntennaColumns.h.

References positionMeas_p.

Referenced by positionMeas().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 283 of file MSAntennaColumns.h.

References positionMeas().

Definition at line 248 of file MSAntennaColumns.h.

References positionQuant_p.

Referenced by positionQuant().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 281 of file MSAntennaColumns.h.

References positionQuant().

set the position type for the OFFSET column.

This can only be done when the table has no rows. Trying to do so at other times will throw an exception.

set the position type for the POSITION column.

This can only be done when the table has no rows. Trying to do so at other times will throw an exception.

Definition at line 250 of file MSAntennaColumns.h.

References station_p.

Referenced by station().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 285 of file MSAntennaColumns.h.

References station().

Definition at line 251 of file MSAntennaColumns.h.

References type_p.

Referenced by type().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 287 of file MSAntennaColumns.h.

References type().


Member Data Documentation

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 329 of file MSAntennaColumns.h.

Referenced by dishDiameter().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 347 of file MSAntennaColumns.h.

Referenced by dishDiameterQuant().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 330 of file MSAntennaColumns.h.

Referenced by flagRow().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 338 of file MSAntennaColumns.h.

Referenced by meanOrbit().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 331 of file MSAntennaColumns.h.

Referenced by mount().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 332 of file MSAntennaColumns.h.

Referenced by name().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 333 of file MSAntennaColumns.h.

Referenced by offset().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 343 of file MSAntennaColumns.h.

Referenced by offsetMeas().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 348 of file MSAntennaColumns.h.

Referenced by offsetQuant().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 339 of file MSAntennaColumns.h.

Referenced by orbitId().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 340 of file MSAntennaColumns.h.

Referenced by phasedArrayId().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 334 of file MSAntennaColumns.h.

Referenced by position().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 344 of file MSAntennaColumns.h.

Referenced by positionMeas().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 349 of file MSAntennaColumns.h.

Referenced by positionQuant().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 335 of file MSAntennaColumns.h.

Referenced by station().

Reimplemented from casa::ROMSAntennaColumns.

Definition at line 336 of file MSAntennaColumns.h.

Referenced by type().


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