29 #ifndef IMAGES_IMAGEOPENER_H 30 #define IMAGES_IMAGEOPENER_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/images/Images/MaskSpecifier.h> 35 #include <casacore/casa/Containers/SimOrdMap.h> 41 class LatticeExprNode;
LatticeBase * OpenImageFunction(const String &fileName, const MaskSpecifier &)
Define the signature of a function opening an image.
static LatticeBase * openImage(const String &fileName, const MaskSpecifier &=MaskSpecifier())
Open an image in the file/table with the given name.
static ImageTypes imageType(const String &fileName)
Return the type of an image with the given name.
static LatticeBase * openExpr(const String &expr, const Block< LatticeExprNode > &nodes, const String &fileName=String())
Parse an image expression and return the ImageExpr<T> object for it.
static LatticeBase * openImageConcat(const String &fileName)
Open a persistent image concatenation of any type.
A non-templated, abstract base class for array-like objects.
static LatticeBase * unknownImageOpen(const String &name, const MaskSpecifier &)
The default openImage function for an unknown image type.
Class to specify which mask to use in an image.
ImageTypes
Define the possible image types.
Definition of image types and handlers.
static void registerOpenImageFunction(ImageTypes, OpenImageFunction *)
Register an openImageFunction.
String: the storage and methods of handling collections of characters.
static LatticeBase * openHDF5Image(const String &fileName, const MaskSpecifier &=MaskSpecifier())
Open an HDF5 paged image of any data type.
static LatticeBase * openImageExpr(const String &fileName)
Open a persistent image expression of any type.
this file contains all the compiler specific defines
static LatticeBase * openPagedImage(const String &fileName, const MaskSpecifier &=MaskSpecifier())
Open a Casacore paged image of any data type.
static SimpleOrderedMap< ImageTypes, OpenImageFunction * > theirOpenFuncMap
Mapping of the image type to an openImage function.