Go to the documentation of this file.
28 #ifndef TABLES_CONCATROWS_H
29 #define TABLES_CONCATROWS_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/tables/Tables/RefRows.h>
34 #include <casacore/casa/Containers/Block.h>
void resize(size_t n, Bool forceSmaller=False, Bool copyElements=True)
Resizes the Block.
uInt nrow() const
Get the total nr of rows.
RefRows getChunk() const
Get the current chunk.
Bool pastEnd() const
Is the iterator past the end?
void operator++()
Go the next chunk.
void add(uInt nrow)
Add a table with the given nr of rows.
void findRownr(uInt rownr) const
Find the row number and fill in the lastXX_p values.
void reserve(uInt ntable)
Reserve the block for the given nr of tables.
uInt ntable() const
Give the nr of tables.
const ConcatRows * itsRows
uInt offset(uInt i) const
Give the offset for the i-th table.
Class to iterate through a ConcatRows object.
ConcatRowsIter(const ConcatRows &, uInt start, uInt end, uInt incr=1)
Construct the iterator on a ConcatRows object for the given row range.
ConcatRows()
Construct an empty block.
uInt tableNr() const
Get the nr of the table the current chunk is in.
this file contains all the compiler specific defines
void mapRownr(uInt &tableNr, uInt &tabRownr, uInt rownr) const
Map an overall row number to a table and row number.
bool Bool
Define the standard types used by Casacore.
ConcatRowsIter(const ConcatRows &)
Construct the iterator on a ConcatRows object.
uInt operator[](uInt i) const
Give the nr of rows for the i-th table.