casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
casa::CalDescColumns Class Reference

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

#include <CalDescColumns.h>

Public Member Functions

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

Protected Member Functions

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

Private Member Functions

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

Private Attributes

casacore::ScalarColumn
< casacore::Int
numSpw_p
 Private column accessors. More...
 
casacore::ArrayColumn
< casacore::Int
numChan_p
 
casacore::ScalarColumn
< casacore::Int
numReceptors_p
 
casacore::ScalarColumn
< casacore::Int
nJones_p
 
casacore::ArrayColumn
< casacore::Int
spwId_p
 
casacore::ArrayColumn
< casacore::Double
chanFreq_p
 
casacore::ArrayMeasColumn
< casacore::MFrequency
chanFreqMeas_p
 
casacore::ScalarColumn
< casacore::Int
measFreqRef_p
 
casacore::ArrayColumn
< casacore::Double
chanWidth_p
 
casacore::ArrayQuantColumn
< casacore::Double
chanWidthQuant_p
 
casacore::ArrayColumn
< casacore::Int
chanRange_p
 
casacore::ArrayColumn
< casacore::String
polznType_p
 
casacore::ScalarColumn
< casacore::String
jonesType_p
 
casacore::ScalarColumn
< casacore::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 ( )
inlinevirtual

Default destructor.

Definition at line 188 of file CalDescColumns.h.

casa::CalDescColumns::CalDescColumns ( )
inlineprotected

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,
casacore::TableColumn tabCol,
MSCalEnums::colDef  colEnum,
const casacore::Bool optional = false 
)
protected

Attach a table column accessor.

void casa::CalDescColumns::attach ( CalTable calTable,
casacore::ROTableMeasColumn tabCol,
MSCalEnums::colDef  colEnum,
const casacore::Bool optional = false 
)
protected
void casa::CalDescColumns::attach ( CalTable calTable,
casacore::ROArrayQuantColumn< casacore::Double > &  tabCol,
MSCalEnums::colDef  colEnum,
const casacore::Bool optional = false 
)
protected
casacore::Table& casa::CalDescColumns::calDescAsTable ( CalTable calTable)
inlineprotected

Return a CalTable cal_desc subtable as a casacore::Table reference.

Utilizes friendship relationship with class CalTable.

Definition at line 213 of file CalDescColumns.h.

References casa::CalTable::calDescAsTable().

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

Definition at line 196 of file CalDescColumns.h.

References chanFreq_p.

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

Definition at line 197 of file CalDescColumns.h.

References chanFreqMeas_p.

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

Definition at line 201 of file CalDescColumns.h.

References chanRange_p.

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

Definition at line 199 of file CalDescColumns.h.

References chanWidth_p.

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

Definition at line 200 of file CalDescColumns.h.

References chanWidthQuant_p.

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

Definition at line 203 of file CalDescColumns.h.

References jonesType_p.

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

Definition at line 198 of file CalDescColumns.h.

References measFreqRef_p.

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

Definition at line 204 of file CalDescColumns.h.

References msName_p.

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

Definition at line 194 of file CalDescColumns.h.

References nJones_p.

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

Definition at line 192 of file CalDescColumns.h.

References numChan_p.

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

Definition at line 193 of file CalDescColumns.h.

References numReceptors_p.

casacore::ScalarColumn<casacore::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
casacore::ArrayColumn<casacore::String>& casa::CalDescColumns::polznType ( )
inline

Definition at line 202 of file CalDescColumns.h.

References polznType_p.

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

Definition at line 195 of file CalDescColumns.h.

References spwId_p.

Member Data Documentation

casacore::ArrayColumn<casacore::Double> casa::CalDescColumns::chanFreq_p
private

Definition at line 234 of file CalDescColumns.h.

Referenced by chanFreq().

casacore::ArrayMeasColumn<casacore::MFrequency> casa::CalDescColumns::chanFreqMeas_p
private

Definition at line 235 of file CalDescColumns.h.

Referenced by chanFreqMeas().

casacore::ArrayColumn<casacore::Int> casa::CalDescColumns::chanRange_p
private

Definition at line 239 of file CalDescColumns.h.

Referenced by chanRange().

casacore::ArrayColumn<casacore::Double> casa::CalDescColumns::chanWidth_p
private

Definition at line 237 of file CalDescColumns.h.

Referenced by chanWidth().

casacore::ArrayQuantColumn<casacore::Double> casa::CalDescColumns::chanWidthQuant_p
private

Definition at line 238 of file CalDescColumns.h.

Referenced by chanWidthQuant().

casacore::ScalarColumn<casacore::String> casa::CalDescColumns::jonesType_p
private

Definition at line 241 of file CalDescColumns.h.

Referenced by jonesType().

casacore::ScalarColumn<casacore::Int> casa::CalDescColumns::measFreqRef_p
private

Definition at line 236 of file CalDescColumns.h.

Referenced by measFreqRef().

casacore::ScalarColumn<casacore::String> casa::CalDescColumns::msName_p
private

Definition at line 242 of file CalDescColumns.h.

Referenced by msName().

casacore::ScalarColumn<casacore::Int> casa::CalDescColumns::nJones_p
private

Definition at line 232 of file CalDescColumns.h.

Referenced by nJones().

casacore::ArrayColumn<casacore::Int> casa::CalDescColumns::numChan_p
private

Definition at line 230 of file CalDescColumns.h.

Referenced by numChan().

casacore::ScalarColumn<casacore::Int> casa::CalDescColumns::numReceptors_p
private

Definition at line 231 of file CalDescColumns.h.

Referenced by numReceptors().

casacore::ScalarColumn<casacore::Int> casa::CalDescColumns::numSpw_p
private

Private column accessors.

Definition at line 229 of file CalDescColumns.h.

Referenced by numSpw().

casacore::ArrayColumn<casacore::String> casa::CalDescColumns::polznType_p
private

Definition at line 240 of file CalDescColumns.h.

Referenced by polznType().

casacore::ArrayColumn<casacore::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: