28 #ifndef LATTICES_LATTICEEXPR_H
29 #define LATTICES_LATTICEEXPR_H
42 template <
class T>
class Array;
43 template <
class T>
class LELArray;
252 #ifndef CASACORE_NO_AUTO_TEMPLATES
253 #include <casacore/lattices/LEL/LatticeExpr.tcc>
254 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
virtual Bool isWritable() const
Returns False, as the LatticeExpr lattice is not writable.
virtual Bool isMasked() const
Has the object really a mask?
This LEL class holds an array with a mask.
virtual void handleMathTo(Lattice< T > &to, int oper) const
Handle the Math operators (+=, -=, *=, /=).
virtual MaskedLattice< T > * cloneML() const
Make a copy of the derived object (reference semantics).
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle locking of the LatticeExpr which is delegated to all of its parts.
Envelope class to handle Lattice Coordinates in LEL.
virtual IPosition shape() const
Returns the shape of the Lattice including all degenerate axes (i.e.
virtual const LatticeRegion * getRegionPtr() const
Get the region used (always returns 0).
A templated, abstract base class for array-like objects with masks.
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Return the best cursor shape.
virtual Bool doGetMaskSlice(Array< Bool > &buffer, const Slicer §ion)
Do the actual get of the mask data.
virtual void doPutSlice(const Array< T > &sourceBuffer, const IPosition &where, const IPosition &stride)
An expression is not writable so this functions throws an exception.
virtual LELCoordinates lelCoordinates() const
Returns the coordinates of the lattice expression.
void init(const LatticeExprNode &expr)
Initialize the object from the expression.
A templated, abstract base class for array-like objects.
virtual void copyDataTo(Lattice< T > &to) const
Copy the data from this lattice to the given lattice.
LatticeExpr< T > & operator=(const LatticeExpr< T > &other)
Assignment (reference semantics)
bool Bool
Define the standard types used by Casacore.
virtual Bool doGetSlice(Array< T > &buffer, const Slicer §ion)
Do the actual get of the data.
template <class T, class U> class vector;
LELArray< T > * lastChunkPtr_p
Specify which elements to extract from an n-dimensional array.
LatticeExpr()
Default constructor.
Bridging class to allow C++ expressions involving lattices.
virtual void resync()
Resynchronize the Lattice object with the lattice file.
An optionally strided region in a Lattice.
virtual ~LatticeExpr()
Destructor, does nothing.
LockType
Define the possible lock types.
virtual Bool hasLock(FileLocker::LockType) const
Class to allow C++ expressions involving lattices.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.