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

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

#include <CalDescColumns2.h>

List of all members.

Public Member Functions

 ROCalDescColumns2 (const CalTable2 &calTable)
 Construct from a cal_desc calibration sub-table.
virtual ~ROCalDescColumns2 ()
 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

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

Private Member Functions

 ROCalDescColumns2 (const ROCalDescColumns2 &)
 Prohibit copy constructor and assignment operator.
ROCalDescColumns2operator= (const ROCalDescColumns2 &)

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 CalDescColumns2.h.


Constructor & Destructor Documentation

Construct from a cal_desc calibration sub-table.

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

Default destructor.

Definition at line 87 of file CalDescColumns2.h.

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

Definition at line 110 of file CalDescColumns2.h.

Prohibit copy constructor and assignment operator.


Member Function Documentation

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

Attach a table column accessor.

void casa::ROCalDescColumns2::attach ( const CalTable2 calTable,
ROTableMeasColumn tabCol,
MSCalEnums::colDef  colEnum,
const Bool optional = False 
) [protected]
void casa::ROCalDescColumns2::attach ( const CalTable2 calTable,
ROArrayQuantColumn< Double > &  tabCol,
MSCalEnums::colDef  colEnum,
const Bool optional = False 
) [protected]
const Table& casa::ROCalDescColumns2::calDescAsTable ( const CalTable2 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 CalDescColumns2.h.

References casa::CalTable2::calDescAsTable().

Definition at line 95 of file CalDescColumns2.h.

References chanFreq_p.

Definition at line 96 of file CalDescColumns2.h.

References chanFreqMeas_p.

Definition at line 102 of file CalDescColumns2.h.

References chanRange_p.

Definition at line 99 of file CalDescColumns2.h.

References chanWidth_p.

Definition at line 100 of file CalDescColumns2.h.

References chanWidthQuant_p.

Definition at line 104 of file CalDescColumns2.h.

References jonesType_p.

Definition at line 98 of file CalDescColumns2.h.

References measFreqRef_p.

Definition at line 105 of file CalDescColumns2.h.

References msName_p.

Definition at line 93 of file CalDescColumns2.h.

References nJones_p.

Definition at line 91 of file CalDescColumns2.h.

References numChan_p.

Definition at line 92 of file CalDescColumns2.h.

References numReceptors_p.

Read-only column accessors.

Definition at line 90 of file CalDescColumns2.h.

References numSpw_p.

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

Definition at line 103 of file CalDescColumns2.h.

References polznType_p.

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

Definition at line 94 of file CalDescColumns2.h.

References spwId_p.


Member Data Documentation

Definition at line 136 of file CalDescColumns2.h.

Referenced by chanFreq().

Definition at line 137 of file CalDescColumns2.h.

Referenced by chanFreqMeas().

Definition at line 141 of file CalDescColumns2.h.

Referenced by chanRange().

Definition at line 139 of file CalDescColumns2.h.

Referenced by chanWidth().

Definition at line 140 of file CalDescColumns2.h.

Referenced by chanWidthQuant().

Definition at line 143 of file CalDescColumns2.h.

Referenced by jonesType().

Definition at line 138 of file CalDescColumns2.h.

Referenced by measFreqRef().

Definition at line 144 of file CalDescColumns2.h.

Referenced by msName().

Definition at line 134 of file CalDescColumns2.h.

Referenced by nJones().

Definition at line 132 of file CalDescColumns2.h.

Referenced by numChan().

Definition at line 133 of file CalDescColumns2.h.

Referenced by numReceptors().

Private column accessors.

Definition at line 131 of file CalDescColumns2.h.

Referenced by numSpw().

Definition at line 142 of file CalDescColumns2.h.

Referenced by polznType().

Definition at line 135 of file CalDescColumns2.h.

Referenced by spwId().


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