CalDescColumns.h

Classes

ROCalDescColumns -- ROCalDescColumns: Read-only cal_desc calibration table column access (full description)
CalDescColumns -- CalDescColumns: Read-write cal_desc calibration table column access (full description)

class ROCalDescColumns

Interface

Public Members
ROCalDescColumns (const CalTable& calTable)
virtual ~ROCalDescColumns()
const ROScalarColumn<Int>& numSpw() const
const ROArrayColumn<Int>& numChan() const
const ROScalarColumn<Int>& numReceptors() const
const ROScalarColumn<Int>& nJones() const
const ROArrayColumn<Int>& spwId() const
const ROArrayColumn<Double>& chanFreq() const
const ROArrayMeasColumn<MFrequency>& chanFreqMeas() const
const ROScalarColumn<Int>& measFreqRef() const
const ROArrayColumn<Double>& chanWidth() const
const ROArrayQuantColumn<Double>& chanWidthQuant() const
const ROArrayColumn<Int>& chanRange() const
const ROArrayColumn<String>& polznType() const
const ROScalarColumn<String>& jonesType() const
const ROScalarColumn<String>& msName() const
Protected Members
ROCalDescColumns()
const Table& calDescAsTable(const CalTable& calTable)
void attach (const CalTable& calTable, ROTableColumn& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
void attach (const CalTable& calTable, ROTableMeasColumn& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
void attach (const CalTable& calTable, ROArrayQuantColumn<Double>& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
Private Members
ROCalDescColumns (const ROCalDescColumns&)
ROCalDescColumns& operator= (const ROCalDescColumns&)

Description

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.

To Do

Member Description

ROCalDescColumns (const CalTable& calTable)

Construct from a cal_desc calibration sub-table

virtual ~ROCalDescColumns()

Default destructor

const ROScalarColumn<Int>& numSpw() const

Read-only column accessors

const ROArrayColumn<Int>& numChan() const

const ROScalarColumn<Int>& numReceptors() const

const ROScalarColumn<Int>& nJones() const

const ROArrayColumn<Int>& spwId() const

const ROArrayColumn<Double>& chanFreq() const

const ROArrayMeasColumn<MFrequency>& chanFreqMeas() const

const ROScalarColumn<Int>& measFreqRef() const

const ROArrayColumn<Double>& chanWidth() const

const ROArrayQuantColumn<Double>& chanWidthQuant() const

const ROArrayColumn<Int>& chanRange() const

const ROArrayColumn<String>& polznType() const

const ROScalarColumn<String>& jonesType() const

const ROScalarColumn<String>& msName() const

ROCalDescColumns()

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

const Table& calDescAsTable(const CalTable& calTable)

Return a CalTable cal_desc subtable as a Table reference. Utilizes friendship relationship with class CalTable.

void attach (const CalTable& calTable, ROTableColumn& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)

Attach a table column accessor

void attach (const CalTable& calTable, ROTableMeasColumn& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)

void attach (const CalTable& calTable, ROArrayQuantColumn<Double>& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)

ROCalDescColumns (const ROCalDescColumns&)

Prohibit copy constructor and assignment operator

ROCalDescColumns& operator= (const ROCalDescColumns&)


class CalDescColumns

Interface

Public Members
CalDescColumns (CalTable& calTable)
virtual ~CalDescColumns()
ScalarColumn<Int>& numSpw()
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 Members
CalDescColumns()
Table& calDescAsTable(CalTable& calTable)
void attach (CalTable& calTable, ROTableColumn& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
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 Members
CalDescColumns (const CalDescColumns&)
CalDescColumns& operator= (const CalDescColumns&)

Description

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.

To Do

Member Description

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

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. Utilizes friendship relationship with class CalTable.

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)

CalDescColumns (const CalDescColumns&)

Prohibit copy constructor and assignment operator

CalDescColumns& operator= (const CalDescColumns&)