29 #ifndef LATTICES_EXTENDLATTICE_H
30 #define LATTICES_EXTENDLATTICE_H
145 virtual void flush();
215 #ifndef CASACORE_NO_AUTO_TEMPLATES
216 #include <casacore/lattices/Lattices/ExtendLattice.tcc>
217 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
ExtendLattice()
The default constructor creates a ExtendLattice that is useless for just about everything, except that it can be assigned to with the assignment operator.
virtual IPosition shape() const
Returns the shape of the ExtendLattice.
Bool getMaskDataSlice(Array< Bool > &buffer, const Slicer §ion)
Get mask data from mask.
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Get the best cursor shape.
virtual void flush()
Flush the data.
virtual Bool ok() const
Check class internals - used for debugging.
virtual void tempClose()
Close the Lattice temporarily (if it is paged to disk).
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle locking of the ExtendLattice which is delegated to its parent.
virtual Bool doGetMaskSlice(Array< Bool > &buffer, const Slicer §ion)
Get a section of the mask.
virtual Bool isMasked() const
Is the lattice masked? It is if its parent lattice is masked.
A templated, abstract base class for array-like objects with masks.
virtual Bool isWritable() const
An ExtendLattice is not writable.
Lattice< T > * itsLatticePtr
virtual void reopen()
If needed, reopen a temporarily closed Lattice.
A templated, abstract base class for array-like objects.
virtual const Lattice< Bool > & pixelMask() const
Get access to the pixelmask.
virtual Bool hasPixelMask() const
Does the ExtendLattice have a pixelmask?
bool Bool
Define the standard types used by Casacore.
An extension of a Lattice or MaskedLattice.
ExtendSpecifier itsExtendSpec
virtual Bool isPersistent() const
An ExtendLattice is not persistent.
template <class T, class U> class vector;
virtual uInt advisedMaxPixels() const
This function returns the recommended maximum number of pixels to include in the cursor of an iterato...
Specify which elements to extract from an n-dimensional array.
ExtendLattice< T > & operator=(const ExtendLattice< T > &other)
Assignment (reference semantics).
virtual Bool doGetSlice(Array< T > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
virtual Bool isPaged() const
Is the ExtendLattice paged to disk?
virtual MaskedLattice< T > * cloneML() const
Make a copy of the object (reference semantics).
virtual String name(Bool stripPath=False) const
Return the name of the parent lattice.
Specification of new and stretched lattice axes.
virtual void resync()
Resynchronize the Lattice object with the lattice file.
String: the storage and methods of handling collections of characters.
An optionally strided region in a Lattice.
virtual void doPutSlice(const Array< T > &sourceBuffer, const IPosition &where, const IPosition &stride)
Putting data is not possible.
void setPtr(Lattice< T > *latticePtr, MaskedLattice< T > *maskLatPtr)
Set the various pointer needed to construct the object.
MaskedLattice< T > * itsMaskLatPtr
LockType
Define the possible lock types.
virtual Bool hasLock(FileLocker::LockType) const
virtual const LatticeRegion * getRegionPtr() const
Get the region used (always returns 0).
ExtendLattice< Bool > * itsPixelMask
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.