26#ifndef TABLES_COLUMNCACHE_H
27#define TABLES_COLUMNCACHE_H
34#include <casacore/casa/aips.h>
140 if (rownr < itsStart || rownr >
itsEnd) {
144 assert(
offset <=
static_cast<rownr_t>(std::numeric_limits<Int64>::max()));
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
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.