28 #ifndef CASA_MATRIXITER_2_H
29 #define CASA_MATRIXITER_2_H
67 template<
typename T,
typename Alloc=std::allocator<T>>
106 mi(const_cast<
Array<T>&>(a)) {}
109 size_t cursorAxis1,
size_t cursorAxis2)
110 :
mi(const_cast<
Array<T>&>(a), cursorAxis1, cursorAxis2) {}
137 #include "MatrixIter.tcc"
std::unique_ptr< Array< T, std::allocator< T > > > ap_p
The cursor.
MatrixIterator(Array< T, Alloc > &a)
Iterate by matrices through array "a".
Matrix< T, Alloc > & matrix()
Return the matrix at the current position.
MatrixIterator(const MatrixIterator< T, Alloc > &)=delete
Not implemented.
MatrixIterator< T, Alloc > & operator=(const MatrixIterator< T, Alloc > &)=delete
Not implemented.
MatrixIterator(Array< T, Alloc > &a, size_t cursorAxis1, size_t cursorAxis2)
Iterate by matrices through array "a".
Iterate a Matrix cursor through a R/O Array.
const Matrix< T > & matrix()
const IPosition & pos() const
const Array< T > & array()
ReadOnlyMatrixIterator(const Array< T > &a, size_t cursorAxis1, size_t cursorAxis2)
ReadOnlyMatrixIterator(const Array< T > &a)
ReadOnlyMatrixIterator< T > & operator=(const ReadOnlyMatrixIterator< T > &)=delete
Not implemented.
ReadOnlyMatrixIterator(const ReadOnlyMatrixIterator< T > &)=delete
Not implemented.
this file contains all the compiler specific defines