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

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

#include <CalDescColumns.h>

Public Member Functions

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

Protected Member Functions

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

Private Member Functions

 ROCalDescColumns (const ROCalDescColumns &)
 Prohibit copy constructor and assignment operator. More...
 
ROCalDescColumnsoperator= (const ROCalDescColumns &)
 

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::ROArrayMeasColumn
< casacore::MFrequency
chanFreqMeas_p
 
casacore::ScalarColumn
< casacore::Int
measFreqRef_p
 
casacore::ArrayColumn
< casacore::Double
chanWidth_p
 
casacore::ROArrayQuantColumn
< 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

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

Constructor & Destructor Documentation

casa::ROCalDescColumns::ROCalDescColumns ( const CalTable calTable)

Construct from a cal_desc calibration sub-table.

virtual casa::ROCalDescColumns::~ROCalDescColumns ( )
inlinevirtual

Default destructor.

Definition at line 87 of file CalDescColumns.h.

casa::ROCalDescColumns::ROCalDescColumns ( )
inlineprotected

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

Definition at line 110 of file CalDescColumns.h.

casa::ROCalDescColumns::ROCalDescColumns ( const ROCalDescColumns )
private

Prohibit copy constructor and assignment operator.

Member Function Documentation

void casa::ROCalDescColumns::attach ( const CalTable calTable,
casacore::TableColumn tabCol,
MSCalEnums::colDef  colEnum,
const casacore::Bool optional = false 
)
protected

Attach a table column accessor.

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

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

Utilizes friendship relationship with class CalTable.

Definition at line 114 of file CalDescColumns.h.

References casa::CalTable::calDescAsTable().

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

Definition at line 95 of file CalDescColumns.h.

References chanFreq_p.

const casacore::ROArrayMeasColumn<casacore::MFrequency>& casa::ROCalDescColumns::chanFreqMeas ( ) const
inline

Definition at line 96 of file CalDescColumns.h.

References chanFreqMeas_p.

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

Definition at line 102 of file CalDescColumns.h.

References chanRange_p.

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

Definition at line 99 of file CalDescColumns.h.

References chanWidth_p.

const casacore::ROArrayQuantColumn<casacore::Double>& casa::ROCalDescColumns::chanWidthQuant ( ) const
inline

Definition at line 100 of file CalDescColumns.h.

References chanWidthQuant_p.

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

Definition at line 104 of file CalDescColumns.h.

References jonesType_p.

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

Definition at line 98 of file CalDescColumns.h.

References measFreqRef_p.

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

Definition at line 105 of file CalDescColumns.h.

References msName_p.

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

Definition at line 93 of file CalDescColumns.h.

References nJones_p.

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

Definition at line 91 of file CalDescColumns.h.

References numChan_p.

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

Definition at line 92 of file CalDescColumns.h.

References numReceptors_p.

const casacore::ScalarColumn<casacore::Int>& casa::ROCalDescColumns::numSpw ( ) const
inline

Read-only column accessors.

Definition at line 90 of file CalDescColumns.h.

References numSpw_p.

ROCalDescColumns& casa::ROCalDescColumns::operator= ( const ROCalDescColumns )
private
const casacore::ArrayColumn<casacore::String>& casa::ROCalDescColumns::polznType ( ) const
inline

Definition at line 103 of file CalDescColumns.h.

References polznType_p.

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

Definition at line 94 of file CalDescColumns.h.

References spwId_p.

Member Data Documentation

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

Definition at line 136 of file CalDescColumns.h.

Referenced by chanFreq().

casacore::ROArrayMeasColumn<casacore::MFrequency> casa::ROCalDescColumns::chanFreqMeas_p
private

Definition at line 137 of file CalDescColumns.h.

Referenced by chanFreqMeas().

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

Definition at line 141 of file CalDescColumns.h.

Referenced by chanRange().

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

Definition at line 139 of file CalDescColumns.h.

Referenced by chanWidth().

casacore::ROArrayQuantColumn<casacore::Double> casa::ROCalDescColumns::chanWidthQuant_p
private

Definition at line 140 of file CalDescColumns.h.

Referenced by chanWidthQuant().

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

Definition at line 143 of file CalDescColumns.h.

Referenced by jonesType().

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

Definition at line 138 of file CalDescColumns.h.

Referenced by measFreqRef().

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

Definition at line 144 of file CalDescColumns.h.

Referenced by msName().

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

Definition at line 134 of file CalDescColumns.h.

Referenced by nJones().

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

Definition at line 132 of file CalDescColumns.h.

Referenced by numChan().

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

Definition at line 133 of file CalDescColumns.h.

Referenced by numReceptors().

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

Private column accessors.

Definition at line 131 of file CalDescColumns.h.

Referenced by numSpw().

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

Definition at line 142 of file CalDescColumns.h.

Referenced by polznType().

casacore::ArrayColumn<casacore::Int> casa::ROCalDescColumns::spwId_p
private

Definition at line 135 of file CalDescColumns.h.

Referenced by spwId().


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