CalMainColumns.h

Classes

ROCalMainColumns -- ROCalMainColumns: Read-only cal_main calibration table column access (full description)
CalMainColumns -- CalMainColumns: Read-write cal_main calibration table column access (full description)

class ROCalMainColumns

Interface

Public Members
ROCalMainColumns (const CalTable& calTable)
virtual ~ROCalMainColumns()
const ROScalarColumn<Double>& time() const
const ROScalarMeasColumn<MEpoch>& timeMeas() const
const ROScalarColumn<Double>& timeEP() const
const ROScalarQuantColumn<Double>& timeEPQuant() const
const ROScalarColumn<Double>& interval() const
const ROScalarQuantColumn<Double>& intervalQuant() const
const ROScalarColumn<Int>& antenna1() const
const ROScalarColumn<Int>& feed1() const
const ROScalarColumn<Int>& fieldId() const
const ROScalarColumn<Int>& arrayId() const
const ROScalarColumn<Int>& obsId() const
const ROScalarColumn<Int>& scanNo() const
const ROScalarColumn<Int>& processorId() const
const ROScalarColumn<Int>& stateId() const
const ROScalarColumn<Int>& phaseId() const
const ROScalarColumn<Int>& pulsarBin() const
const ROScalarColumn<Int>& pulsarGateId() const
const ROScalarColumn<Int>& freqGrp() const
const ROScalarColumn<String>& freqGrpName() const
const ROScalarColumn<String>& fieldName() const
const ROScalarColumn<String>& fieldCode() const
const ROScalarColumn<String>& sourceName() const
const ROScalarColumn<String>& sourceCode() const
const ROScalarColumn<Int>& calGrp() const
const ROArrayColumn<Complex>& gain() const
const ROArrayColumn<Int>& refAnt() const
const ROArrayColumn<Int>& refFeed() const
const ROArrayColumn<Int>& refReceptor() const
const ROArrayColumn<Double>& refFreq() const
const ROArrayMeasColumn<MFrequency>& refFreqMeas() const
const ROScalarColumn<Int>& measFreqRef() const
const ROArrayColumn<Double>& refDir() const
const ROArrayMeasColumn<MDirection>& refDirMeas() const
const ROScalarColumn<Int>& measDirRef() const
const ROScalarColumn<Int>& calDescId() const
const ROScalarColumn<Int>& calHistoryId() const
Protected Members
ROCalMainColumns()
const Table& asTable(const CalTable& calTable)
void attach (const CalTable& calTable, ROTableColumn& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
void attach (const CalTable& calTable, ROArrayMeasColumn<MEpoch>& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
void attach (const CalTable& calTable, ROArrayMeasColumn<MFrequency>& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
void attach (const CalTable& calTable, ROArrayMeasColumn<MDirection>& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
void attach (const CalTable& calTable, ROScalarMeasColumn<MEpoch>& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
void attach (const CalTable& calTable, ROScalarQuantColumn<Double>& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
Private Members
ROCalMainColumns (const ROCalMainColumns&)
ROCalMainColumns& operator= (const ROCalMainColumns&)

Description

Prerequisite

Etymology

From "read-only", "calibration main table" and "columns".

Synopsis

The ROCalMainColumns class allows read-only access to columns in the main calibration table. Specializations for baseline-based, time-variable and solvable VisJones calibration table record types are provided through inheritance.

Example


 

Motivation

Encapsulate access to calibration table columns.

To Do

Member Description

ROCalMainColumns (const CalTable& calTable)

Construct from a calibration table

virtual ~ROCalMainColumns()

Default destructor

const ROScalarColumn<Double>& time() const

Read-only column accessors

const ROScalarMeasColumn<MEpoch>& timeMeas() const

const ROScalarColumn<Double>& timeEP() const

const ROScalarQuantColumn<Double>& timeEPQuant() const

const ROScalarColumn<Double>& interval() const

const ROScalarQuantColumn<Double>& intervalQuant() const

const ROScalarColumn<Int>& antenna1() const

const ROScalarColumn<Int>& feed1() const

const ROScalarColumn<Int>& fieldId() const

const ROScalarColumn<Int>& arrayId() const

const ROScalarColumn<Int>& obsId() const

const ROScalarColumn<Int>& scanNo() const

const ROScalarColumn<Int>& processorId() const

const ROScalarColumn<Int>& stateId() const

const ROScalarColumn<Int>& phaseId() const

const ROScalarColumn<Int>& pulsarBin() const

const ROScalarColumn<Int>& pulsarGateId() const

const ROScalarColumn<Int>& freqGrp() const

const ROScalarColumn<String>& freqGrpName() const

const ROScalarColumn<String>& fieldName() const

const ROScalarColumn<String>& fieldCode() const

const ROScalarColumn<String>& sourceName() const

const ROScalarColumn<String>& sourceCode() const

const ROScalarColumn<Int>& calGrp() const

const ROArrayColumn<Complex>& gain() const

const ROArrayColumn<Int>& refAnt() const

const ROArrayColumn<Int>& refFeed() const

const ROArrayColumn<Int>& refReceptor() const

const ROArrayColumn<Double>& refFreq() const

const ROArrayMeasColumn<MFrequency>& refFreqMeas() const

const ROScalarColumn<Int>& measFreqRef() const

const ROArrayColumn<Double>& refDir() const

const ROArrayMeasColumn<MDirection>& refDirMeas() const

const ROScalarColumn<Int>& measDirRef() const

const ROScalarColumn<Int>& calDescId() const

const ROScalarColumn<Int>& calHistoryId() const

ROCalMainColumns()

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

const Table& asTable(const CalTable& calTable)

Return a CalTable 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, ROArrayMeasColumn<MEpoch>& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)

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

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

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

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

ROCalMainColumns (const ROCalMainColumns&)

Prohibit copy constructor and assignment operator

ROCalMainColumns& operator= (const ROCalMainColumns&)


class CalMainColumns

Interface

Public Members
CalMainColumns (CalTable& calTable)
virtual ~CalMainColumns()
ScalarColumn<Double>& time()
ScalarMeasColumn<MEpoch>& timeMeas()
ScalarColumn<Double>& timeEP()
ScalarQuantColumn<Double>& timeEPQuant()
ScalarColumn<Double>& interval()
ScalarQuantColumn<Double>& intervalQuant()
ScalarColumn<Int>& antenna1()
ScalarColumn<Int>& feed1()
ScalarColumn<Int>& fieldId()
ScalarColumn<Int>& arrayId()
ScalarColumn<Int>& obsId()
ScalarColumn<Int>& scanNo()
ScalarColumn<Int>& processorId()
ScalarColumn<Int>& stateId()
ScalarColumn<Int>& phaseId()
ScalarColumn<Int>& pulsarBin()
ScalarColumn<Int>& pulsarGateId()
ScalarColumn<Int>& freqGrp()
ScalarColumn<String>& freqGrpName()
ScalarColumn<String>& fieldName()
ScalarColumn<String>& fieldCode()
ScalarColumn<String>& sourceName()
ScalarColumn<String>& sourceCode()
ScalarColumn<Int>& calGrp()
ArrayColumn<Complex>& gain()
ArrayColumn<Int>& refAnt()
ArrayColumn<Int>& refFeed()
ArrayColumn<Int>& refReceptor()
ArrayColumn<Double>& refFreq()
ArrayMeasColumn<MFrequency>& refFreqMeas()
ScalarColumn<Int>& measFreqRef()
ArrayColumn<Double>& refDir()
ArrayMeasColumn<MDirection>& refDirMeas()
ScalarColumn<Int>& measDirRef()
ScalarColumn<Int>& calDescId()
ScalarColumn<Int>& calHistoryId()
Protected Members
CalMainColumns()
Table& asTable(CalTable& calTable)
void attach (CalTable& calTable, TableColumn& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
void attach (CalTable& calTable, ArrayMeasColumn<MEpoch>& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
void attach (CalTable& calTable, ArrayMeasColumn<MFrequency>& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
void attach (CalTable& calTable, ArrayMeasColumn<MDirection>& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
void attach (CalTable& calTable, ScalarMeasColumn<MEpoch>& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
void attach (CalTable& calTable, ScalarQuantColumn<Double>& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
Private Members
CalMainColumns (const CalMainColumns&)
CalMainColumns& operator= (const CalMainColumns&)

Description

Prerequisite

Etymology

From "calibration main table" and "columns".

Synopsis

The CalMainColumns class allows read-write access to columns in the main calibration table. Specializations for baseline-based, time-variable and solvable VisJones calibration table record types are provided through inheritance.

Example


 

Motivation

Encapsulate access to calibration table columns.

To Do

Member Description

CalMainColumns (CalTable& calTable)

Construct from a calibration table

virtual ~CalMainColumns()

Default destructor

ScalarColumn<Double>& time()

Read-write column accessors

ScalarMeasColumn<MEpoch>& timeMeas()

ScalarColumn<Double>& timeEP()

ScalarQuantColumn<Double>& timeEPQuant()

ScalarColumn<Double>& interval()

ScalarQuantColumn<Double>& intervalQuant()

ScalarColumn<Int>& antenna1()

ScalarColumn<Int>& feed1()

ScalarColumn<Int>& fieldId()

ScalarColumn<Int>& arrayId()

ScalarColumn<Int>& obsId()

ScalarColumn<Int>& scanNo()

ScalarColumn<Int>& processorId()

ScalarColumn<Int>& stateId()

ScalarColumn<Int>& phaseId()

ScalarColumn<Int>& pulsarBin()

ScalarColumn<Int>& pulsarGateId()

ScalarColumn<Int>& freqGrp()

ScalarColumn<String>& freqGrpName()

ScalarColumn<String>& fieldName()

ScalarColumn<String>& fieldCode()

ScalarColumn<String>& sourceName()

ScalarColumn<String>& sourceCode()

ScalarColumn<Int>& calGrp()

ArrayColumn<Complex>& gain()

ArrayColumn<Int>& refAnt()

ArrayColumn<Int>& refFeed()

ArrayColumn<Int>& refReceptor()

ArrayColumn<Double>& refFreq()

ArrayMeasColumn<MFrequency>& refFreqMeas()

ScalarColumn<Int>& measFreqRef()

ArrayColumn<Double>& refDir()

ArrayMeasColumn<MDirection>& refDirMeas()

ScalarColumn<Int>& measDirRef()

ScalarColumn<Int>& calDescId()

ScalarColumn<Int>& calHistoryId()

CalMainColumns()

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

Table& asTable(CalTable& calTable)

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

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

Attach a table column accessor

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

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

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

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

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

CalMainColumns (const CalMainColumns&)

Prohibit copy constructor and assignment operator

CalMainColumns& operator= (const CalMainColumns&)