28 #ifndef LATTICES_LELUNARY_H
29 #define LATTICES_LELUNARY_H
115 const Slicer& section)
const;
200 const Slicer& section)
const;
295 const Slicer& section)
const;
325 #ifndef CASACORE_NO_AUTO_TEMPLATES
326 #include <casacore/lattices/LEL/LELInterface.tcc>
327 #include <casacore/lattices/LEL/LELUnary.tcc>
328 #endif //# CASACORE_NO_AUTO_TEMPLATES
LELUnaryEnums::Operation op_p
LELUnaryEnums::Operation op_p
This LEL class holds an array with a mask.
virtual Bool prepareScalarExpr()
Do further preparations (e.g.
virtual String className() const
Get class name.
CountedPtr< LELInterface< Bool > > pExpr_p
LELUnary(const LELUnaryEnums::Operation op, const CountedPtr< LELInterface< T > > &pExpr)
Constructor takes operation and expression to be operated upon.
virtual Bool hasLock(FileLocker::LockType) const
virtual void eval(LELArray< Bool > &result, const Slicer §ion) const
Recursively evaluate the expression.
virtual Bool hasLock(FileLocker::LockType) const
virtual String className() const
Get class name.
This LEL class handles logical unary operators.
virtual LELScalar< Bool > getScalar() const
Recursively evaluate the scalar expression.
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle locking/syncing of a lattice in a lattice expression.
This base class provides the interface for Lattice expressions.
LELUnaryBool(const LELUnaryEnums::Operation op, const CountedPtr< LELInterface< Bool > > &pExpr)
Constructor takes operation and expression to be operated upon.
Referenced counted pointer for constant data.
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle locking/syncing of a lattice in a lattice expression.
virtual void eval(LELArray< T > &result, const Slicer §ion) const
Recursively evaluate the expression.
virtual LELScalar< T > getScalar() const
Evaluate the scalar expression (get the constant)
~LELUnaryBool()
Destructor does nothing.
This LEL class handles scalar (unary) constants.
bool Bool
Define the standard types used by Casacore.
~LELUnaryConst()
Destructor does nothing.
~LELUnary()
Destructor does nothing.
virtual void eval(LELArray< T > &result, const Slicer §ion) const
Evaluate the expression.
LELUnaryConst()
Default constructor creates a scalar with a false mask.
Specify which elements to extract from an n-dimensional array.
virtual Bool prepareScalarExpr()
Do further preparations (e.g.
virtual Bool prepareScalarExpr()
Do further preparations (e.g.
String: the storage and methods of handling collections of characters.
LockType
Define the possible lock types.
virtual LELScalar< T > getScalar() const
Recursively evaluate the scalar expression.
This LEL class handles numerical unary operators.
virtual String className() const
Get class name.
CountedPtr< LELInterface< T > > pExpr_p
This LEL class holds a scalar with a mask.