28 #ifndef LATTICES_MASKEDLATTICEITERATOR_H
29 #define LATTICES_MASKEDLATTICEITERATOR_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/lattices/Lattices/MaskedLattice.h>
34 #include <casacore/lattices/Lattices/LatticeIterator.h>
35 #include <casacore/casa/Utilities/CountedPtr.h>
213 #ifndef CASACORE_NO_AUTO_TEMPLATES
214 #include <casacore/lattices/Lattices/MaskedLatticeIterator.tcc>
Referenced counted pointer for constant data.
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.
Array< Bool > getMask(Bool removeDegenerateAxes=False) const
Bool getMask(Array< Bool > &, Bool removeDegenerateAxes=False) const
CountedPtr< MaskedLattice< T > > itsMaskLattPtr
RO_MaskedLatticeIterator(const RO_LatticeIterator< T > &, const RO_MaskedLatticeIterator< T > &)
Construct from a LatticeIterator (for copy function).
~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< T > copy() const
Make a copy of the iterator object.
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.
MaskedLattice< T > & lattice() const
Return the underlying MaskedLattice object.
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.