28 #ifndef TABLES_ISMINDEX_H
29 #define TABLES_ISMINDEX_H
100 uInt& bucketNrrow)
const;
125 uInt& bucketNr)
const;
128 void show (std::ostream&)
const;
AipsIO is the object persistency mechanism of Casacore.
The Index of the Incremental Storage Manager.
Block< uInt > rows_p
Rownr index (i.e.
Bool nextBucketNr(uInt &cursor, uInt &bucketStartRow, uInt &bucketNrrow, uInt &bucketNr) const
Get the number of the next bucket from the index and return it in bucketNr.
void addRow(uInt nrrow)
Add a row.
uInt getIndex(uInt rownr) const
Get the index of the bucket containing the given row.
Base class of the Incremental Storage Manager.
uInt getBucketNr(uInt rownr, uInt &bucketStartRow, uInt &bucketNrrow) const
Get the bucket number for the given row.
ISMIndex & operator=(const ISMIndex &)
Forbid assignment.
ISMIndex(ISMBase *parent)
Create a ISMIndex object with the given parent for a new table.
Int removeRow(uInt rownr)
Remove a row from the index.
bool Bool
Define the standard types used by Casacore.
uInt nused_p
Number of entries used.
~ISMIndex()
The destructor closes the file (if opened).
void addBucketNr(uInt rownr, uInt bucketNr)
Add a bucket number to 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.
void show(std::ostream &) const
Show the index.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.