Go to the documentation of this file.
28 #ifndef LATTICES_LELARRAYBASE_H
29 #define LATTICES_LELARRAYBASE_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Arrays/Array.h>
void removeMask()
Remove the mask.
LELArrayBase & operator=(const LELArrayBase &other)
Assignment (reference semantics).
void setMask(const LELArrayBase &left, const LELArrayBase &right)
Set the mask by combining the masks of both values.
void combineMask(const LELArrayBase &other)
Combine the mask of this and the other value (by anding them).
LELArrayBase(const Array< Bool > &mask)
Constructor takes mask.
Base class for LELArray holding the mask.
Array< Bool > * itsMaskPtr
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
const Array< Bool > & mask() const
Get mask.
this file contains all the compiler specific defines
void setMask(const Array< Bool > &other)
Set the mask from given array (takes reference).
bool Bool
Define the standard types used by Casacore.
LELArrayBase()
Default constructor sets to mask all true.
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?