28 #ifndef LATTICES_LELLATTICE_H
29 #define LATTICES_LELLATTICE_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>
146 #endif //# CASACORE_NO_AUTO_TEMPLATES
This LEL class holds an array with a mask.
virtual void eval(LELArray< T > &result, const Slicer §ion) const
Evaluate the expression; this means get the chunk of the lattice.
A templated, abstract base class for array-like objects with masks.
LELLattice(const Lattice< T > &lattice)
Constructor takes lattice to fetch from it.
This LEL class holds a possible referenced array with a mask.
virtual void evalRef(LELArrayRef< T > &result, const Slicer §ion) const
This LEL class handles access to Lattices.
virtual String className() const
Get class name.
This base class provides the interface for Lattice expressions.
A templated, abstract base class for array-like objects.
~LELLattice()
Destructor does nothing.
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle locking/syncing of a lattice in a lattice expression.
bool Bool
Define the standard types used by Casacore.
virtual Bool prepareScalarExpr()
Do further preparations (e.g.
Specify which elements to extract from an n-dimensional array.
virtual LELScalar< T > getScalar() const
Getting a scalar value is not possible (throws exception).
String: the storage and methods of handling collections of characters.
LockType
Define the possible lock types.
virtual Bool hasLock(FileLocker::LockType) const
MaskedLattice< T > * pLattice_p
This LEL class holds a scalar with a mask.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.