28 #ifndef LATTICES_MASKEDLATTICEITERATOR_H
29 #define LATTICES_MASKEDLATTICEITERATOR_H
213 #ifndef CASACORE_NO_AUTO_TEMPLATES
214 #include <casacore/lattices/Lattices/MaskedLatticeIterator.tcc>
215 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
Bool getMask(COWPtr< Array< Bool > > &, Bool removeDegenerateAxes=False) const
Get the mask for the current position.
RO_MaskedLatticeIterator< T > & operator=(const RO_MaskedLatticeIterator< T > &)
Assignment uses reference semantics (ie.
Bool isMasked() const
Is the underlying MaskedLattice really masked?
A templated, abstract base class for array-like objects with masks.
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
A readonly iterator for Lattices.
MaskedLattice< T > & lattice() const
Return the underlying MaskedLattice object.
~RO_MaskedLatticeIterator()
Destructor (cleans up dangling references and releases memory)
Referenced counted pointer for constant data.
RO_MaskedLatticeIterator()
The default constructor creates an empty object which is practically unusable.
Copy-On-Write-Pointer class - allows control of copy based on constness.
RO_MaskedLatticeIterator< T > copy() const
Make a copy of the iterator object.
bool Bool
Define the standard types used by Casacore.
CountedPtr< MaskedLattice< T > > itsMaskLattPtr
IPosition cursorShape() const
Function which returns the shape of the cursor which is iterating through the Lattice.
void fillPtr(const MaskedLattice< T > &mlattice)
Fill the pointer with a pointer to the masked lattice.
Abstract base class to steer lattice iterators.
A readonly iterator for masked Lattices.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.