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::CalHistoryBuffer Class Reference

CalHistoryBuffer: Calibration table cal_history buffer. More...

#include <CalHistoryBuffer.h>

Public Member Functions

 CalHistoryBuffer ()
 Default constructor. More...
 
 CalHistoryBuffer (CalIterBase &calIter)
 Construct from a calibration table iterator. More...
 
virtual ~CalHistoryBuffer ()
 Default destructor. More...
 
virtual void invalidate ()
 Invalidate the current calibration buffer. More...
 
virtual void append (CalTable &)
 Write the current buffer at the end of a specified cal_history table (NYI) More...
 
casacore::Vector
< casacore::String > & 
calParms ()
 casacore::Data field accessors More...
 
casacore::Vector
< casacore::String > & 
calTables ()
 
casacore::Vector
< casacore::String > & 
calSelect ()
 
casacore::Vector
< casacore::String > & 
calNotes ()
 

Protected Member Functions

virtual CalHistoryColumnsnewCalHistoryCol (CalTable &calTable)
 Factory method to create a columns accessor object of the appropriate type. More...
 
virtual CalHistoryColumnscalHistCol ()
 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...
 
CalHistoryColumnscalHistCol_p
 Ptr to cal_history columns accessor. More...
 
casacore::Vector
< casacore::String
calParms_p
 Buffer fields. More...
 
casacore::Vector
< casacore::String
calTables_p
 
casacore::Vector
< casacore::String
calSelect_p
 
casacore::Vector
< casacore::String
calNotes_p
 
casacore::Bool calParmsOK_p
 Buffer field status flags. More...
 
casacore::Bool calTablesOK_p
 
casacore::Bool calSelectOK_p
 
casacore::Bool calNotesOK_p
 

Detailed Description

CalHistoryBuffer: Calibration table cal_history buffer.

Intended use:

Public interface

Prerequisite

Etymology

From "calibration history sub-table" and "buffer"

Synopsis

The CalHistoryBuffer class holds a buffer for the cal_history sub-table, optionally connected to a calibration table iterator (of base type CalIterBase).

Example

Motivation

Encapsulate calibration table cal_history data buffer.

Definition at line 74 of file CalHistoryBuffer.h.

Constructor & Destructor Documentation

casa::CalHistoryBuffer::CalHistoryBuffer ( )

Default constructor.

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

casa::CalHistoryBuffer::CalHistoryBuffer ( CalIterBase calIter)

Construct from a calibration table iterator.

The calibration buffer will remain synchronized with the iterator.

virtual casa::CalHistoryBuffer::~CalHistoryBuffer ( )
virtual

Default destructor.

Member Function Documentation

virtual void casa::CalHistoryBuffer::append ( CalTable )
inlinevirtual

Write the current buffer at the end of a specified cal_history table (NYI)

Definition at line 94 of file CalHistoryBuffer.h.

virtual CalHistoryColumns* casa::CalHistoryBuffer::calHistCol ( )
inlineprotectedvirtual

Access to the columns accessor object.

Definition at line 108 of file CalHistoryBuffer.h.

References calHistCol_p.

casacore::Vector<casacore::String>& casa::CalHistoryBuffer::calNotes ( )
casacore::Vector<casacore::String>& casa::CalHistoryBuffer::calParms ( )

casacore::Data field accessors

casacore::Vector<casacore::String>& casa::CalHistoryBuffer::calSelect ( )
casacore::Vector<casacore::String>& casa::CalHistoryBuffer::calTables ( )
casacore::Bool casa::CalHistoryBuffer::connectedToIter ( )
inlineprotected

Is the buffer connected to an underlying iterator ?

Definition at line 111 of file CalHistoryBuffer.h.

virtual void casa::CalHistoryBuffer::invalidate ( )
virtual

Invalidate the current calibration buffer.

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

virtual CalHistoryColumns* casa::CalHistoryBuffer::newCalHistoryCol ( CalTable calTable)
inlineprotectedvirtual

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

Definition at line 104 of file CalHistoryBuffer.h.

Member Data Documentation

CalHistoryColumns* casa::CalHistoryBuffer::calHistCol_p
private

Ptr to cal_history columns accessor.

Definition at line 118 of file CalHistoryBuffer.h.

Referenced by calHistCol().

casacore::Vector<casacore::String> casa::CalHistoryBuffer::calNotes_p
private

Definition at line 124 of file CalHistoryBuffer.h.

casacore::Bool casa::CalHistoryBuffer::calNotesOK_p
private

Definition at line 130 of file CalHistoryBuffer.h.

casacore::Vector<casacore::String> casa::CalHistoryBuffer::calParms_p
private

Buffer fields.

Definition at line 121 of file CalHistoryBuffer.h.

casacore::Bool casa::CalHistoryBuffer::calParmsOK_p
private

Buffer field status flags.

Definition at line 127 of file CalHistoryBuffer.h.

casacore::Vector<casacore::String> casa::CalHistoryBuffer::calSelect_p
private

Definition at line 123 of file CalHistoryBuffer.h.

casacore::Bool casa::CalHistoryBuffer::calSelectOK_p
private

Definition at line 129 of file CalHistoryBuffer.h.

casacore::Vector<casacore::String> casa::CalHistoryBuffer::calTables_p
private

Definition at line 122 of file CalHistoryBuffer.h.

casacore::Bool casa::CalHistoryBuffer::calTablesOK_p
private

Definition at line 128 of file CalHistoryBuffer.h.

casacore::Bool casa::CalHistoryBuffer::connectedToIter_p
private

true if connected to underlying iterator

Definition at line 111 of file CalHistoryBuffer.h.


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