28 #ifndef LATTICES_LELARRAYBASE_H
29 #define LATTICES_LELARRAYBASE_H
LELArrayBase & operator=(const LELArrayBase &other)
Assignment (reference semantics).
const Array< Bool > & mask() const
Get mask.
LELArrayBase(const Array< Bool > &mask)
Constructor takes mask.
LELArrayBase()
Default constructor sets to mask all true.
Base class for LELArray holding the mask.
Array< Bool > * itsMaskPtr
bool Bool
Define the standard types used by Casacore.
void setMask(const LELArrayBase &left, const LELArrayBase &right)
Set the mask by combining the masks of both values.
void setMask(const Array< Bool > &other)
Set the mask from given array (takes reference).
void combineOrAnd(Bool desiredValue, const Array< Bool > &value)
Combine the mask with the given value in case of an OR or AND.
Bool isMasked() const
Does the value have a mask?
void combineMask(const LELArrayBase &other)
Combine the mask of this and the other value (by anding them).
void removeMask()
Remove the mask.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.