26#ifndef LATTICES_LELLATTICE_H
27#define LATTICES_LELLATTICE_H
31#include <casacore/casa/aips.h>
32#include <casacore/lattices/LEL/LELInterface.h>
37template <
class T>
class Lattice;
38template <
class T>
class MaskedLattice;
113 const Slicer& section)
const;
115 const Slicer& section)
const;
142#ifndef CASACORE_NO_AUTO_TEMPLATES
143#include <casacore/lattices/LEL/LELLattice.tcc>
LockType
Define the possible lock types.
This LEL class holds a possible referenced array with a mask.
const LELAttribute & getAttribute() const
Get expression attribute.
void setAttr(const LELAttribute &attrib)
Set the expression attributes of this object.
virtual void evalRef(LELArrayRef< T > &result, const Slicer §ion) const
~LELLattice()
Destructor does nothing.
virtual String className() const
Get class name.
virtual Bool prepareScalarExpr()
Do further preparations (e.g.
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle locking/syncing of a lattice in a lattice expression.
LELLattice(const Lattice< T > &lattice)
Constructor takes lattice to fetch from it.
LELLattice(const MaskedLattice< T > &lattice)
virtual void eval(LELArray< T > &result, const Slicer §ion) const
Evaluate the expression; this means get the chunk of the lattice.
virtual LELScalar< T > getScalar() const
Getting a scalar value is not possible (throws exception).
virtual Bool hasLock(FileLocker::LockType) const
MaskedLattice< T > * pLattice_p
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.