28 #ifndef TABLES_CONCATROWS_H
29 #define TABLES_CONCATROWS_H
void findRownr(rownr_t rownr) const
Find the row number and fill in the lastXX_p values.
uInt ntable() const
Give the nr of tables.
RefRows getChunk() const
Get the current chunk.
rownr_t offset(uInt i) const
Give the offset for the i-th table.
Class holding the row numbers in a ConcatTable.
const ConcatRows * itsRows
uInt tableNr() const
Get the nr of the table the current chunk is in.
Bool pastEnd() const
Is the iterator past the end?
rownr_t nrow() const
Get the total nr of rows.
void resize(size_t n, Bool forceSmaller=False, Bool copyElements=True)
Resizes the Block.
void mapRownr(uInt &tableNr, rownr_t &tabRownr, rownr_t rownr) const
Map an overall row number to a table and row number.
rownr_t operator[](uInt i) const
Give the nr of rows for the i-th table.
ConcatRowsIter(const ConcatRows &)
Construct the iterator on a ConcatRows object.
Vector< rownr_t > itsChunk
Class holding the row numbers in a RefTable.
void reserve(uInt ntable)
Reserve the block for the given nr of tables.
void add(rownr_t nrow)
Add a table with the given nr of rows.
void operator++()
Go the next chunk.
bool Bool
Define the standard types used by Casacore.
uInt64 rownr_t
Define the type of a row number in a table.
Class to iterate through a ConcatRows object.
ConcatRows()
Construct an empty block.