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

CalIter: Sequential calibration table iterator. More...

#include <CalIter.h>

Inheritance diagram for casa::CalIter:
casa::CalIterBase

List of all members.

Public Member Functions

 CalIter (CalTable &calTable)
 Construct from a calibration table without specifying iteration indices and intervals.
 CalIter (CalTable &calTable, const Vector< Int > &iterIndices, Sort::Order order=Sort::Ascending, Sort::Option=Sort::HeapSort)
 Construct from a calibration table, set of iteration indices, iteration order and iteration sort option.
virtual ~CalIter ()
 Default destructor.
void origin ()
 Iterator control.
Bool more ()
virtual CalTablesubTable ()
 Current iteration sub-table.

Protected Member Functions

 CalIter ()
 Prohibit public use of the null constructor, which does not produce a usable object.

Private Attributes

CalTablecalTable_p
 Pointer to calibration table.

Detailed Description

CalIter: Sequential calibration table iterator.

Intended use:

Public interface

Prerequisite

Etymology

From "calibration table" and "iterator"

Synopsis

The CalIter class is a sequential calibration table iterator, inherited from the abstract base class CalIterBase.

Example

Motivation

Encapsulate sequential calibration table iteration.

Definition at line 71 of file CalIter.h.


Constructor & Destructor Documentation

Construct from a calibration table without specifying iteration indices and intervals.

This returns the input calibration table in its entirety for each iteration, in the original sort order.

casa::CalIter::CalIter ( CalTable calTable,
const Vector< Int > &  iterIndices,
Sort::Order  order = Sort::Ascending,
Sort::Option  = Sort::HeapSort 
)

Construct from a calibration table, set of iteration indices, iteration order and iteration sort option.

This returns the input calibration table in its entirety for each iteration, sorted on the specified iteration indices.

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

Default destructor.

casa::CalIter::CalIter ( ) [inline, protected]

Prohibit public use of the null constructor, which does not produce a usable object.

Definition at line 100 of file CalIter.h.


Member Function Documentation

Bool casa::CalIter::more ( ) [inline]

Definition at line 92 of file CalIter.h.

References casa::True.

void casa::CalIter::origin ( ) [inline]

Iterator control.

Definition at line 91 of file CalIter.h.

virtual CalTable& casa::CalIter::subTable ( ) [virtual]

Current iteration sub-table.

Implements casa::CalIterBase.


Member Data Documentation

Pointer to calibration table.

Definition at line 100 of file CalIter.h.


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