casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Attributes
casa::CalDescBuffer Class Reference

CalDescBuffer: Calibration table cal_desc buffer. More...

#include <CalDescBuffer.h>

List of all members.

Public Member Functions

 CalDescBuffer ()
 Default constructor.
 CalDescBuffer (CalIterBase &calIter)
 Construct from a calibration table iterator.
virtual ~CalDescBuffer ()
 Default destructor.
virtual void invalidate ()
 Invalidate the current calibration table cal_desc buffer.
virtual void append (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 ()

Protected Member Functions

virtual CalDescColumnsnewCalDescCol (CalTable &calTable)
 Factory method to create a columns accessor object of the appropriate type.
virtual CalDescColumnscalDescCol ()
 Access to the columns accessor object.
Bool connectedToIter ()
 Is the buffer connected to an underlying iterator ?

Private Attributes

Bool connectedToIter_p
 True if connected to underlying iterator.
CalDescColumnscalDescCol_p
 Ptr to cal main columns accessor.
Vector< IntnumSpw_p
 Buffer fields.
Vector< IntnumChan_p
Vector< IntnumReceptors_p
Vector< IntnJones_p
Matrix< IntspwId_p
Array< MFrequencychanFreqMeas_p
Vector< IntmeasFreqRef_p
Array< QuantitychanWidthQuant_p
Array< IntchanRange_p
Matrix< StringpolznType_p
Vector< StringjonesType_p
Vector< StringmsName_p
Bool numSpwOK_p
 Buffer field status flags.
Bool numChanOK_p
Bool numReceptorsOK_p
Bool nJonesOK_p
Bool spwIdOK_p
Bool chanFreqMeasOK_p
Bool measFreqRefOK_p
Bool chanWidthQuantOK_p
Bool chanRangeOK_p
Bool polznTypeOK_p
Bool jonesTypeOK_p
Bool msNameOK_p

Detailed Description

CalDescBuffer: Calibration table cal_desc buffer.

Intended use:

Public interface

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.

Definition at line 74 of file CalDescBuffer.h.


Constructor & Destructor Documentation

Default constructor.

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

Construct from a calibration table iterator.

The calibration buffer will remain synchronized with the iterator.

virtual casa::CalDescBuffer::~CalDescBuffer ( ) [virtual]

Default destructor.


Member Function Documentation

virtual void casa::CalDescBuffer::append ( CalTable ) [inline, virtual]

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

Definition at line 94 of file CalDescBuffer.h.

virtual CalDescColumns* casa::CalDescBuffer::calDescCol ( ) [inline, protected, virtual]

Access to the columns accessor object.

Definition at line 116 of file CalDescBuffer.h.

References calDescCol_p.

Bool casa::CalDescBuffer::connectedToIter ( ) [inline, protected]

Is the buffer connected to an underlying iterator ?

Definition at line 119 of file CalDescBuffer.h.

virtual void casa::CalDescBuffer::invalidate ( ) [virtual]

Invalidate the current calibration table cal_desc buffer.

This signals that a re-read is required as the iterator has advanced.

virtual CalDescColumns* casa::CalDescBuffer::newCalDescCol ( CalTable calTable) [inline, protected, virtual]

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

Definition at line 112 of file CalDescBuffer.h.

Data field accessors.


Member Data Documentation

Ptr to cal main columns accessor.

Definition at line 126 of file CalDescBuffer.h.

Referenced by calDescCol().

Definition at line 134 of file CalDescBuffer.h.

Definition at line 148 of file CalDescBuffer.h.

Definition at line 137 of file CalDescBuffer.h.

Definition at line 151 of file CalDescBuffer.h.

Definition at line 136 of file CalDescBuffer.h.

Definition at line 150 of file CalDescBuffer.h.

True if connected to underlying iterator.

Definition at line 119 of file CalDescBuffer.h.

Definition at line 139 of file CalDescBuffer.h.

Definition at line 153 of file CalDescBuffer.h.

Definition at line 135 of file CalDescBuffer.h.

Definition at line 149 of file CalDescBuffer.h.

Definition at line 140 of file CalDescBuffer.h.

Definition at line 154 of file CalDescBuffer.h.

Definition at line 132 of file CalDescBuffer.h.

Definition at line 146 of file CalDescBuffer.h.

Definition at line 130 of file CalDescBuffer.h.

Definition at line 144 of file CalDescBuffer.h.

Definition at line 131 of file CalDescBuffer.h.

Definition at line 145 of file CalDescBuffer.h.

Buffer fields.

Definition at line 129 of file CalDescBuffer.h.

Buffer field status flags.

Definition at line 143 of file CalDescBuffer.h.

Definition at line 138 of file CalDescBuffer.h.

Definition at line 152 of file CalDescBuffer.h.

Definition at line 133 of file CalDescBuffer.h.

Definition at line 147 of file CalDescBuffer.h.


The documentation for this class was generated from the following file: