casacore::MSAntennaColumns Class Reference

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

#include <MSAntennaColumns.h>

Inheritance diagram for casacore::MSAntennaColumns:
casacore::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

casacore::MSAntennaColumns::MSAntennaColumns ( MSAntenna msAntenna  ) 

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

casacore::MSAntennaColumns::~MSAntennaColumns (  ) 

The destructor does nothing special.

casacore::MSAntennaColumns::MSAntennaColumns (  )  [protected]
casacore::MSAntennaColumns::MSAntennaColumns ( const MSAntennaColumns  )  [private]

Member Function Documentation

void casacore::MSAntennaColumns::attach ( MSAntenna msAntenna  )  [protected]
void casacore::MSAntennaColumns::attachOptionalCols ( MSAntenna msAntenna  )  [private]
const ROScalarColumn<Double>& casacore::MSAntennaColumns::dishDiameter (  )  const [inline]

Read-only access to required columns.

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 263 of file MSAntennaColumns.h.

References dishDiameter().

ScalarColumn<Double>& casacore::MSAntennaColumns::dishDiameter (  )  [inline]

Read-write access to required columns.

Definition at line 239 of file MSAntennaColumns.h.

References dishDiameter_p.

Referenced by dishDiameter().

const ROScalarQuantColumn<Double>& casacore::MSAntennaColumns::dishDiameterQuant (  )  const [inline]

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 265 of file MSAntennaColumns.h.

References dishDiameterQuant().

ScalarQuantColumn<Double>& casacore::MSAntennaColumns::dishDiameterQuant (  )  [inline]

Definition at line 240 of file MSAntennaColumns.h.

References dishDiameterQuant_p.

Referenced by dishDiameterQuant().

const ROScalarColumn<Bool>& casacore::MSAntennaColumns::flagRow (  )  const [inline]

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 267 of file MSAntennaColumns.h.

References flagRow().

ScalarColumn<Bool>& casacore::MSAntennaColumns::flagRow (  )  [inline]

Definition at line 241 of file MSAntennaColumns.h.

References flagRow_p.

Referenced by flagRow().

const ROArrayColumn<Double>& casacore::MSAntennaColumns::meanOrbit (  )  const [inline]

Read-only access to optional columns.

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 293 of file MSAntennaColumns.h.

References meanOrbit().

ArrayColumn<Double>& casacore::MSAntennaColumns::meanOrbit (  )  [inline]

Read-write access to optional columns.

Definition at line 256 of file MSAntennaColumns.h.

References meanOrbit_p.

Referenced by meanOrbit().

const ROScalarColumn<String>& casacore::MSAntennaColumns::mount (  )  const [inline]

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 269 of file MSAntennaColumns.h.

References mount().

ScalarColumn<String>& casacore::MSAntennaColumns::mount (  )  [inline]

Definition at line 242 of file MSAntennaColumns.h.

References mount_p.

Referenced by mount().

const ROScalarColumn<String>& casacore::MSAntennaColumns::name (  )  const [inline]

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 271 of file MSAntennaColumns.h.

References name().

ScalarColumn<String>& casacore::MSAntennaColumns::name (  )  [inline]

Definition at line 243 of file MSAntennaColumns.h.

References name_p.

Referenced by name().

const ROArrayColumn<Double>& casacore::MSAntennaColumns::offset (  )  const [inline]

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 273 of file MSAntennaColumns.h.

References offset().

ArrayColumn<Double>& casacore::MSAntennaColumns::offset (  )  [inline]

Definition at line 244 of file MSAntennaColumns.h.

References offset_p.

Referenced by offset().

const ROScalarMeasColumn<MPosition>& casacore::MSAntennaColumns::offsetMeas (  )  const [inline]

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 277 of file MSAntennaColumns.h.

References offsetMeas().

ScalarMeasColumn<MPosition>& casacore::MSAntennaColumns::offsetMeas (  )  [inline]

Definition at line 246 of file MSAntennaColumns.h.

References offsetMeas_p.

Referenced by offsetMeas().

const ROArrayQuantColumn<Double>& casacore::MSAntennaColumns::offsetQuant (  )  const [inline]

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 275 of file MSAntennaColumns.h.

References offsetQuant().

ArrayQuantColumn<Double>& casacore::MSAntennaColumns::offsetQuant (  )  [inline]

Definition at line 245 of file MSAntennaColumns.h.

References offsetQuant_p.

Referenced by offsetQuant().

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

Reimplemented from casacore::ROMSAntennaColumns.

const ROScalarColumn<Int>& casacore::MSAntennaColumns::orbitId (  )  const [inline]

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 295 of file MSAntennaColumns.h.

References orbitId().

ScalarColumn<Int>& casacore::MSAntennaColumns::orbitId (  )  [inline]

Definition at line 257 of file MSAntennaColumns.h.

References orbitId_p.

Referenced by orbitId().

const ROScalarColumn<Int>& casacore::MSAntennaColumns::phasedArrayId (  )  const [inline]

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 297 of file MSAntennaColumns.h.

References phasedArrayId().

ScalarColumn<Int>& casacore::MSAntennaColumns::phasedArrayId (  )  [inline]

Definition at line 258 of file MSAntennaColumns.h.

References phasedArrayId_p.

Referenced by phasedArrayId().

const ROArrayColumn<Double>& casacore::MSAntennaColumns::position (  )  const [inline]

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 279 of file MSAntennaColumns.h.

References position().

ArrayColumn<Double>& casacore::MSAntennaColumns::position (  )  [inline]

Definition at line 247 of file MSAntennaColumns.h.

References position_p.

Referenced by position().

const ROScalarMeasColumn<MPosition>& casacore::MSAntennaColumns::positionMeas (  )  const [inline]

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 283 of file MSAntennaColumns.h.

References positionMeas().

ScalarMeasColumn<MPosition>& casacore::MSAntennaColumns::positionMeas (  )  [inline]

Definition at line 249 of file MSAntennaColumns.h.

References positionMeas_p.

Referenced by positionMeas().

const ROArrayQuantColumn<Double>& casacore::MSAntennaColumns::positionQuant (  )  const [inline]

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 281 of file MSAntennaColumns.h.

References positionQuant().

ArrayQuantColumn<Double>& casacore::MSAntennaColumns::positionQuant (  )  [inline]

Definition at line 248 of file MSAntennaColumns.h.

References positionQuant_p.

Referenced by positionQuant().

void casacore::MSAntennaColumns::setOffsetRef ( MPosition::Types  ref  ) 

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.

void casacore::MSAntennaColumns::setPositionRef ( MPosition::Types  ref  ) 

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.

const ROScalarColumn<String>& casacore::MSAntennaColumns::station (  )  const [inline]

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 285 of file MSAntennaColumns.h.

References station().

ScalarColumn<String>& casacore::MSAntennaColumns::station (  )  [inline]

Definition at line 250 of file MSAntennaColumns.h.

References station_p.

Referenced by station().

const ROScalarColumn<String>& casacore::MSAntennaColumns::type (  )  const [inline]

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 287 of file MSAntennaColumns.h.

References type().

ScalarColumn<String>& casacore::MSAntennaColumns::type (  )  [inline]

Definition at line 251 of file MSAntennaColumns.h.

References type_p.

Referenced by type().


Member Data Documentation

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 329 of file MSAntennaColumns.h.

Referenced by dishDiameter().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 347 of file MSAntennaColumns.h.

Referenced by dishDiameterQuant().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 330 of file MSAntennaColumns.h.

Referenced by flagRow().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 338 of file MSAntennaColumns.h.

Referenced by meanOrbit().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 331 of file MSAntennaColumns.h.

Referenced by mount().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 332 of file MSAntennaColumns.h.

Referenced by name().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 333 of file MSAntennaColumns.h.

Referenced by offset().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 343 of file MSAntennaColumns.h.

Referenced by offsetMeas().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 348 of file MSAntennaColumns.h.

Referenced by offsetQuant().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 339 of file MSAntennaColumns.h.

Referenced by orbitId().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 340 of file MSAntennaColumns.h.

Referenced by phasedArrayId().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 334 of file MSAntennaColumns.h.

Referenced by position().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 344 of file MSAntennaColumns.h.

Referenced by positionMeas().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 349 of file MSAntennaColumns.h.

Referenced by positionQuant().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 335 of file MSAntennaColumns.h.

Referenced by station().

Reimplemented from casacore::ROMSAntennaColumns.

Definition at line 336 of file MSAntennaColumns.h.

Referenced by type().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1