28 #ifndef LATTICES_LELBINARY_H
29 #define LATTICES_LELBINARY_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/lattices/LEL/LELInterface.h>
35 #include <casacore/lattices/LEL/LELBinaryEnums.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>
Referenced counted pointer for constant data.
LockType
Define the possible lock types.
This LEL class handles logical binary operators.
~LELBinaryBool()
Destructor
virtual Bool hasLock(FileLocker::LockType) const
virtual String className() const
Get class name.
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle locking/syncing of a lattice in a lattice expression.
CountedPtr< LELInterface< Bool > > pRightExpr_p
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.
virtual LELScalar< Bool > getScalar() const
Recursively evaluate the scalar expression
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.
CountedPtr< LELInterface< Bool > > pLeftExpr_p
This LEL class handles relational binary numerical operators.
~LELBinaryCmp()
Destructor
virtual Bool prepareScalarExpr()
Do further preparations (e.g.
virtual LELScalar< Bool > getScalar() const
Recursively evaluate the scalar expression
virtual void eval(LELArray< Bool > &result, const Slicer §ion) const
Recursively evaluate the expression
virtual String className() const
Get class name.
LELBinaryEnums::Operation op_p
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle locking/syncing of a lattice in a lattice expression.
virtual Bool hasLock(FileLocker::LockType) const
CountedPtr< LELInterface< T > > pRightExpr_p
CountedPtr< LELInterface< T > > pLeftExpr_p
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 void eval(LELArray< T > &result, const Slicer §ion) const
Recursively evaluate the expression
virtual Bool prepareScalarExpr()
Do further preparations (e.g.
CountedPtr< LELInterface< T > > pRightExpr_p
virtual Bool hasLock(FileLocker::LockType) const
virtual String className() const
Get class name.
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
LELBinaryEnums::Operation op_p
CountedPtr< LELInterface< T > > pLeftExpr_p
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.
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.