28 #ifndef TABLES_TSMFILE_H
29 #define TABLES_TSMFILE_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/IO/BucketFile.h>
virtual void open()
Open the file if not open yet.
Abstract base class to combine multiple files in a single one.
String: the storage and methods of handling collections of characters.
TSMFile(const String &fileName, Bool writable, const TSMOption &, MultiFileBase *mfile=0)
Create a TSMFile object for the given existing file.
~TSMFile()
The destructor closes the file.
TSMFile(const TiledStMan *stMan, AipsIO &ios, uInt seqnr, const TSMOption &, MultiFileBase *mfile=0)
Read the object back.
void getObject(AipsIO &ios)
Get the object.
BucketFile * bucketFile()
Return the BucketFile object (to be used in the BucketCache).
Int64 length_p
The (logical) length of the file.
uInt sequenceNumber() const
Return the file sequence number.
void putObject(AipsIO &ios) const
Write the object.
Int64 length() const
Return the logical file length.
TSMFile(const TSMFile &)
Forbid copy constructor.
void open()
Open the file if not open yet.
BucketFile * file_p
The file object.
uInt fileSeqnr_p
The file sequence number.
void extend(Int64 increment)
Increment the logical file length.
TSMFile(const TiledStMan *stMan, uInt fileSequenceNr, const TSMOption &, MultiFileBase *mfile=0)
Create a TSMFile object (with corresponding file).
TSMFile & operator=(const TSMFile &)
Forbid assignment.
this file contains all the compiler specific defines
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
bool Bool
Define the standard types used by Casacore.