28 #ifndef TABLES_COLUMNCACHE_H
29 #define TABLES_COLUMNCACHE_H
36 #include <casacore/casa/aips.h>
142 if (rownr < itsStart || rownr >
itsEnd) {
Int64 offset(rownr_t rownr) const
Calculate the offset in the cached data for the given row.
void setIncrement(rownr_t increment)
Set the increment to the given value.
const void * dataPtr() const
Give a pointer to the data.
rownr_t start() const
Give the start, end (including), and increment row number of the cached column values.
void invalidate()
Invalidate the cache.
void set(rownr_t startRow, rownr_t endRow, const void *dataPtr)
Set the start and end row number for which the given data pointer is valid.
ColumnCache()
Constructor.
this file contains all the compiler specific defines
LatticeExprNode max(const LatticeExprNode &left, const LatticeExprNode &right)
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
uInt64 rownr_t
Define the type of a row number in a table.