28 #ifndef TABLES_TSMCUBEBUFF_H
29 #define TABLES_TSMCUBEBUFF_H
136 char* section,
uInt colnr,
137 uInt localPixelSize,
uInt externalPixelSize,
144 char* section,
uInt colnr,
145 uInt localPixelSize,
uInt externalPixelSize,
A Vector of integers, for indexing into Array<T> objects.
TSMCubeBuff(TiledStMan *stman, TSMFile *file, const IPosition &cubeShape, const IPosition &tileShape, const Record &values, Int64 fileOffset, uInt bufferSize)
Construct the hypercube using the given file with the given shape.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
const IPosition & tileShape() const
Get the shape of the tiles.
virtual void extend(uInt nr, const Record &coordValues, const TSMColumn *lastCoordColumn)
Extend the last dimension of the cube with the given number.
Tiled hypercube in a table.
AipsIO is the object persistency mechanism of Casacore.
Base class for Tiled Storage Manager classes.
uInt cacheSize() const
Get the current cache size (in buckets).
uInt bufferSize_p
The buffer size to use.
virtual void setCacheSize(const IPosition &sliceShape, const IPosition &windowStart, const IPosition &windowLength, const IPosition &axisPath, Bool forceSmaller, Bool userSet)
Set the cache size for the given slice and access path.
const_iterator end() const
Use buffered file IO for buckets in a part of a file.
TSMCubeBuff & operator=(const TSMCubeBuff &)
Forbid assignment.
virtual void deleteCache()
Delete the cache object.
BucketBuffered * getCache()
Get the cache object.
virtual void accessSection(const IPosition &start, const IPosition &end, char *section, uInt colnr, uInt localPixelSize, uInt externalPixelSize, Bool writeFlag)
Read or write a section in the cube.
const IPosition & cubeShape() const
Get the shape of the hypercube.
virtual void showCacheStatistics(ostream &os) const
Show the cache statistics.
virtual void flushCache()
Flush the data in the cache.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
BucketBuffered * cache_p
The bucket cache.
A column in the Tiled Storage Manager.
File object for Tiled Storage Manager.
virtual void setShape(const IPosition &cubeShape, const IPosition &tileShape)
Set the hypercube shape.
virtual void resyncCache()
Resync the cache object.
virtual void accessStrided(const IPosition &start, const IPosition &end, const IPosition &stride, char *section, uInt colnr, uInt localPixelSize, uInt externalPixelSize, Bool writeFlag)
Read or write a section in a strided way.
Tiled hypercube in a table.
virtual void makeCache()
Construct the cache object (if not constructed yet).
Defines nreal time structures used by the VLA table filler.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.