28 #ifndef LATTICES_LELLATTICE_H
29 #define LATTICES_LELLATTICE_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/lattices/LEL/LELInterface.h>
39 template <
class T>
class Lattice;
40 template <
class T>
class MaskedLattice;
115 const Slicer& section)
const;
117 const Slicer& section)
const;
144 #ifndef CASACORE_NO_AUTO_TEMPLATES
145 #include <casacore/lattices/LEL/LELLattice.tcc>
LockType
Define the possible lock types.
This LEL class holds a possible referenced array with a mask.
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.