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

ROCalDescColumns: Read-only cal_desc calibration table column access. More...

#include <CalDescColumns.h>

List of all members.

Public Member Functions

 ROCalDescColumns (const CalTable &calTable)
 Construct from a cal_desc calibration sub-table.
virtual ~ROCalDescColumns ()
 Default destructor.
const ROScalarColumn< Int > & numSpw () const
 Read-only column accessors.
const ROArrayColumn< Int > & numChan () const
const ROScalarColumn< Int > & numReceptors () const
const ROScalarColumn< Int > & nJones () const
const ROArrayColumn< Int > & spwId () const
const ROArrayColumn< Double > & chanFreq () const
const ROArrayMeasColumn
< MFrequency > & 
chanFreqMeas () const
const ROScalarColumn< Int > & measFreqRef () const
const ROArrayColumn< Double > & chanWidth () const
const ROArrayQuantColumn
< Double > & 
chanWidthQuant () const
const ROArrayColumn< Int > & chanRange () const
const ROArrayColumn< String > & polznType () const
const ROScalarColumn< String > & jonesType () const
const ROScalarColumn< String > & msName () const

Protected Member Functions

 ROCalDescColumns ()
 Prohibit public use of the null constructor, which does not produce a usable object.
const TablecalDescAsTable (const CalTable &calTable)
 Return a CalTable cal_desc subtable as a Table reference.
void attach (const CalTable &calTable, ROTableColumn &tabCol, MSCalEnums::colDef colEnum, const Bool &optional=False)
 Attach a table column accessor.
void attach (const CalTable &calTable, ROTableMeasColumn &tabCol, MSCalEnums::colDef colEnum, const Bool &optional=False)
void attach (const CalTable &calTable, ROArrayQuantColumn< Double > &tabCol, MSCalEnums::colDef colEnum, const Bool &optional=False)

Private Member Functions

 ROCalDescColumns (const ROCalDescColumns &)
 Prohibit copy constructor and assignment operator.
ROCalDescColumnsoperator= (const ROCalDescColumns &)

Private Attributes

ROScalarColumn< IntnumSpw_p
 Private column accessors.
ROArrayColumn< IntnumChan_p
ROScalarColumn< IntnumReceptors_p
ROScalarColumn< IntnJones_p
ROArrayColumn< IntspwId_p
ROArrayColumn< DoublechanFreq_p
ROArrayMeasColumn< MFrequencychanFreqMeas_p
ROScalarColumn< IntmeasFreqRef_p
ROArrayColumn< DoublechanWidth_p
ROArrayQuantColumn< DoublechanWidthQuant_p
ROArrayColumn< IntchanRange_p
ROArrayColumn< StringpolznType_p
ROScalarColumn< StringjonesType_p
ROScalarColumn< StringmsName_p

Detailed Description

ROCalDescColumns: Read-only cal_desc calibration table column access.

Intended use:

Public interface

Prerequisite

Etymology

From "read-only", "calibration descriptor table" and "columns".

Synopsis

The ROCalDescColumns class allows read-only access to columns in the cal_desc calibration sub-table.

Example

Motivation

Encapsulate read-only access to cal_desc calibration sub-table columns.

Definition at line 80 of file CalDescColumns.h.


Constructor & Destructor Documentation

Construct from a cal_desc calibration sub-table.

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

Default destructor.

Definition at line 87 of file CalDescColumns.h.

Prohibit public use of the null constructor, which does not produce a usable object.

Definition at line 110 of file CalDescColumns.h.

Prohibit copy constructor and assignment operator.


Member Function Documentation

void casa::ROCalDescColumns::attach ( const CalTable calTable,
ROTableColumn tabCol,
MSCalEnums::colDef  colEnum,
const Bool optional = False 
) [protected]

Attach a table column accessor.

void casa::ROCalDescColumns::attach ( const CalTable calTable,
ROTableMeasColumn tabCol,
MSCalEnums::colDef  colEnum,
const Bool optional = False 
) [protected]
void casa::ROCalDescColumns::attach ( const CalTable calTable,
ROArrayQuantColumn< Double > &  tabCol,
MSCalEnums::colDef  colEnum,
const Bool optional = False 
) [protected]
const Table& casa::ROCalDescColumns::calDescAsTable ( const CalTable calTable) [inline, protected]

Return a CalTable cal_desc subtable as a Table reference.

Utilizes friendship relationship with class CalTable.

Definition at line 114 of file CalDescColumns.h.

References casa::CalTable::calDescAsTable().

Definition at line 95 of file CalDescColumns.h.

References chanFreq_p.

Definition at line 96 of file CalDescColumns.h.

References chanFreqMeas_p.

Definition at line 102 of file CalDescColumns.h.

References chanRange_p.

Definition at line 99 of file CalDescColumns.h.

References chanWidth_p.

Definition at line 100 of file CalDescColumns.h.

References chanWidthQuant_p.

Definition at line 104 of file CalDescColumns.h.

References jonesType_p.

Definition at line 98 of file CalDescColumns.h.

References measFreqRef_p.

Definition at line 105 of file CalDescColumns.h.

References msName_p.

Definition at line 93 of file CalDescColumns.h.

References nJones_p.

Definition at line 91 of file CalDescColumns.h.

References numChan_p.

Definition at line 92 of file CalDescColumns.h.

References numReceptors_p.

Read-only column accessors.

Definition at line 90 of file CalDescColumns.h.

References numSpw_p.

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

Definition at line 103 of file CalDescColumns.h.

References polznType_p.

const ROArrayColumn<Int>& casa::ROCalDescColumns::spwId ( ) const [inline]

Definition at line 94 of file CalDescColumns.h.

References spwId_p.


Member Data Documentation

Definition at line 136 of file CalDescColumns.h.

Referenced by chanFreq().

Definition at line 137 of file CalDescColumns.h.

Referenced by chanFreqMeas().

Definition at line 141 of file CalDescColumns.h.

Referenced by chanRange().

Definition at line 139 of file CalDescColumns.h.

Referenced by chanWidth().

Definition at line 140 of file CalDescColumns.h.

Referenced by chanWidthQuant().

Definition at line 143 of file CalDescColumns.h.

Referenced by jonesType().

Definition at line 138 of file CalDescColumns.h.

Referenced by measFreqRef().

Definition at line 144 of file CalDescColumns.h.

Referenced by msName().

Definition at line 134 of file CalDescColumns.h.

Referenced by nJones().

Definition at line 132 of file CalDescColumns.h.

Referenced by numChan().

Definition at line 133 of file CalDescColumns.h.

Referenced by numReceptors().

Private column accessors.

Definition at line 131 of file CalDescColumns.h.

Referenced by numSpw().

Definition at line 142 of file CalDescColumns.h.

Referenced by polznType().

Definition at line 135 of file CalDescColumns.h.

Referenced by spwId().


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