28 #ifndef TABLES_COLUMNCACHE_H
29 #define TABLES_COLUMNCACHE_H
136 return rownr<itsStart || rownr>
itsEnd ? -1 :
Int offset(uInt rownr) const
Calculate the offset in the cached data for the given row.
ColumnCache()
Constructor.
void setIncrement(uInt increment)
Set the increment to the given value.
A caching object for a table column.
void set(uInt startRow, uInt endRow, const void *dataPtr)
Set the start and end row number for which the given data pointer is valid.
const void * dataPtr() const
Give a pointer to the data.
void invalidate()
Invalidate the cache.
uInt start() const
Give the start, end (including), and increment row number of the cached column values.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.