casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::ReadOnlyMatrixIterator< T > Class Template Reference

Iterate a Matrix cursor through a R/O Array. More...

#include <MatrixIter.h>

List of all members.

Public Member Functions

 ReadOnlyMatrixIterator (const Array< T > &a)
 ReadOnlyMatrixIterator (const Array< T > &a, uInt cursorAxis1, uInt cursorAxis2)
void next ()
void reset ()
void origin ()
const Array< T > & array ()
const Matrix< T > & matrix ()
Bool atStart () const
Bool pastEnd () const
const IPositionpos () const
IPosition endPos () const
uInt ndim () const

Private Member Functions

 ReadOnlyMatrixIterator (const ReadOnlyMatrixIterator< T > &)
 Not implemented.
ReadOnlyMatrixIterator< T > & operator= (const ReadOnlyMatrixIterator< T > &)
 Not implemented.

Private Attributes

MatrixIterator< T > mi

Detailed Description

template<class T>
class casa::ReadOnlyMatrixIterator< T >

Iterate a Matrix cursor through a R/O Array.

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

ReadOnlyMatrixIterator behaves exactly like MatrixIterator (cf.) only it should be used on const Arrays.


Tip: Note that the R/O MatrixIterator is not derived from R/O ArrayIterator;

Definition at line 102 of file MatrixIter.h.


Constructor & Destructor Documentation

template<class T>
casa::ReadOnlyMatrixIterator< T >::ReadOnlyMatrixIterator ( const Array< T > &  a) [inline]

Definition at line 106 of file MatrixIter.h.

template<class T>
casa::ReadOnlyMatrixIterator< T >::ReadOnlyMatrixIterator ( const Array< T > &  a,
uInt  cursorAxis1,
uInt  cursorAxis2 
) [inline]

Definition at line 109 of file MatrixIter.h.

template<class T>
casa::ReadOnlyMatrixIterator< T >::ReadOnlyMatrixIterator ( const ReadOnlyMatrixIterator< T > &  ) [private]

Not implemented.


Member Function Documentation

template<class T>
const Array<T>& casa::ReadOnlyMatrixIterator< T >::array ( ) [inline]

Definition at line 117 of file MatrixIter.h.

References casa::ReadOnlyMatrixIterator< T >::mi.

template<class T>
Bool casa::ReadOnlyMatrixIterator< T >::atStart ( ) const [inline]

Definition at line 120 of file MatrixIter.h.

References casa::ReadOnlyMatrixIterator< T >::mi.

template<class T>
IPosition casa::ReadOnlyMatrixIterator< T >::endPos ( ) const [inline]

Definition at line 123 of file MatrixIter.h.

References casa::ReadOnlyMatrixIterator< T >::mi.

template<class T>
const Matrix<T>& casa::ReadOnlyMatrixIterator< T >::matrix ( ) [inline]

Definition at line 118 of file MatrixIter.h.

References casa::ReadOnlyMatrixIterator< T >::mi.

template<class T>
uInt casa::ReadOnlyMatrixIterator< T >::ndim ( ) const [inline]

Definition at line 124 of file MatrixIter.h.

References casa::ReadOnlyMatrixIterator< T >::mi.

template<class T>
void casa::ReadOnlyMatrixIterator< T >::next ( ) [inline]

Definition at line 113 of file MatrixIter.h.

References casa::ReadOnlyMatrixIterator< T >::mi.

template<class T>
ReadOnlyMatrixIterator<T>& casa::ReadOnlyMatrixIterator< T >::operator= ( const ReadOnlyMatrixIterator< T > &  ) [private]

Not implemented.

template<class T>
void casa::ReadOnlyMatrixIterator< T >::origin ( ) [inline]

Definition at line 115 of file MatrixIter.h.

References casa::ReadOnlyMatrixIterator< T >::mi.

template<class T>
Bool casa::ReadOnlyMatrixIterator< T >::pastEnd ( ) const [inline]

Definition at line 121 of file MatrixIter.h.

References casa::ReadOnlyMatrixIterator< T >::mi.

template<class T>
const IPosition& casa::ReadOnlyMatrixIterator< T >::pos ( ) const [inline]

Definition at line 122 of file MatrixIter.h.

References casa::ReadOnlyMatrixIterator< T >::mi.

template<class T>
void casa::ReadOnlyMatrixIterator< T >::reset ( ) [inline]

Definition at line 114 of file MatrixIter.h.

References casa::ReadOnlyMatrixIterator< T >::mi.


Member Data Documentation

template<class T>
MatrixIterator<T> casa::ReadOnlyMatrixIterator< T >::mi [private]

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