casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
casa::CalDescBuffer Class Reference

CalDescBuffer: Calibration table cal_desc buffer. More...

#include <CalDescBuffer.h>

Public Member Functions

 CalDescBuffer ()
 Default constructor. More...
 
 CalDescBuffer (CalIterBase &calIter)
 Construct from a calibration table iterator. More...
 
virtual ~CalDescBuffer ()
 Default destructor. More...
 
virtual void invalidate ()
 Invalidate the current calibration table cal_desc buffer. More...
 
virtual void append (CalTable &)
 Write the current buffer at the end of a specified calibration table cal_desc subtable(NYI) More...
 
casacore::Vector< casacore::Int > & numSpw ()
 casacore::Data field accessors More...
 
casacore::Vector< casacore::Int > & numChan ()
 
casacore::Vector< casacore::Int > & numReceptors ()
 
casacore::Vector< casacore::Int > & nJones ()
 
casacore::Matrix< casacore::Int > & spwId ()
 
casacore::Array
< casacore::MFrequency > & 
chanFreqMeas ()
 
casacore::Vector< casacore::Int > & measFreqRef ()
 
casacore::Array
< casacore::Quantity > & 
chanWidthQuant ()
 
casacore::Array< casacore::Int > & chanRange ()
 
casacore::Matrix
< casacore::String > & 
polznType ()
 
casacore::Vector
< casacore::String > & 
jonesType ()
 
casacore::Vector
< casacore::String > & 
msName ()
 

Protected Member Functions

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

Private Attributes

casacore::Bool connectedToIter_p
 true if connected to underlying iterator More...
 
CalDescColumnscalDescCol_p
 Ptr to cal main columns accessor. More...
 
casacore::Vector< casacore::IntnumSpw_p
 Buffer fields. More...
 
casacore::Vector< casacore::IntnumChan_p
 
casacore::Vector< casacore::IntnumReceptors_p
 
casacore::Vector< casacore::IntnJones_p
 
casacore::Matrix< casacore::IntspwId_p
 
casacore::Array
< casacore::MFrequency
chanFreqMeas_p
 
casacore::Vector< casacore::IntmeasFreqRef_p
 
casacore::Array
< casacore::Quantity
chanWidthQuant_p
 
casacore::Array< casacore::IntchanRange_p
 
casacore::Matrix
< casacore::String
polznType_p
 
casacore::Vector
< casacore::String
jonesType_p
 
casacore::Vector
< casacore::String
msName_p
 
casacore::Bool numSpwOK_p
 Buffer field status flags. More...
 
casacore::Bool numChanOK_p
 
casacore::Bool numReceptorsOK_p
 
casacore::Bool nJonesOK_p
 
casacore::Bool spwIdOK_p
 
casacore::Bool chanFreqMeasOK_p
 
casacore::Bool measFreqRefOK_p
 
casacore::Bool chanWidthQuantOK_p
 
casacore::Bool chanRangeOK_p
 
casacore::Bool polznTypeOK_p
 
casacore::Bool jonesTypeOK_p
 
casacore::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

casa::CalDescBuffer::CalDescBuffer ( )

Default constructor.

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

casa::CalDescBuffer::CalDescBuffer ( CalIterBase calIter)

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 )
inlinevirtual

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 ( )
inlineprotectedvirtual

Access to the columns accessor object.

Definition at line 116 of file CalDescBuffer.h.

References calDescCol_p.

casacore::Array<casacore::MFrequency>& casa::CalDescBuffer::chanFreqMeas ( )
casacore::Array<casacore::Int>& casa::CalDescBuffer::chanRange ( )
casacore::Array<casacore::Quantity>& casa::CalDescBuffer::chanWidthQuant ( )
casacore::Bool casa::CalDescBuffer::connectedToIter ( )
inlineprotected

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.

casacore::Vector<casacore::String>& casa::CalDescBuffer::jonesType ( )
casacore::Vector<casacore::Int>& casa::CalDescBuffer::measFreqRef ( )
casacore::Vector<casacore::String>& casa::CalDescBuffer::msName ( )
virtual CalDescColumns* casa::CalDescBuffer::newCalDescCol ( CalTable calTable)
inlineprotectedvirtual

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

Definition at line 112 of file CalDescBuffer.h.

casacore::Vector<casacore::Int>& casa::CalDescBuffer::nJones ( )
casacore::Vector<casacore::Int>& casa::CalDescBuffer::numChan ( )
casacore::Vector<casacore::Int>& casa::CalDescBuffer::numReceptors ( )
casacore::Vector<casacore::Int>& casa::CalDescBuffer::numSpw ( )

casacore::Data field accessors

casacore::Matrix<casacore::String>& casa::CalDescBuffer::polznType ( )
casacore::Matrix<casacore::Int>& casa::CalDescBuffer::spwId ( )

Member Data Documentation

CalDescColumns* casa::CalDescBuffer::calDescCol_p
private

Ptr to cal main columns accessor.

Definition at line 126 of file CalDescBuffer.h.

Referenced by calDescCol().

casacore::Array<casacore::MFrequency> casa::CalDescBuffer::chanFreqMeas_p
private

Definition at line 134 of file CalDescBuffer.h.

casacore::Bool casa::CalDescBuffer::chanFreqMeasOK_p
private

Definition at line 148 of file CalDescBuffer.h.

casacore::Array<casacore::Int> casa::CalDescBuffer::chanRange_p
private

Definition at line 137 of file CalDescBuffer.h.

casacore::Bool casa::CalDescBuffer::chanRangeOK_p
private

Definition at line 151 of file CalDescBuffer.h.

casacore::Array<casacore::Quantity> casa::CalDescBuffer::chanWidthQuant_p
private

Definition at line 136 of file CalDescBuffer.h.

casacore::Bool casa::CalDescBuffer::chanWidthQuantOK_p
private

Definition at line 150 of file CalDescBuffer.h.

casacore::Bool casa::CalDescBuffer::connectedToIter_p
private

true if connected to underlying iterator

Definition at line 119 of file CalDescBuffer.h.

casacore::Vector<casacore::String> casa::CalDescBuffer::jonesType_p
private

Definition at line 139 of file CalDescBuffer.h.

casacore::Bool casa::CalDescBuffer::jonesTypeOK_p
private

Definition at line 153 of file CalDescBuffer.h.

casacore::Vector<casacore::Int> casa::CalDescBuffer::measFreqRef_p
private

Definition at line 135 of file CalDescBuffer.h.

casacore::Bool casa::CalDescBuffer::measFreqRefOK_p
private

Definition at line 149 of file CalDescBuffer.h.

casacore::Vector<casacore::String> casa::CalDescBuffer::msName_p
private

Definition at line 140 of file CalDescBuffer.h.

casacore::Bool casa::CalDescBuffer::msNameOK_p
private

Definition at line 154 of file CalDescBuffer.h.

casacore::Vector<casacore::Int> casa::CalDescBuffer::nJones_p
private

Definition at line 132 of file CalDescBuffer.h.

casacore::Bool casa::CalDescBuffer::nJonesOK_p
private

Definition at line 146 of file CalDescBuffer.h.

casacore::Vector<casacore::Int> casa::CalDescBuffer::numChan_p
private

Definition at line 130 of file CalDescBuffer.h.

casacore::Bool casa::CalDescBuffer::numChanOK_p
private

Definition at line 144 of file CalDescBuffer.h.

casacore::Vector<casacore::Int> casa::CalDescBuffer::numReceptors_p
private

Definition at line 131 of file CalDescBuffer.h.

casacore::Bool casa::CalDescBuffer::numReceptorsOK_p
private

Definition at line 145 of file CalDescBuffer.h.

casacore::Vector<casacore::Int> casa::CalDescBuffer::numSpw_p
private

Buffer fields.

Definition at line 129 of file CalDescBuffer.h.

casacore::Bool casa::CalDescBuffer::numSpwOK_p
private

Buffer field status flags.

Definition at line 143 of file CalDescBuffer.h.

casacore::Matrix<casacore::String> casa::CalDescBuffer::polznType_p
private

Definition at line 138 of file CalDescBuffer.h.

casacore::Bool casa::CalDescBuffer::polznTypeOK_p
private

Definition at line 152 of file CalDescBuffer.h.

casacore::Matrix<casacore::Int> casa::CalDescBuffer::spwId_p
private

Definition at line 133 of file CalDescBuffer.h.

casacore::Bool casa::CalDescBuffer::spwIdOK_p
private

Definition at line 147 of file CalDescBuffer.h.


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