28 #ifndef LATTICES_LCHDF5MASK_H
29 #define LATTICES_LCHDF5MASK_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/lattices/LRegions/LCBox.h>
34 #include <casacore/lattices/Lattices/HDF5Lattice.h>
Referenced counted pointer for constant data.
virtual LatticeIterInterface< Bool > * makeIter(const LatticeNavigator &navigator, Bool useRef) const
This function is used by the LatticeIterator class to generate an iterator of the correct type for th...
virtual void flush()
Flush the data (but do not unlock).
LCHDF5Mask(HDF5Lattice< Bool > &mask, const IPosition &blc, const IPosition &latticeShape)
Create the object from a record (for an existing mask).
LCHDF5Mask(const TiledShape &maskShape, const LCBox &box, const CountedPtr< HDF5File > &file, const String &maskName)
virtual uInt advisedMaxPixels() const
Returns the maximum recommended number of pixels for a cursor.
LCHDF5Mask(HDF5Lattice< Bool > &mask, const LCBox &box)
virtual Bool operator==(const LCRegion &other) const
Comparison.
LCHDF5Mask(const TiledShape &latticeShape, const CountedPtr< HDF5File > &file, const String &maskName)
Construct an HDF5Mask object for (part of) a lattice.
LCHDF5Mask(const LCHDF5Mask &other)
Copy constructor (copy semantics).
LCHDF5Mask & operator=(const LCHDF5Mask &other)
Assignment (reference semantics).
virtual LCRegion * cloneRegion() const
Make a copy of the derived object.
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Help the user pick a cursor for most efficient access.
static LCHDF5Mask * fromRecord(const TableRecord &, const String &tablename)
Convert correct object from a record.
HDF5Lattice< Bool > itsMask
virtual TableRecord toRecord(const String &tableName) const
Convert the (derived) object to a record.
virtual String type() const
Region type.
virtual ~LCHDF5Mask()
Destructor.
virtual Bool isWritable() const
An LCHDF5Mask is writable if the underlying HDF5Lattice is.
virtual LCRegion * doTranslate(const Vector< Float > &translateVector, const IPosition &newLatticeShape) const
Construct another LCHDF5Mask (for e.g.
static String className()
Get the class name (to store in the record).
const IPosition & latticeShape() const
Give the full lattice shape.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
bool Bool
Define the standard types used by Casacore.