casacore
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, size_t cursorAxis1, size_t 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
 
size_t ndim () const
 

Private Member Functions

 ReadOnlyMatrixIterator (const ReadOnlyMatrixIterator< T > &)=delete
 Not implemented. More...
 
ReadOnlyMatrixIterator< T > & operator= (const ReadOnlyMatrixIterator< T > &)=delete
 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 101 of file MatrixIter.h.

Constructor & Destructor Documentation

◆ ReadOnlyMatrixIterator() [1/3]

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

Definition at line 105 of file MatrixIter.h.

◆ ReadOnlyMatrixIterator() [2/3]

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

Definition at line 108 of file MatrixIter.h.

◆ ReadOnlyMatrixIterator() [3/3]

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

Not implemented.

Member Function Documentation

◆ array()

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

Definition at line 116 of file MatrixIter.h.

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

◆ atStart()

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

Definition at line 119 of file MatrixIter.h.

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

◆ endPos()

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

Definition at line 122 of file MatrixIter.h.

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

◆ matrix()

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

Definition at line 117 of file MatrixIter.h.

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

◆ ndim()

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

Definition at line 123 of file MatrixIter.h.

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

◆ next()

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

Definition at line 112 of file MatrixIter.h.

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

◆ operator=()

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

Not implemented.

◆ origin()

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

Definition at line 114 of file MatrixIter.h.

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

◆ pastEnd()

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

Definition at line 120 of file MatrixIter.h.

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

◆ pos()

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

Definition at line 121 of file MatrixIter.h.

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

◆ reset()

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

Definition at line 113 of file MatrixIter.h.

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

Member Data Documentation

◆ mi

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

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