28 #ifndef LATTICES_LATTICEITERATOR_H
29 #define LATTICES_LATTICEITERATOR_H
42 class LatticeNavigator;
521 #ifndef CASACORE_NO_AUTO_TEMPLATES
522 #include <casacore/lattices/Lattices/Lattice.tcc>
523 #include <casacore/lattices/Lattices/LatticeIterator.tcc>
524 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
~RO_LatticeIterator()
Destructor (cleans up dangling references and releases memory)
const Matrix< T > & matrixCursor() const
IPosition latticeShape() const
Function which returns the shape of the Lattice being iterated through.
A read/write lattice iterator.
void reset()
Function which resets the cursor to the beginning of the Lattice and resets the number of steps taken...
IPosition position() const
Function which returns the current position of the beginning of the cursor within the Lattice...
A 3-D Specialization of the Array class.
IPosition endPosition() const
Function which returns the current position of the end of the cursor.
Bool operator++()
Increment operator - increment the cursor to the next position.
LatticeIterator< T > & operator=(const LatticeIterator< T > &other)
Assignment uses reference semantics (ie.
RO_LatticeIterator< T > copy() const
Make a copy of the iterator object.
const Array< T > & cursor() const
Bool operator--()
Decrement operator - decrement the cursor to the previous position.
LatticeIterator()
The default constructor creates an empty object which is practically unusable.
Matrix< T > & rwMatrixCursor()
Bool atStart() const
Function which returns a value of "True" if the cursor is at the beginning of the Lattice...
Bool ok() const
Function which checks the internals of the class for consistency.
const Cube< T > & cubeCursor() const
A readonly iterator for Lattices.
Bool atEnd() const
Function which returns a value of "True" if an attempt has been made to move the cursor beyond the en...
CountedPtr< LatticeIterInterface< T > > itsIterPtr
The pointer to the Iterator.
A templated, abstract base class for array-like objects.
Referenced counted pointer for constant data.
Lattice< T > & lattice() const
Return the underlying lattice.
Matrix< T > & woMatrixCursor()
Vector< T > & woVectorCursor()
bool Bool
Define the standard types used by Casacore.
RO_LatticeIterator()
The default constructor creates an empty object which is practically unusable.
LatticeIterator< T > copy() const
Make a copy of the iterator object.
IPosition cursorShape() const
Function which returns the shape of the cursor which is iterating through the Lattice.
Bool ok() const
Function which checks the internals of the class for consistency.
Bool isNull() const
Is the iterator object empty?
uInt nsteps() const
Function to return the number of steps (increments or decrements) taken since construction (or since ...
Cube< T > & rwCubeCursor()
RO_LatticeIterator< T > & operator=(const RO_LatticeIterator< T > &other)
Assignment uses reference semantics (ie.
const Vector< T > & vectorCursor() const
Functions which returns a window to the data in the Lattice.
~LatticeIterator()
destructor (cleans up dangling references and releases memory)
Vector< T > & rwVectorCursor()
Functions to return a window to the data in the Lattice.
Cube< T > & woCubeCursor()
Abstract base class to steer lattice iterators.