28 #ifndef LATTICES_LELBINARY_H
29 #define LATTICES_LELBINARY_H
120 const Slicer& section)
const;
225 const Slicer& section)
const;
326 const Slicer& section)
const;
356 #ifndef CASACORE_NO_AUTO_TEMPLATES
357 #include <casacore/lattices/LEL/LELBinary.tcc>
358 #endif //# CASACORE_NO_AUTO_TEMPLATES
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle locking/syncing of a lattice in a lattice expression.
virtual LELScalar< Bool > getScalar() const
Recursively evaluate the scalar expression.
virtual Bool hasLock(FileLocker::LockType) const
This LEL class handles relational binary numerical operators.
CountedPtr< LELInterface< T > > pRightExpr_p
This LEL class holds an array with a mask.
LELBinaryCmp(const LELBinaryEnums::Operation op, const CountedPtr< LELInterface< T > > &pLeftExpr, const CountedPtr< LELInterface< T > > &pRightExpr)
Constructor takes operation and left and right expressions to be operated upon.
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle locking/syncing of a lattice in a lattice expression.
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle locking/syncing of a lattice in a lattice expression.
virtual LELScalar< T > getScalar() const
Recursively efvaluate the scalar expression.
virtual String className() const
Get class name.
virtual void eval(LELArray< Bool > &result, const Slicer §ion) const
Recursively evaluate the expression.
LELBinaryEnums::Operation op_p
virtual Bool prepareScalarExpr()
Do further preparations (e.g.
~LELBinaryBool()
Destructor.
This base class provides the interface for Lattice expressions.
LELBinaryEnums::Operation op_p
Referenced counted pointer for constant data.
LELBinaryEnums::Operation op_p
virtual Bool hasLock(FileLocker::LockType) const
virtual Bool prepareScalarExpr()
Do further preparations (e.g.
bool Bool
Define the standard types used by Casacore.
This LEL class handles logical binary operators.
virtual Bool hasLock(FileLocker::LockType) const
LELBinaryBool(const LELBinaryEnums::Operation op, const CountedPtr< LELInterface< Bool > > &pLeftExpr, const CountedPtr< LELInterface< Bool > > &pRightExpr)
Constructor takes operation and left and right expressions to be operated upon.
Specify which elements to extract from an n-dimensional array.
This LEL class handles numerical binary operators.
CountedPtr< LELInterface< T > > pRightExpr_p
virtual Bool prepareScalarExpr()
Do further preparations (e.g.
CountedPtr< LELInterface< Bool > > pLeftExpr_p
virtual void eval(LELArray< Bool > &result, const Slicer §ion) const
Recursively evaluate the expression.
String: the storage and methods of handling collections of characters.
virtual String className() const
Get class name.
virtual String className() const
Get class name.
LockType
Define the possible lock types.
~LELBinaryCmp()
Destructor.
virtual LELScalar< Bool > getScalar() const
Recursively evaluate the scalar expression.
LELBinary(const LELBinaryEnums::Operation op, const CountedPtr< LELInterface< T > > &pLeftExpr, const CountedPtr< LELInterface< T > > &pRightExpr)
Constructor takes operation and left and right expressions to be operated upon.
virtual void eval(LELArray< T > &result, const Slicer §ion) const
Recursively evaluate the expression.
CountedPtr< LELInterface< T > > pLeftExpr_p
CountedPtr< LELInterface< Bool > > pRightExpr_p
CountedPtr< LELInterface< T > > pLeftExpr_p
This LEL class holds a scalar with a mask.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.