26#ifndef LATTICES_LCLELMASK_H
27#define LATTICES_LCLELMASK_H
30#include <casacore/casa/aips.h>
31#include <casacore/lattices/LRegions/LCRegionSingle.h>
32#include <casacore/lattices/LRegions/LCBox.h>
33#include <casacore/lattices/LEL/LatticeExpr.h>
143 const IPosition& newLatticeShape)
const override;
LockType
Define the possible lock types.
LCRegion * doTranslate(const Vector< Float > &translateVector, const IPosition &newLatticeShape) const override
Translating an LCLELMask is not possible, so it throws an exception.
Bool lock(FileLocker::LockType, uInt nattempts) override
Handle the (un)locking.
void tempClose() override
Temporarily close the lattice.
TableRecord toRecord(const String &tableName) const override
Convert the LCLELMask object to a record.
LatticeExpr< Bool > itsExpr
String type() const override
Return region type.
void resync() override
Resynchronize the PagedArray object with the lattice file.
LCLELMask & operator=(const LCLELMask &other)
Assignment (copy semantics).
virtual ~LCLELMask()
Destructor.
LCLELMask(const LCLELMask &other)
Copy constructor (copy semantics).
LCRegion * cloneRegion() const override
Clone a LCLELMask object.
Bool hasLock(FileLocker::LockType) const override
LCLELMask(const LatticeExpr< Bool > &expr)
Construct from vectors of world coordinates defining the box corners.
void reopen() override
Explicitly reopen the temporarily closed lattice.
Bool equals(const LCRegion &other) const override
Comparison.
static String className()
Returns LCLELMask.
String: the storage and methods of handling collections of characters.
For temporary backward namespace compatibility, use casa as alias for casacore.
bool Bool
Define the standard types used by Casacore.