28 #ifndef TABLES_TILEDSTMANACCESSOR_H 29 #define TABLES_TILEDSTMANACCESSOR_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/tables/DataMan/DataManAccessor.h> 34 #include <casacore/casa/iosfwd.h> A Vector of integers, for indexing into Array<T> objects.
uInt getCacheSize(uInt hypercube) const
Get the current cache size (in buckets) for the given hypercube.
ROTiledStManAccessor()
Default constructor should be used with care.
virtual ~ROTiledStManAccessor()
const IPosition & getHypercubeShape(uInt hypercube) const
Get the shape of the given hypercube.
Main interface class to a read/write table.
DataManager * getDataManager() const
Get the data manager.
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 nhypercubes() const
Return the number of hypercubes.
const IPosition & hypercubeShape(uInt rownr) const
Get the hypercube shape of the data in the given row.
uInt getBucketSize(uInt hypercube) const
Get the bucket size (in bytes) of the given hypercube.
const IPosition & tileShape(uInt rownr) const
Get the tile shape of the data in the given row.
uInt bucketSize(uInt rownr) const
Get the bucket size (in bytes) of the hypercube in the given row.
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.
uInt calcCacheSize(uInt 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.
TiledStMan * dataManPtr_p
Base class for the Data Manager Accessor classes.
Abstract base class for a data manager.
uInt maximumCacheSize() const
Get the maximum cache size (in MiB).
const IPosition & getTileShape(uInt hypercube) const
Get the tile shape of the given hypercube.
const Record & valueRecord(uInt rownr) const
Get coordinate and id values of the hypercube in the given row.
String: the storage and methods of handling collections of characters.
uInt cacheSize(uInt rownr) const
Get the current cache size (in buckets) for the hypercube in the given row.
ROTiledStManAccessor & operator=(const ROTiledStManAccessor &that)
Assignment (reference semantics).
void setCacheSize(uInt rownr, const IPosition &sliceShape, const IPosition &axisPath, Bool forceSmaller=True)
Set the cache size using the corresponding calcCacheSize function mentioned above.
Give access to some TiledStMan functions.
this file contains all the compiler specific defines
void setMaximumCacheSize(uInt nMiB)
Set the maximum cache size (in MibiByte) to be used by a hypercube in the storage manager...