28 #ifndef CASA_HDF5FILE_H
29 #define CASA_HDF5FILE_H
105 virtual void close();
void setChunkCacheSize(size_t nbytes)
size_t getChunkCacheSize() const
Get or set the chunk cache size (in bytes).
A class representing an HDF5 file.
HDF5File(const String &name, ByteIO::OpenOption=ByteIO::Old)
Create an HDF5 file object with the given file name (possible tilde or environment variables in it wi...
Bool isClosed() const
Is the file temporarily closed?
void flush()
Flush the data to disk.
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
void doOpen()
Open or create the file.
HDF5File & operator=(const HDF5File &that)
Assignment cannot be used.
void reopen()
Reopen the file if closed (which may change the HID).
virtual void close()
Close the file (temporarily).
Bool isOpenedForDelete() const
Is the file opened for delete?
bool Bool
Define the standard types used by Casacore.
read/write; file must exist.
void reopenRW()
Reopen the underlying file for read/write access.
An abstract base class representing an HDF5 object.
OpenOption
Define the possible ByteIO open options.
String: the storage and methods of handling collections of characters.
Bool isWritable() const
Is the file writable?
static Bool isHDF5(const String &name)
Test if the file with the given name is an HDF5 file.
hid_t getHid() const
Get the hid.
ByteIO::OpenOption itsOption
~HDF5File()
The destructor closes the file and deletes it when it was opened using ByteIO::Scratch or ByteIO::Del...
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.