28 #ifndef TABLES_TSMCUBEMMAP_H
29 #define TABLES_TSMCUBEMMAP_H
137 char* section,
uInt colnr,
138 uInt localPixelSize,
uInt externalPixelSize,
145 char* section,
uInt colnr,
146 uInt localPixelSize,
uInt externalPixelSize,
A Vector of integers, for indexing into Array<T> objects.
TSMCubeMMap(TiledStMan *stman, TSMFile *file, const IPosition &cubeShape, const IPosition &tileShape, const Record &values, Int64 fileOffset)
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)
TSMCubeMMap & operator=(const TSMCubeMMap &)
Forbid assignment.
const IPosition & tileShape() const
Get the shape of the tiles.
Tiled hypercube in a table.
AipsIO is the object persistency mechanism of Casacore.
unsigned long long uInt64
BucketMapped * cache_p
The bucket cache.
Base class for Tiled Storage Manager classes.
virtual void extend(uInt64 nr, const Record &coordValues, const TSMColumn *lastCoordColumn)
Extend the last dimension of the cube with the given number.
uInt cacheSize() const
Get the current cache size (in buckets).
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.
virtual void deleteCache()
Delete the cache object.
BucketMapped * getCache()
Get the cache object.
virtual void setShape(const IPosition &cubeShape, const IPosition &tileShape)
Set the hypercube shape.
const IPosition & cubeShape() const
Get the shape of the hypercube.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual void makeCache()
Construct the cache object (if not constructed yet).
A column in the Tiled Storage Manager.
File object for Tiled Storage Manager.
Tiled hypercube in a table.
virtual void showCacheStatistics(ostream &os) const
Show the cache statistics.
virtual void flushCache()
Flush the data in the cache.
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.
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.
Use file mapping for buckets in a part of a file.
virtual void resyncCache()
Resync the cache object.