28 #ifndef CASA_VECTORITER_2_H
29 #define CASA_VECTORITER_2_H
72 template<
typename T,
typename Alloc=std::allocator<T>>
107 :
vi(const_cast<
Array<T>&>(a), axis) {}
134 #include "VectorIter.tcc"
A Vector of integers, for indexing into Array<T> objects.
A 1-D Specialization of the Array class.
const Vector< T, Alloc > & vector()
Vector< T, Alloc > & vector()
Return a Vector at the current position.
VectorIterator< T, Alloc > & operator=(const VectorIterator< T, Alloc > &)=delete
Not implemented.
VectorIterator< T, Alloc > vi
ReadOnlyVectorIterator< T, Alloc > & operator=(const ReadOnlyVectorIterator< T, Alloc > &)=delete
Not implemented.
VectorIterator(Array< T, Alloc > &a, size_t axis=0)
Iterate by vector cursors through array "a".
ReadOnlyVectorIterator(const Array< T, Alloc > &a, size_t axis=0)
Iterate an Array cursor through another Array.
std::unique_ptr< Array< T, Alloc > > ap_p
The cursor.
const IPosition & pos() const
A templated N-D Array class with zero origin. Array<T, Alloc> is a templated, N-dimensional, Array class. The origin is zero, but by default indices are zero-based. This Array class is the base class for the Vector, Matrix, and Cube subclasses.
Iterate an Vector cursor through another Array.
Iterate a Vector cursor through another Array.
const Array< T, Alloc > & array()