MSSysCalColumns.h

Classes

ROMSSysCalColumns -- A class to provide easy read-only access to MSSysCal columns (full description)
MSSysCalColumns -- A class to provide easy read-write access to MSSysCal columns (full description)

class ROMSSysCalColumns

Interface

Public Members
ROMSSysCalColumns(const MSSysCal& msSysCal)
~ROMSSysCalColumns()
Bool isNull() const
const ROScalarColumn<Int>& antennaId() const
const ROScalarColumn<Int>& feedId() const
const ROScalarColumn<Double>& interval() const
const ROScalarQuantColumn<Double>& intervalQuant() const
const ROScalarColumn<Int>& spectralWindowId() const
const ROScalarColumn<Double>& time() const
const ROScalarQuantColumn<Double>& timeQuant() const
const ROScalarMeasColumn<MEpoch>& timeMeas() const
const ROScalarColumn<Float>& phaseDiff() const
const ROScalarQuantColumn<Float>& phaseDiffQuant() const
const ROScalarColumn<Bool>& phaseDiffFlag() const
const ROArrayColumn<Float>& tant() const
const ROArrayQuantColumn<Float>& tantQuant() const
const ROScalarColumn<Bool>& tantFlag() const
const ROArrayColumn<Float>& tantSpectrum() const
const ROArrayQuantColumn<Float>& tantSpectrumQuant() const
const ROArrayColumn<Float>& tantTsys() const
const ROScalarColumn<Bool>& tantTsysFlag() const
const ROArrayColumn<Float>& tantTsysSpectrum() const
const ROArrayColumn<Float>& tcal() const
const ROArrayQuantColumn<Float>& tcalQuant() const
const ROScalarColumn<Bool>& tcalFlag() const
const ROArrayColumn<Float>& tcalSpectrum() const
const ROArrayQuantColumn<Float>& tcalSpectrumQuant() const
const ROArrayColumn<Float>& trx() const
const ROArrayQuantColumn<Float>& trxQuant() const
const ROScalarColumn<Bool>& trxFlag() const
const ROArrayColumn<Float>& trxSpectrum() const
const ROArrayQuantColumn<Float>& trxSpectrumQuant() const
const ROArrayColumn<Float>& tsky() const
const ROArrayQuantColumn<Float>& tskyQuant() const
const ROScalarColumn<Bool>& tskyFlag() const
const ROArrayColumn<Float>& tskySpectrum() const
const ROArrayQuantColumn<Float>& tskySpectrumQuant() const
const ROArrayColumn<Float>& tsys() const
const ROArrayQuantColumn<Float>& tsysQuant() const
const ROScalarColumn<Bool>& tsysFlag() const
const ROArrayColumn<Float>& tsysSpectrum() const
const ROArrayQuantColumn<Float>& tsysSpectrumQuant() const
uInt nrow() const
Protected Members
ROMSSysCalColumns()
void attach(const MSSysCal& msSysCal)
Private Members
ROMSSysCalColumns(const ROMSSysCalColumns&)
ROMSSysCalColumns& operator=(const ROMSSysCalColumns&)
void attachOptionalCols(const MSSysCal& msSysCal)

Description

Review Status

Reviewed By:
Bob Garwood
Date Reviewed:
1997/02/01

Prerequisite

Etymology

ROMSSysCalColumns stands for Read-Only MeasurementSet SysCal Table columns.

Synopsis

This class provides read-only access to the columns in the MSSysCal Table. It does the declaration of all the Scalar and ArrayColumns with the correct types, so the application programmer doesn't have to worry about getting those right. There is an access function for every predefined column. Access to non-predefined columns will still have to be done with explicit declarations. See ROMSColumns for an example.

Motivation

See MSColumns for the motivation.

Member Description

ROMSSysCalColumns(const MSSysCal& msSysCal)

Create a columns object that accesses the data in the specified Table

~ROMSSysCalColumns()

The destructor does nothing special

Bool isNull() const

Is this object defined? (MSSysCal table is optional)

const ROScalarColumn<Int>& antennaId() const
const ROScalarColumn<Int>& feedId() const
const ROScalarColumn<Double>& interval() const
const ROScalarQuantColumn<Double>& intervalQuant() const
const ROScalarColumn<Int>& spectralWindowId() const
const ROScalarColumn<Double>& time() const
const ROScalarQuantColumn<Double>& timeQuant() const
const ROScalarMeasColumn<MEpoch>& timeMeas() const

Access to columns

const ROScalarColumn<Float>& phaseDiff() const
const ROScalarQuantColumn<Float>& phaseDiffQuant() const
const ROScalarColumn<Bool>& phaseDiffFlag() const
const ROArrayColumn<Float>& tant() const
const ROArrayQuantColumn<Float>& tantQuant() const
const ROScalarColumn<Bool>& tantFlag() const
const ROArrayColumn<Float>& tantSpectrum() const
const ROArrayQuantColumn<Float>& tantSpectrumQuant() const
const ROArrayColumn<Float>& tantTsys() const
const ROScalarColumn<Bool>& tantTsysFlag() const
const ROArrayColumn<Float>& tantTsysSpectrum() const
const ROArrayColumn<Float>& tcal() const
const ROArrayQuantColumn<Float>& tcalQuant() const
const ROScalarColumn<Bool>& tcalFlag() const
const ROArrayColumn<Float>& tcalSpectrum() const
const ROArrayQuantColumn<Float>& tcalSpectrumQuant() const
const ROArrayColumn<Float>& trx() const
const ROArrayQuantColumn<Float>& trxQuant() const
const ROScalarColumn<Bool>& trxFlag() const
const ROArrayColumn<Float>& trxSpectrum() const
const ROArrayQuantColumn<Float>& trxSpectrumQuant() const
const ROArrayColumn<Float>& tsky() const
const ROArrayQuantColumn<Float>& tskyQuant() const
const ROScalarColumn<Bool>& tskyFlag() const
const ROArrayColumn<Float>& tskySpectrum() const
const ROArrayQuantColumn<Float>& tskySpectrumQuant() const
const ROArrayColumn<Float>& tsys() const
const ROArrayQuantColumn<Float>& tsysQuant() const
const ROScalarColumn<Bool>& tsysFlag() const
const ROArrayColumn<Float>& tsysSpectrum() const
const ROArrayQuantColumn<Float>& tsysSpectrumQuant() const

Access to optional columns

uInt nrow() const

Convenience function that returns the number of rows in any of the columns. Returns zero if the object is null.

ROMSSysCalColumns()

void attach(const MSSysCal& msSysCal)

ROMSSysCalColumns(const ROMSSysCalColumns&)

ROMSSysCalColumns& operator=(const ROMSSysCalColumns&)

void attachOptionalCols(const MSSysCal& msSysCal)


class MSSysCalColumns: public ROMSSysCalColumns

Interface

Public Members
MSSysCalColumns(MSSysCal& msSysCal)
~MSSysCalColumns()
ScalarColumn<Int>& antennaId()
ScalarColumn<Int>& feedId()
ScalarColumn<Double>& interval()
ScalarQuantColumn<Double>& intervalQuant()
ScalarColumn<Int>& spectralWindowId()
ScalarColumn<Double>& time()
ScalarQuantColumn<Double>& timeQuant()
ScalarMeasColumn<MEpoch>& timeMeas()
ScalarColumn<Float>& phaseDiff()
ScalarQuantColumn<Float>& phaseDiffQuant()
ScalarColumn<Bool>& phaseDiffFlag()
ArrayColumn<Float>& tant()
ArrayQuantColumn<Float>& tantQuant()
ScalarColumn<Bool>& tantFlag()
ArrayColumn<Float>& tantSpectrum()
ArrayQuantColumn<Float>& tantSpectrumQuant()
ArrayColumn<Float>& tantTsys()
ScalarColumn<Bool>& tantTsysFlag()
ArrayColumn<Float>& tantTsysSpectrum()
ArrayColumn<Float>& tcal()
ArrayQuantColumn<Float>& tcalQuant()
ScalarColumn<Bool>& tcalFlag()
ArrayColumn<Float>& tcalSpectrum()
ArrayQuantColumn<Float>& tcalSpectrumQuant()
ArrayColumn<Float>& trx()
ArrayQuantColumn<Float>& trxQuant()
ScalarColumn<Bool>& trxFlag()
ArrayColumn<Float>& trxSpectrum()
ArrayQuantColumn<Float>& trxSpectrumQuant()
ArrayColumn<Float>& tsky()
ArrayQuantColumn<Float>& tskyQuant()
ScalarColumn<Bool>& tskyFlag()
ArrayColumn<Float>& tskySpectrum()
ArrayQuantColumn<Float>& tskySpectrumQuant()
ArrayColumn<Float>& tsys()
ArrayQuantColumn<Float>& tsysQuant()
ScalarColumn<Bool>& tsysFlag()
ArrayColumn<Float>& tsysSpectrum()
ArrayQuantColumn<Float>& tsysSpectrumQuant()
const ROScalarColumn<Int>& antennaId() const
const ROScalarColumn<Int>& feedId() const
const ROScalarColumn<Double>& interval() const
const ROScalarQuantColumn<Double>& intervalQuant() const
const ROScalarColumn<Int>& spectralWindowId() const
const ROScalarColumn<Double>& time() const
const ROScalarQuantColumn<Double>& timeQuant() const
const ROScalarMeasColumn<MEpoch>& timeMeas() const
const ROScalarColumn<Float>& phaseDiff() const
const ROScalarQuantColumn<Float>& phaseDiffQuant() const
const ROScalarColumn<Bool>& phaseDiffFlag() const
const ROArrayColumn<Float>& tant() const
const ROArrayQuantColumn<Float>& tantQuant() const
const ROScalarColumn<Bool>& tantFlag() const
const ROArrayColumn<Float>& tantSpectrum() const
const ROArrayQuantColumn<Float>& tantSpectrumQuant() const
const ROArrayColumn<Float>& tantTsys() const
const ROScalarColumn<Bool>& tantTsysFlag() const
const ROArrayColumn<Float>& tantTsysSpectrum() const
const ROArrayColumn<Float>& tcal() const
const ROArrayQuantColumn<Float>& tcalQuant() const
const ROScalarColumn<Bool>& tcalFlag() const
const ROArrayColumn<Float>& tcalSpectrum() const
const ROArrayQuantColumn<Float>& tcalSpectrumQuant() const
const ROArrayColumn<Float>& trx() const
const ROArrayQuantColumn<Float>& trxQuant() const
const ROScalarColumn<Bool>& trxFlag() const
const ROArrayColumn<Float>& trxSpectrum() const
const ROArrayQuantColumn<Float>& trxSpectrumQuant() const
const ROArrayColumn<Float>& tsky() const
const ROArrayQuantColumn<Float>& tskyQuant() const
const ROScalarColumn<Bool>& tskyFlag() const
const ROArrayColumn<Float>& tskySpectrum() const
const ROArrayQuantColumn<Float>& tskySpectrumQuant() const
const ROArrayColumn<Float>& tsys() const
const ROArrayQuantColumn<Float>& tsysQuant() const
const ROScalarColumn<Bool>& tsysFlag() const
const ROArrayColumn<Float>& tsysSpectrum() const
const ROArrayQuantColumn<Float>& tsysSpectrumQuant() const
void setEpochRef(MEpoch::Types ref, Bool tableMustBeEmpty=True)
Protected Members
MSSysCalColumns()
void attach(MSSysCal& msSysCal)
Private Members
MSSysCalColumns(const MSSysCalColumns&)
MSSysCalColumns& operator=(const MSSysCalColumns&)
void attachOptionalCols(MSSysCal& msSysCal)

Description

Review Status

Reviewed By:
Bob Garwood
Date Reviewed:
1997/02/01

Prerequisite

Etymology

MSSysCalColumns stands for MeasurementSet SysCal Table columns.

Synopsis

This class provides access to the columns in the MSSysCal Table, it does the declaration of all the Scalar and ArrayColumns with the correct types, so the application programmer doesn't have to worry about getting those right. There is an access function for every predefined column. Access to non-predefined columns will still have to be done with explicit declarations. See MSColumns for an example.

Motivation

See MSColumns for the motivation.

Member Description

MSSysCalColumns(MSSysCal& msSysCal)

Create a columns object that accesses the data in the specified Table

~MSSysCalColumns()

The destructor does nothing special

ScalarColumn<Int>& antennaId()
ScalarColumn<Int>& feedId()
ScalarColumn<Double>& interval()
ScalarQuantColumn<Double>& intervalQuant()
ScalarColumn<Int>& spectralWindowId()
ScalarColumn<Double>& time()
ScalarQuantColumn<Double>& timeQuant()
ScalarMeasColumn<MEpoch>& timeMeas()

Read-write access to required columns

ScalarColumn<Float>& phaseDiff()
ScalarQuantColumn<Float>& phaseDiffQuant()
ScalarColumn<Bool>& phaseDiffFlag()
ArrayColumn<Float>& tant()
ArrayQuantColumn<Float>& tantQuant()
ScalarColumn<Bool>& tantFlag()
ArrayColumn<Float>& tantSpectrum()
ArrayQuantColumn<Float>& tantSpectrumQuant()
ArrayColumn<Float>& tantTsys()
ScalarColumn<Bool>& tantTsysFlag()
ArrayColumn<Float>& tantTsysSpectrum()
ArrayColumn<Float>& tcal()
ArrayQuantColumn<Float>& tcalQuant()
ScalarColumn<Bool>& tcalFlag()
ArrayColumn<Float>& tcalSpectrum()
ArrayQuantColumn<Float>& tcalSpectrumQuant()
ArrayColumn<Float>& trx()
ArrayQuantColumn<Float>& trxQuant()
ScalarColumn<Bool>& trxFlag()
ArrayColumn<Float>& trxSpectrum()
ArrayQuantColumn<Float>& trxSpectrumQuant()
ArrayColumn<Float>& tsky()
ArrayQuantColumn<Float>& tskyQuant()
ScalarColumn<Bool>& tskyFlag()
ArrayColumn<Float>& tskySpectrum()
ArrayQuantColumn<Float>& tskySpectrumQuant()
ArrayColumn<Float>& tsys()
ArrayQuantColumn<Float>& tsysQuant()
ScalarColumn<Bool>& tsysFlag()
ArrayColumn<Float>& tsysSpectrum()
ArrayQuantColumn<Float>& tsysSpectrumQuant()

Read-write access to optional columns

const ROScalarColumn<Int>& antennaId() const
const ROScalarColumn<Int>& feedId() const
const ROScalarColumn<Double>& interval() const
const ROScalarQuantColumn<Double>& intervalQuant() const
const ROScalarColumn<Int>& spectralWindowId() const
const ROScalarColumn<Double>& time() const
const ROScalarQuantColumn<Double>& timeQuant() const
const ROScalarMeasColumn<MEpoch>& timeMeas() const

Read-only access to required columns

const ROScalarColumn<Float>& phaseDiff() const
const ROScalarQuantColumn<Float>& phaseDiffQuant() const
const ROScalarColumn<Bool>& phaseDiffFlag() const
const ROArrayColumn<Float>& tant() const
const ROArrayQuantColumn<Float>& tantQuant() const
const ROScalarColumn<Bool>& tantFlag() const
const ROArrayColumn<Float>& tantSpectrum() const
const ROArrayQuantColumn<Float>& tantSpectrumQuant() const
const ROArrayColumn<Float>& tantTsys() const
const ROScalarColumn<Bool>& tantTsysFlag() const
const ROArrayColumn<Float>& tantTsysSpectrum() const
const ROArrayColumn<Float>& tcal() const
const ROArrayQuantColumn<Float>& tcalQuant() const
const ROScalarColumn<Bool>& tcalFlag() const
const ROArrayColumn<Float>& tcalSpectrum() const
const ROArrayQuantColumn<Float>& tcalSpectrumQuant() const
const ROArrayColumn<Float>& trx() const
const ROArrayQuantColumn<Float>& trxQuant() const
const ROScalarColumn<Bool>& trxFlag() const
const ROArrayColumn<Float>& trxSpectrum() const
const ROArrayQuantColumn<Float>& trxSpectrumQuant() const
const ROArrayColumn<Float>& tsky() const
const ROArrayQuantColumn<Float>& tskyQuant() const
const ROScalarColumn<Bool>& tskyFlag() const
const ROArrayColumn<Float>& tskySpectrum() const
const ROArrayQuantColumn<Float>& tskySpectrumQuant() const
const ROArrayColumn<Float>& tsys() const
const ROArrayQuantColumn<Float>& tsysQuant() const
const ROScalarColumn<Bool>& tsysFlag() const
const ROArrayColumn<Float>& tsysSpectrum() const
const ROArrayQuantColumn<Float>& tsysSpectrumQuant() const

Read-only access to optional columns

void setEpochRef(MEpoch::Types ref, Bool tableMustBeEmpty=True)

set the epoch type for the TIME column.

Tip In principle this function can only be used if the table is empty, otherwise already written values may thereafter have an incorrect reference, offset, or unit. However, it is possible that part of the table gets written before these values are known. In that case the reference, offset, or units can be set by using a False tableMustBeEmpty argument.

MSSysCalColumns()

void attach(MSSysCal& msSysCal)

MSSysCalColumns(const MSSysCalColumns&)

MSSysCalColumns& operator=(const MSSysCalColumns&)

void attachOptionalCols(MSSysCal& msSysCal)