28 #ifndef LATTICES_LATTICECACHE_H
29 #define LATTICES_LATTICECACHE_H
41 template <
class T>
class Block;
42 template <
class T>
class Lattice;
128 virtual void flush();
162 #ifndef CASACORE_NO_AUTO_TEMPLATES
163 #include <casacore/lattices/Lattices/LatticeCache.tcc>
164 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
virtual void showCacheStatistics(ostream &os)
Show the statistics of cache access.
Vector< Float > tileOverlap
Vector< Int > tileOffsetVec
Vector< Int > tileShapeVec
a class for caching image access via tiles
virtual void flush()
Flush contents.
Block< IPosition > tileLocs
LatticeCache< T > & operator=(const LatticeCache< T > &other)
void readTile(Int tile, Bool readonly)
A templated, abstract base class for array-like objects.
bool Bool
Define the standard types used by Casacore.
Array< T > & tile(IPosition &cacheLoc, const IPosition &tileLoc, Bool discard=True)
Return the tile for a given location.
virtual void clearCacheStatistics()
Clear the statistics of cache access.
template <class T, class U> class vector;
Block< Int > tileSequence
Block< Array< T > > tileContents
IPosition & cacheLocation(IPosition &cacheLoc, const IPosition &tileLoc)
Return the IPosition for the start of this tile.
Int getFreeTile(Bool readonly)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.