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

CalHistoryBuffer: Calibration table cal_history buffer. More...

#include <CalHistoryBuffer.h>

List of all members.

Public Member Functions

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

Protected Member Functions

virtual CalHistoryColumnsnewCalHistoryCol (CalTable &calTable)
 Factory method to create a columns accessor object of the appropriate type.
virtual CalHistoryColumnscalHistCol ()
 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.
CalHistoryColumnscalHistCol_p
 Ptr to cal_history columns accessor.
Vector< StringcalParms_p
 Buffer fields.
Vector< StringcalTables_p
Vector< StringcalSelect_p
Vector< StringcalNotes_p
Bool calParmsOK_p
 Buffer field status flags.
Bool calTablesOK_p
Bool calSelectOK_p
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

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.

Default destructor.


Member Function Documentation

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

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 ( ) [inline, protected, virtual]

Access to the columns accessor object.

Definition at line 108 of file CalHistoryBuffer.h.

References calHistCol_p.

Data field accessors.

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) [inline, protected, virtual]

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

Definition at line 104 of file CalHistoryBuffer.h.


Member Data Documentation

Ptr to cal_history columns accessor.

Definition at line 118 of file CalHistoryBuffer.h.

Referenced by calHistCol().

Definition at line 124 of file CalHistoryBuffer.h.

Definition at line 130 of file CalHistoryBuffer.h.

Buffer fields.

Definition at line 121 of file CalHistoryBuffer.h.

Buffer field status flags.

Definition at line 127 of file CalHistoryBuffer.h.

Definition at line 123 of file CalHistoryBuffer.h.

Definition at line 129 of file CalHistoryBuffer.h.

Definition at line 122 of file CalHistoryBuffer.h.

Definition at line 128 of file CalHistoryBuffer.h.

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: