casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::ReadOnlyMatrixIterator< T > Class Template Reference

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

#include <MatrixIter.h>

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. More...
 
ReadOnlyMatrixIterator< T > & operator= (const ReadOnlyMatrixIterator< T > &)
 Not implemented. More...
 

Private Attributes

MatrixIterator< T > mi
 

Detailed Description

template<class T>
class casacore::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>
casacore::ReadOnlyMatrixIterator< T >::ReadOnlyMatrixIterator ( const Array< T > &  a)
inline

Definition at line 106 of file MatrixIter.h.

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

Definition at line 109 of file MatrixIter.h.

template<class T>
casacore::ReadOnlyMatrixIterator< T >::ReadOnlyMatrixIterator ( const ReadOnlyMatrixIterator< T > &  )
private

Not implemented.

Member Function Documentation

template<class T>
const Array<T>& casacore::ReadOnlyMatrixIterator< T >::array ( )
inline

Definition at line 117 of file MatrixIter.h.

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

template<class T>
Bool casacore::ReadOnlyMatrixIterator< T >::atStart ( ) const
inline

Definition at line 120 of file MatrixIter.h.

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

template<class T>
IPosition casacore::ReadOnlyMatrixIterator< T >::endPos ( ) const
inline

Definition at line 123 of file MatrixIter.h.

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

template<class T>
const Matrix<T>& casacore::ReadOnlyMatrixIterator< T >::matrix ( )
inline

Definition at line 118 of file MatrixIter.h.

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

template<class T>
uInt casacore::ReadOnlyMatrixIterator< T >::ndim ( ) const
inline

Definition at line 124 of file MatrixIter.h.

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

template<class T>
void casacore::ReadOnlyMatrixIterator< T >::next ( )
inline

Definition at line 113 of file MatrixIter.h.

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

template<class T>
ReadOnlyMatrixIterator<T>& casacore::ReadOnlyMatrixIterator< T >::operator= ( const ReadOnlyMatrixIterator< T > &  )
private

Not implemented.

template<class T>
void casacore::ReadOnlyMatrixIterator< T >::origin ( )
inline

Definition at line 115 of file MatrixIter.h.

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

template<class T>
Bool casacore::ReadOnlyMatrixIterator< T >::pastEnd ( ) const
inline

Definition at line 121 of file MatrixIter.h.

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

template<class T>
const IPosition& casacore::ReadOnlyMatrixIterator< T >::pos ( ) const
inline

Definition at line 122 of file MatrixIter.h.

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

template<class T>
void casacore::ReadOnlyMatrixIterator< T >::reset ( )
inline

Definition at line 114 of file MatrixIter.h.

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

Member Data Documentation

template<class T>
MatrixIterator<T> casacore::ReadOnlyMatrixIterator< T >::mi
private

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