28 #ifndef TABLES_ISMINDEX_H
29 #define TABLES_ISMINDEX_H
128 void show (std::ostream&)
const;
void addRow(rownr_t nrrow)
Add a row.
void addBucketNr(rownr_t rownr, uInt bucketNr)
Add a bucket number to the index.
AipsIO is the object persistency mechanism of Casacore.
The Index of the Incremental Storage Manager.
Bool nextBucketNr(uInt &cursor, rownr_t &bucketStartRow, rownr_t &bucketNrrow, uInt &bucketNr) const
Get the number of the next bucket from the index and return it in bucketNr.
Base class of the Incremental Storage Manager.
ISMIndex & operator=(const ISMIndex &)
Forbid assignment.
ISMIndex(ISMBase *parent)
Create a ISMIndex object with the given parent for a new table.
Block< rownr_t > rows_p
Rownr index (i.e.
bool Bool
Define the standard types used by Casacore.
uInt getBucketNr(rownr_t rownr, rownr_t &bucketStartRow, rownr_t &bucketNrrow) const
Get the bucket number for the given row.
uInt64 rownr_t
Define the type of a row number in a table.
uInt nused_p
Number of entries used.
~ISMIndex()
The destructor closes the file (if opened).
Int removeRow(rownr_t rownr)
Remove a row from the index.
void put(AipsIO &os)
Write the bucket index into the AipsIO object.
Block< uInt > bucketNr_p
Corresponding bucket number.
ISMBase * stmanPtr_p
Pointer to the parent storage manager.
uInt getIndex(rownr_t rownr) const
Get the index of the bucket containing the given row.
void show(std::ostream &) const
Show the index.