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.
Table & calDescAsTable (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< Int > numSpw_p
 Private column accessors.
ArrayColumn< Int > numChan_p
ScalarColumn< Int > numReceptors_p
ScalarColumn< Int > nJones_p
ArrayColumn< Int > spwId_p
ArrayColumn< Double > chanFreq_p
ArrayMeasColumn< MFrequency > chanFreqMeas_p
ScalarColumn< Int > measFreqRef_p
ArrayColumn< Double > chanWidth_p
ArrayQuantColumn< Double > chanWidthQuant_p
ArrayColumn< Int > chanRange_p
ArrayColumn< String > polznType_p
ScalarColumn< String > jonesType_p
ScalarColumn< String > msName_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

casa::CalDescColumns::CalDescColumns ( CalTable calTable  ) 

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.

casa::CalDescColumns::CalDescColumns ( const CalDescColumns  )  [private]

Prohibit copy constructor and assignment operator.


Member Function Documentation

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

Attach a table column accessor.

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().

ArrayColumn<Double>& casa::CalDescColumns::chanFreq (  )  [inline]

Definition at line 196 of file CalDescColumns.h.

References chanFreq_p.

ArrayMeasColumn<MFrequency>& casa::CalDescColumns::chanFreqMeas (  )  [inline]

Definition at line 197 of file CalDescColumns.h.

References chanFreqMeas_p.

ArrayColumn<Int>& casa::CalDescColumns::chanRange (  )  [inline]

Definition at line 201 of file CalDescColumns.h.

References chanRange_p.

ArrayColumn<Double>& casa::CalDescColumns::chanWidth (  )  [inline]

Definition at line 199 of file CalDescColumns.h.

References chanWidth_p.

ArrayQuantColumn<Double>& casa::CalDescColumns::chanWidthQuant (  )  [inline]

Definition at line 200 of file CalDescColumns.h.

References chanWidthQuant_p.

ScalarColumn<String>& casa::CalDescColumns::jonesType (  )  [inline]

Definition at line 203 of file CalDescColumns.h.

References jonesType_p.

ScalarColumn<Int>& casa::CalDescColumns::measFreqRef (  )  [inline]

Definition at line 198 of file CalDescColumns.h.

References measFreqRef_p.

ScalarColumn<String>& casa::CalDescColumns::msName ( void   )  [inline]

Definition at line 204 of file CalDescColumns.h.

References msName_p.

ScalarColumn<Int>& casa::CalDescColumns::nJones (  )  [inline]

Definition at line 194 of file CalDescColumns.h.

References nJones_p.

ArrayColumn<Int>& casa::CalDescColumns::numChan (  )  [inline]

Definition at line 192 of file CalDescColumns.h.

References numChan_p.

ScalarColumn<Int>& casa::CalDescColumns::numReceptors (  )  [inline]

Definition at line 193 of file CalDescColumns.h.

References numReceptors_p.

ScalarColumn<Int>& casa::CalDescColumns::numSpw (  )  [inline]

Read-write column accessors.

Definition at line 191 of file CalDescColumns.h.

References numSpw_p.

CalDescColumns& casa::CalDescColumns::operator= ( const CalDescColumns  )  [private]
ArrayColumn<String>& casa::CalDescColumns::polznType (  )  [inline]

Definition at line 202 of file CalDescColumns.h.

References polznType_p.

ArrayColumn<Int>& casa::CalDescColumns::spwId (  )  [inline]

Definition at line 195 of file CalDescColumns.h.

References spwId_p.


Member Data Documentation

ArrayColumn<Double> casa::CalDescColumns::chanFreq_p [private]

Definition at line 234 of file CalDescColumns.h.

Referenced by chanFreq().

ArrayMeasColumn<MFrequency> casa::CalDescColumns::chanFreqMeas_p [private]

Definition at line 235 of file CalDescColumns.h.

Referenced by chanFreqMeas().

ArrayColumn<Int> casa::CalDescColumns::chanRange_p [private]

Definition at line 239 of file CalDescColumns.h.

Referenced by chanRange().

ArrayColumn<Double> casa::CalDescColumns::chanWidth_p [private]

Definition at line 237 of file CalDescColumns.h.

Referenced by chanWidth().

ArrayQuantColumn<Double> casa::CalDescColumns::chanWidthQuant_p [private]

Definition at line 238 of file CalDescColumns.h.

Referenced by chanWidthQuant().

ScalarColumn<String> casa::CalDescColumns::jonesType_p [private]

Definition at line 241 of file CalDescColumns.h.

Referenced by jonesType().

ScalarColumn<Int> casa::CalDescColumns::measFreqRef_p [private]

Definition at line 236 of file CalDescColumns.h.

Referenced by measFreqRef().

ScalarColumn<String> casa::CalDescColumns::msName_p [private]

Definition at line 242 of file CalDescColumns.h.

Referenced by msName().

ScalarColumn<Int> casa::CalDescColumns::nJones_p [private]

Definition at line 232 of file CalDescColumns.h.

Referenced by nJones().

ArrayColumn<Int> casa::CalDescColumns::numChan_p [private]

Definition at line 230 of file CalDescColumns.h.

Referenced by numChan().

ScalarColumn<Int> casa::CalDescColumns::numReceptors_p [private]

Definition at line 231 of file CalDescColumns.h.

Referenced by numReceptors().

ScalarColumn<Int> casa::CalDescColumns::numSpw_p [private]

Private column accessors.

Definition at line 229 of file CalDescColumns.h.

Referenced by numSpw().

ArrayColumn<String> casa::CalDescColumns::polznType_p [private]

Definition at line 240 of file CalDescColumns.h.

Referenced by polznType().

ArrayColumn<Int> casa::CalDescColumns::spwId_p [private]

Definition at line 233 of file CalDescColumns.h.

Referenced by spwId().


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