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.
const IPosition & hypercubeShape(uInt rownr) const
Get the hypercube shape of the data in the given row.
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 bucketSize(uInt rownr) const
Get the bucket size (in bytes) of the hypercube in the given row.
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
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.
uInt nhypercubes() const
Return the number of hypercubes.
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...
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
const Record & valueRecord(uInt rownr) const
Get coordinate and id values of the hypercube in the given row.
void clearCaches()
Clear the caches used by the hypercubes in this storage manager.
DataManager * getDataManager() const
Get the data manager.
uInt cacheSize(uInt rownr) const
Get the current cache size (in buckets) for the hypercube in the given row.
TiledStMan * dataManPtr_p
Base class for the Data Manager Accessor classes.
Abstract base class for a data manager.
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).
void setCacheSize(uInt rownr, const IPosition &sliceShape, const IPosition &axisPath, Bool forceSmaller=True)
Set the cache size using the corresponding calcCacheSize function mentioned above.
const IPosition & tileShape(uInt rownr) const
Get the tile shape of the data in the given row.
Give access to some TiledStMan functions.
void setMaximumCacheSize(uInt nMiB)
Set the maximum cache size (in MibiByte) to be used by a hypercube in the storage manager...
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.