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

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

#include <CalDescColumns2.h>

List of all members.

Public Member Functions

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

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

Private Member Functions

 CalDescColumns2 (const CalDescColumns2 &)
 Prohibit copy constructor and assignment operator.
CalDescColumns2operator= (const CalDescColumns2 &)

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

CalDescColumns2: Read-write cal_desc calibration table column access.

Intended use:

Public interface

Prerequisite

Etymology

From "calibration descriptor table" and "columns".

Synopsis

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


Constructor & Destructor Documentation

Construct from a calibration table.

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

Default destructor.

Definition at line 188 of file CalDescColumns2.h.

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

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

Definition at line 209 of file CalDescColumns2.h.

Prohibit copy constructor and assignment operator.


Member Function Documentation

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

Attach a table column accessor.

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

References casa::CalTable2::calDescAsTable().

Definition at line 196 of file CalDescColumns2.h.

References chanFreq_p.

Definition at line 197 of file CalDescColumns2.h.

References chanFreqMeas_p.

Definition at line 201 of file CalDescColumns2.h.

References chanRange_p.

Definition at line 199 of file CalDescColumns2.h.

References chanWidth_p.

Definition at line 200 of file CalDescColumns2.h.

References chanWidthQuant_p.

Definition at line 203 of file CalDescColumns2.h.

References jonesType_p.

Definition at line 198 of file CalDescColumns2.h.

References measFreqRef_p.

Definition at line 204 of file CalDescColumns2.h.

References msName_p.

Definition at line 194 of file CalDescColumns2.h.

References nJones_p.

Definition at line 192 of file CalDescColumns2.h.

References numChan_p.

Definition at line 193 of file CalDescColumns2.h.

References numReceptors_p.

Read-write column accessors.

Definition at line 191 of file CalDescColumns2.h.

References numSpw_p.

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

Definition at line 202 of file CalDescColumns2.h.

References polznType_p.

Definition at line 195 of file CalDescColumns2.h.

References spwId_p.


Member Data Documentation

Definition at line 234 of file CalDescColumns2.h.

Referenced by chanFreq().

Definition at line 235 of file CalDescColumns2.h.

Referenced by chanFreqMeas().

Definition at line 239 of file CalDescColumns2.h.

Referenced by chanRange().

Definition at line 237 of file CalDescColumns2.h.

Referenced by chanWidth().

Definition at line 238 of file CalDescColumns2.h.

Referenced by chanWidthQuant().

Definition at line 241 of file CalDescColumns2.h.

Referenced by jonesType().

Definition at line 236 of file CalDescColumns2.h.

Referenced by measFreqRef().

Definition at line 242 of file CalDescColumns2.h.

Referenced by msName().

Definition at line 232 of file CalDescColumns2.h.

Referenced by nJones().

Definition at line 230 of file CalDescColumns2.h.

Referenced by numChan().

Definition at line 231 of file CalDescColumns2.h.

Referenced by numReceptors().

Private column accessors.

Definition at line 229 of file CalDescColumns2.h.

Referenced by numSpw().

Definition at line 240 of file CalDescColumns2.h.

Referenced by polznType().

Definition at line 233 of file CalDescColumns2.h.

Referenced by spwId().


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