Go to the documentation of this file.
28 #ifndef CASA_REGULARFILEIO_H
29 #define CASA_REGULARFILEIO_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/IO/FilebufIO.h>
34 #include <casacore/casa/OS/RegularFile.h>
Class for IO on a regular file.
OpenOption
Define the possible ByteIO open options.
Class for buffered IO on a file.
RegularFile itsRegularFile
virtual void reopenRW()
Reopen the underlying file for read/write access.
RegularFileIO & operator=(const RegularFileIO &that)
Assignment, should not be used.
this file contains all the compiler specific defines
RegularFileIO(const RegularFile ®ularFile, ByteIO::OpenOption=ByteIO::Old, uInt filebufSize=0)
Create an IO stream object for a regular file with the given name.
virtual String fileName() const
Get the file name of the file attached.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
Manipulate and get information about regular files
static int openCreate(const RegularFile &file, ByteIO::OpenOption, Bool useODirect=False)
Convenience function to open or create a file.