26#ifndef LATTICES_MASKEDLATTICEITERATOR_H
27#define LATTICES_MASKEDLATTICEITERATOR_H
30#include <casacore/casa/aips.h>
31#include <casacore/lattices/Lattices/MaskedLattice.h>
32#include <casacore/lattices/Lattices/LatticeIterator.h>
216#ifndef CASACORE_NO_AUTO_TEMPLATES
217#include <casacore/lattices/Lattices/MaskedLatticeIterator.tcc>
Bool isNull() const
Is the iterator object empty?
IPosition endPosition() const
Function which returns the current position of the end of the cursor.
IPosition position() const
Function which returns the current position of the beginning of the cursor within the Lattice.
IPosition cursorShape() const
Function which returns the shape of the cursor which is iterating through the Lattice.
RO_MaskedLatticeIterator(const MaskedLattice< T > &data, Bool useRef=True)
Construct the Iterator with the supplied data.
RO_MaskedLatticeIterator(const MaskedLattice< T > &data, const IPosition &cursorShape, Bool useRef=True)
Construct the Iterator with the supplied data.
void fillPtr(const MaskedLattice< T > &mlattice)
Fill the pointer with a pointer to the masked lattice.
Bool getMask(Array< Bool > &, Bool removeDegenerateAxes=False) const
MaskedLattice< T > * itsMaskLattPtr
Pointer to the MaskedLattice.
RO_MaskedLatticeIterator(const RO_LatticeIterator< T > &, const RO_MaskedLatticeIterator< T > &)
Construct from a LatticeIterator (for copy function).
RO_MaskedLatticeIterator< T > copy() const
Make a copy of the iterator object.
MaskedLattice< T > & lattice() const
Return the underlying MaskedLattice object.
~RO_MaskedLatticeIterator()
Destructor (cleans up dangling references and releases memory)
RO_MaskedLatticeIterator(const MaskedLattice< T > &data, const LatticeNavigator &method, Bool useRef=True)
Construct the Iterator with the supplied data, and iteration strategy.
RO_MaskedLatticeIterator()
The default constructor creates an empty object which is practically unusable.
Bool isMasked() const
Is the underlying MaskedLattice really masked?
RO_MaskedLatticeIterator(const RO_MaskedLatticeIterator< T > &other)
The copy constructor uses reference semantics (ie.
RO_MaskedLatticeIterator< T > & operator=(const RO_MaskedLatticeIterator< T > &)
Assignment uses reference semantics (ie.
Array< Bool > getMask(Bool removeDegenerateAxes=False) const
std::shared_ptr< MaskedLattice< T > > itsMaskLattShrPtr
The shared pointer is used for automatic deletion.
Bool getMask(COWPtr< Array< Bool > > &, Bool removeDegenerateAxes=False) const
Get the mask for the current position.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.