28 #ifndef LATTICES_LELINTERFACE_H
29 #define LATTICES_LELINTERFACE_H
159 const Slicer& section)
const = 0;
161 const Slicer& section)
const;
223 #ifndef CASACORE_NO_AUTO_TEMPLATES
225 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
LELArray< T > getArray() const
Get the result of an array subexpression.
virtual void eval(LELArray< T > &result, const Slicer §ion) const =0
Evaluate the expression and fill the result array.
virtual ~LELInterface()
Virtual destructor.
This LEL class holds an array with a mask.
Bool isScalar() const
Is expression a scalar?
static Bool replaceScalarExpr(CountedPtr< LELInterface< T > > &expr)
If the given expression is a valid scalar, replace it by its result.
void setAttr(const LELAttribute &attrib)
Set the expression attributes of this object.
virtual LELScalar< T > getScalar() const =0
Get the result of a scalar subexpression.
This LEL class holds a possible referenced array with a mask.
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle locking/syncing of the parts of a lattice expression.
This base class provides the interface for Lattice expressions.
Referenced counted pointer for constant data.
bool Bool
Define the standard types used by Casacore.
virtual void evalRef(LELArrayRef< T > &result, const Slicer §ion) const
virtual Bool hasLock(FileLocker::LockType) const
const IPosition & shape() const
Get the shape of the expression result.
Ancillary information for the LEL letter classes.
Specify which elements to extract from an n-dimensional array.
virtual String className() const =0
Get class name.
virtual Bool prepareScalarExpr()=0
Do further preparations (e.g.
const IPosition & shape() const
What is the shape of the expression?
const LELAttribute & getAttribute() const
Get expression attribute.
String: the storage and methods of handling collections of characters.
LockType
Define the possible lock types.
Bool isScalar() const
Is the result of evaluating this expression a scalar ?
This LEL class holds a scalar with a mask.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.