28 #ifndef TABLES_TILEDSTMANACCESSOR_H
29 #define TABLES_TILEDSTMANACCESSOR_H
A Vector of integers, for indexing into Array<T> objects.
ROTiledStManAccessor()
Default constructor should be used with care.
const IPosition & getTileShape(uInt hypercube) const
Get the tile shape of the given hypercube.
uInt getBucketSize(uInt hypercube) const
Get the bucket size (in bytes) of the given hypercube.
virtual ~ROTiledStManAccessor()
uInt getCacheSize(uInt hypercube) const
Get the current cache size (in buckets) for the given hypercube.
Main interface class to a read/write table.
void setHypercubeCacheSize(uInt hypercube, uInt nbuckets, Bool forceSmaller=True)
This version allows setting the tile cache for a particular hypercube.
Base class for Tiled Storage Manager classes.
uInt calcCacheSize(rownr_t rownr, const IPosition &sliceShape, const IPosition &axisPath) const
Calculate the cache size (in buckets) for accessing the hypercube containing the given row...
const Record & getValueRecord(uInt hypercube) const
Get coordinate and id values of the given hypercube.
const IPosition & getHypercubeShape(uInt hypercube) const
Get the shape of the given hypercube.
const IPosition & tileShape(rownr_t rownr) const
Get the tile shape of the data in the given row.
uInt nhypercubes() const
Return the number of hypercubes.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
void clearCaches()
Clear the caches used by the hypercubes in this storage manager.
DataManager * getDataManager() const
Get the data manager.
uInt64 rownr_t
Define the type of a row number in a table.
const Record & valueRecord(rownr_t rownr) const
Get coordinate and id values of the hypercube in the given row.
TiledStMan * dataManPtr_p
Base class for the Data Manager Accessor classes.
Abstract base class for a data manager.
const IPosition & hypercubeShape(rownr_t rownr) const
Get the hypercube shape of the data in the given row.
String: the storage and methods of handling collections of characters.
ROTiledStManAccessor & operator=(const ROTiledStManAccessor &that)
Assignment (reference semantics).
uInt maximumCacheSize() const
Get the maximum cache size (in MiB).
uInt bucketSize(rownr_t rownr) const
Get the bucket size (in bytes) of the hypercube in the given row.
Give access to some TiledStMan functions.
uInt cacheSize(rownr_t rownr) const
Get the current cache size (in buckets) for the hypercube in the given row.
void setCacheSize(rownr_t rownr, const IPosition &sliceShape, const IPosition &axisPath, Bool forceSmaller=True)
Set the cache size using the corresponding calcCacheSize function mentioned above.
void setMaximumCacheSize(uInt nMiB)
Set the maximum cache size (in MibiByte) to be used by a hypercube in the storage manager...