casacore
 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, 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

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

Definition at line 105 of file MatrixIter.h.

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.

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

Not implemented.

Member Function Documentation

template<class T >
const Array<T>& casacore::ReadOnlyMatrixIterator< T >::array ( )
inline
template<class T >
bool casacore::ReadOnlyMatrixIterator< T >::atStart ( ) const
inline
template<class T >
IPosition casacore::ReadOnlyMatrixIterator< T >::endPos ( ) const
inline
template<class T >
const Matrix<T>& casacore::ReadOnlyMatrixIterator< T >::matrix ( )
inline
template<class T >
size_t casacore::ReadOnlyMatrixIterator< T >::ndim ( ) const
inline
template<class T >
void casacore::ReadOnlyMatrixIterator< T >::next ( )
inline
template<class T >
ReadOnlyMatrixIterator<T>& casacore::ReadOnlyMatrixIterator< T >::operator= ( const ReadOnlyMatrixIterator< T > &  )
privatedelete

Not implemented.

template<class T >
void casacore::ReadOnlyMatrixIterator< T >::origin ( )
inline
template<class T >
bool casacore::ReadOnlyMatrixIterator< T >::pastEnd ( ) const
inline
template<class T >
const IPosition& casacore::ReadOnlyMatrixIterator< T >::pos ( ) const
inline
template<class T >
void casacore::ReadOnlyMatrixIterator< T >::reset ( )
inline

Member Data Documentation

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

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