28 #ifndef CASA_BUCKETMAPPED_H
29 #define CASA_BUCKETMAPPED_H
98 return const_cast<char*
>(
getBucket(bucketNr));
File object for BucketCache.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
const char * getBucket(uInt bucketNr)
Get a readonly pointer to the given bucket in memory.
virtual void initializeBuckets(uInt bucketNr)
Initialize the bucket buffer.
BucketMapped(BucketFile *file, Int64 startOffset, uInt bucketSize, uInt nrOfBuckets)
Create the cache for (part of) a file.
virtual void doFlush()
Flush the file.
BucketMapped & operator=(const BucketMapped &)
Assignment is not possible.
Bool itsHasWritten
Have data been written?
char * getrwBucket(uInt bucketNr)
Get a writable pointer to the given bucket in memory.
Abstract base class for Bucket classes.
virtual void doExtend(uInt nrBucket)
Extend the file with the given number of buckets.
virtual void doResync()
Do the actual resync-ing.
~BucketMapped()
Unmap the file.
Use file mapping for buckets in a part of a file.
Defines nreal time structures used by the VLA table filler.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.