casa::CalHistoryBuffer Class Reference
[CalTables]

#include <CalHistoryBuffer.h>

Collaboration diagram for casa::CalHistoryBuffer:

Collaboration graph
[legend]
List of all members.

Detailed Description

CalHistoryBuffer: Calibration table cal_history buffer.

Intended use:

Part of API

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.

To Do

i) Deal with non-standard columns.

Definition at line 74 of file CalHistoryBuffer.h.

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 &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< String > calParms_p
 Buffer fields.
Vector< String > calTables_p
Vector< String > calSelect_p
Vector< String > calNotes_p
Bool calParmsOK_p
 Buffer field status flags.
Bool calTablesOK_p
Bool calSelectOK_p
Bool calNotesOK_p


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::invalidate (  )  [virtual]

Invalidate the current calibration buffer.

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

virtual void casa::CalHistoryBuffer::append ( CalTable 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.

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

Data field accessors.

Vector<String>& casa::CalHistoryBuffer::calTables (  ) 

Vector<String>& casa::CalHistoryBuffer::calSelect (  ) 

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

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.

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.

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

Is the buffer connected to an underlying iterator ?

Definition at line 111 of file CalHistoryBuffer.h.


Member Data Documentation

Bool casa::CalHistoryBuffer::connectedToIter_p [private]

True if connected to underlying iterator.

Definition at line 111 of file CalHistoryBuffer.h.

CalHistoryColumns* casa::CalHistoryBuffer::calHistCol_p [private]

Ptr to cal_history columns accessor.

Definition at line 118 of file CalHistoryBuffer.h.

Referenced by calHistCol().

Vector<String> casa::CalHistoryBuffer::calParms_p [private]

Buffer fields.

Definition at line 121 of file CalHistoryBuffer.h.

Vector<String> casa::CalHistoryBuffer::calTables_p [private]

Definition at line 122 of file CalHistoryBuffer.h.

Vector<String> casa::CalHistoryBuffer::calSelect_p [private]

Definition at line 123 of file CalHistoryBuffer.h.

Vector<String> casa::CalHistoryBuffer::calNotes_p [private]

Definition at line 124 of file CalHistoryBuffer.h.

Bool casa::CalHistoryBuffer::calParmsOK_p [private]

Buffer field status flags.

Definition at line 127 of file CalHistoryBuffer.h.

Bool casa::CalHistoryBuffer::calTablesOK_p [private]

Definition at line 128 of file CalHistoryBuffer.h.

Bool casa::CalHistoryBuffer::calSelectOK_p [private]

Definition at line 129 of file CalHistoryBuffer.h.

Bool casa::CalHistoryBuffer::calNotesOK_p [private]

Definition at line 130 of file CalHistoryBuffer.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 27 21:30:25 2009 for NRAOCASA by  doxygen 1.5.1