Go to the documentation of this file.
28 #ifndef CASA_MULTIHDF5_H
29 #define CASA_MULTIHDF5_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/IO/MultiFile.h>
34 #include <casacore/casa/HDF5/HDF5File.h>
virtual void writeBlock(MultiFileInfo &info, Int64 blknr, const void *buffer)
Write a data block.
Int64 blockSize() const
Get the block size used.
virtual void close()
Flush and close the file.
OpenOption
Define the possible ByteIO open options.
Helper class for MultiFileBase containing info per internal file.
virtual void extend(MultiFileInfo &info, Int64 lastblk)
Extend the virtual file to fit lastblk.
virtual void readHeader(Bool always=True)
Read the header info.
virtual void flushFile()
Flush the file itself.
Abstract base class to combine multiple files in a single one.
virtual void fsync()
Fsync the file (i.e., force the data to be physically written).
virtual void reopenRW()
Reopen the underlying file for read/write access.
virtual void doDeleteFile(MultiFileInfo &)
Do the class-specific actions on deleting a file.
this file contains all the compiler specific defines
MultiHDF5(const String &name, ByteIO::OpenOption, Int blockSize=0)
Open or create a MultiHDF5 with the given name.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
String: the storage and methods of handling collections of characters.
virtual void writeHeader()
Write the header info.
bool Bool
Define the standard types used by Casacore.
virtual ~MultiHDF5()
The destructor flushes and closes the file.
const vector< MultiFileInfo > & info() const
Get the info object (for test purposes mainly).
virtual void doAddFile(MultiFileInfo &)
Do the class-specific actions on adding a file.
virtual void readBlock(MultiFileInfo &info, Int64 blknr, void *buffer)
Read a data block.