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

CalDescColumns: Read-write cal_desc calibration table column access. More...

#include <CalDescColumns.h>

List of all members.

Public Member Functions

 CalDescColumns (CalTable &calTable)
 Construct from a calibration table.
virtual ~CalDescColumns ()
 Default destructor.
ScalarColumn< Int > & numSpw ()
 Read-write column accessors.
ArrayColumn< Int > & numChan ()
ScalarColumn< Int > & numReceptors ()
ScalarColumn< Int > & nJones ()
ArrayColumn< Int > & spwId ()
ArrayColumn< Double > & chanFreq ()
ArrayMeasColumn< MFrequency > & chanFreqMeas ()
ScalarColumn< Int > & measFreqRef ()
ArrayColumn< Double > & chanWidth ()
ArrayQuantColumn< Double > & chanWidthQuant ()
ArrayColumn< Int > & chanRange ()
ArrayColumn< String > & polznType ()
ScalarColumn< String > & jonesType ()
ScalarColumn< String > & msName ()

Protected Member Functions

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

Private Member Functions

 CalDescColumns (const CalDescColumns &)
 Prohibit copy constructor and assignment operator.
CalDescColumnsoperator= (const CalDescColumns &)

Private Attributes

ScalarColumn< IntnumSpw_p
 Private column accessors.
ArrayColumn< IntnumChan_p
ScalarColumn< IntnumReceptors_p
ScalarColumn< IntnJones_p
ArrayColumn< IntspwId_p
ArrayColumn< DoublechanFreq_p
ArrayMeasColumn< MFrequencychanFreqMeas_p
ScalarColumn< IntmeasFreqRef_p
ArrayColumn< DoublechanWidth_p
ArrayQuantColumn< DoublechanWidthQuant_p
ArrayColumn< IntchanRange_p
ArrayColumn< StringpolznType_p
ScalarColumn< StringjonesType_p
ScalarColumn< StringmsName_p

Detailed Description

CalDescColumns: Read-write cal_desc calibration table column access.

Intended use:

Public interface

Prerequisite

Etymology

From "calibration descriptor table" and "columns".

Synopsis

The CalDescColumns class allows read-write access to columns in the cal_desc calibration sub-table.

Example

Motivation

Encapsulate access to cal_desc calibration sub-table columns.

Definition at line 181 of file CalDescColumns.h.


Constructor & Destructor Documentation

Construct from a calibration table.

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

Default destructor.

Definition at line 188 of file CalDescColumns.h.

casa::CalDescColumns::CalDescColumns ( ) [inline, protected]

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

Definition at line 209 of file CalDescColumns.h.

Prohibit copy constructor and assignment operator.


Member Function Documentation

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

Attach a table column accessor.

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

Return a CalTable cal_desc subtable as a Table reference.

Utilizes friendship relationship with class CalTable.

Definition at line 213 of file CalDescColumns.h.

References casa::CalTable::calDescAsTable().

Definition at line 196 of file CalDescColumns.h.

References chanFreq_p.

Definition at line 197 of file CalDescColumns.h.

References chanFreqMeas_p.

Definition at line 201 of file CalDescColumns.h.

References chanRange_p.

Definition at line 199 of file CalDescColumns.h.

References chanWidth_p.

Definition at line 200 of file CalDescColumns.h.

References chanWidthQuant_p.

Definition at line 203 of file CalDescColumns.h.

References jonesType_p.

Definition at line 198 of file CalDescColumns.h.

References measFreqRef_p.

Definition at line 204 of file CalDescColumns.h.

References msName_p.

Definition at line 194 of file CalDescColumns.h.

References nJones_p.

Definition at line 192 of file CalDescColumns.h.

References numChan_p.

Definition at line 193 of file CalDescColumns.h.

References numReceptors_p.

Read-write column accessors.

Definition at line 191 of file CalDescColumns.h.

References numSpw_p.

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

Definition at line 202 of file CalDescColumns.h.

References polznType_p.

Definition at line 195 of file CalDescColumns.h.

References spwId_p.


Member Data Documentation

Definition at line 234 of file CalDescColumns.h.

Referenced by chanFreq().

Definition at line 235 of file CalDescColumns.h.

Referenced by chanFreqMeas().

Definition at line 239 of file CalDescColumns.h.

Referenced by chanRange().

Definition at line 237 of file CalDescColumns.h.

Referenced by chanWidth().

Definition at line 238 of file CalDescColumns.h.

Referenced by chanWidthQuant().

Definition at line 241 of file CalDescColumns.h.

Referenced by jonesType().

Definition at line 236 of file CalDescColumns.h.

Referenced by measFreqRef().

Definition at line 242 of file CalDescColumns.h.

Referenced by msName().

Definition at line 232 of file CalDescColumns.h.

Referenced by nJones().

Definition at line 230 of file CalDescColumns.h.

Referenced by numChan().

Definition at line 231 of file CalDescColumns.h.

Referenced by numReceptors().

Private column accessors.

Definition at line 229 of file CalDescColumns.h.

Referenced by numSpw().

Definition at line 240 of file CalDescColumns.h.

Referenced by polznType().

Definition at line 233 of file CalDescColumns.h.

Referenced by spwId().


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