CalDescBuffer.h

Classes

CalDescBuffer -- CalDescBuffer: Calibration table cal_desc buffer (full description)

class CalDescBuffer

Interface

Public Members
CalDescBuffer()
CalDescBuffer (CalIterBase& calIter)
virtual ~CalDescBuffer()
virtual void invalidate()
virtual void append (CalTable& calTable)
Vector<Int>& numSpw()
Vector<Int>& numChan()
Vector<Int>& numReceptors()
Vector<Int>& nJones()
Matrix<Int>& spwId()
Array<MFrequency>& chanFreqMeas()
Vector<Int>& measFreqRef()
Array<Quantity>& chanWidthQuant()
Array<Int>& chanRange()
Matrix<String>& polznType()
Vector<String>& jonesType()
Vector<String>& msName()
Protected Members
virtual CalDescColumns* newCalDescCol (CalTable& calTable)
virtual CalDescColumns* calDescCol()
Bool connectedToIter()

Description

Prerequisite

Etymology

From "calibration description table" and "buffer"

Synopsis

The CalDescBuffer class holds a buffer, optionally connected to a calibration table cal_desc iterator (of base type CalIterBase).

Example


 

Motivation

Encapsulate calibration table cal_desc data buffers.

To Do

Member Description

CalDescBuffer()

Default constructor. No connection to an underlying calibration table iterator in this case.

CalDescBuffer (CalIterBase& calIter)

Construct from a calibration table iterator. The calibration buffer will remain synchronized with the iterator.

virtual ~CalDescBuffer()

Default destructor

virtual void invalidate()

Invalidate the current calibration table cal_desc buffer. This signals that a re-read is required as the iterator has advanced.

virtual void append (CalTable& calTable)

Write the current buffer at the end of a specified calibration table cal_desc subtable(NYI)

Vector<Int>& numSpw()

Data field accessors

Vector<Int>& numChan()

Vector<Int>& numReceptors()

Vector<Int>& nJones()

Matrix<Int>& spwId()

Array<MFrequency>& chanFreqMeas()

Vector<Int>& measFreqRef()

Array<Quantity>& chanWidthQuant()

Array<Int>& chanRange()

Matrix<String>& polznType()

Vector<String>& jonesType()

Vector<String>& msName()

virtual CalDescColumns* newCalDescCol (CalTable& calTable)

Factory method to create a columns accessor object of the appropriate type

virtual CalDescColumns* calDescCol()

Access to the columns accessor object

Bool connectedToIter()

Is the buffer connected to an underlying iterator ?