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)
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&)
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
(i) Deal with non-standard columns.
Member Description
Construct from a cal_desc calibration sub-table
Default destructor
Read-only column accessors
Prohibit public use of the null constructor, which
does not produce a usable object.
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, ROArrayQuantColumn<Double>& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
Prohibit copy constructor and assignment operator
ROCalDescColumns& operator= (const ROCalDescColumns&)
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&)
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
(i) Deal with non-standard columns.
Member Description
Construct from a calibration table
Default destructor
Read-write column accessors
Prohibit public use of the null constructor, which
does not produce a usable object.
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
Prohibit copy constructor and assignment operator
CalDescColumns& operator= (const CalDescColumns&)