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

CalIter: Sequential calibration table iterator. More...

#include <CalIter.h>

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

Public Member Functions

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

Protected Member Functions

 CalIter ()
 Prohibit public use of the null constructor, which does not produce a usable object. More...
 
- Protected Member Functions inherited from casa::CalIterBase
 CalIterBase ()
 Prohibit public use of the null constructor, which does not produce a usable object. More...
 

Private Attributes

CalTablecalTable_p
 Pointer to calibration table. More...
 

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

casa::CalIter::CalIter ( CalTable calTable)

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 casacore::Vector< casacore::Int > &  iterIndices,
casacore::Sort::Order  order = casacore::Sort::Ascending,
casacore::Sort::Option  = casacore::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 ( )
inlineprotected

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

casacore::Bool casa::CalIter::more ( )
inline

Definition at line 92 of file CalIter.h.

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

CalTable* casa::CalIter::calTable_p
private

Pointer to calibration table.

Definition at line 100 of file CalIter.h.


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