28 #ifndef TABLES_REFROWS_H
29 #define TABLES_REFROWS_H
97 #ifdef IMPLICIT_CTDS_32BIT
void init(const Vector< rownr_t > &rowNumbers, Bool isSliced, Bool collapse)
Initialize the object.
Vector< rownr_t > itsRows
rownr_t fillNrows() const
Fill the itsNrows variable.
Bool pastEnd() const
Is the iterator past the end?
RowNumbers convert() const
Convert this object to a RowNumbers object by de-slicing it.
void reset()
Reset the iterator to the beginning.
rownr_t firstRow() const
Return the first row in the object.
Class holding the row numbers in a RefTable.
RefRows & operator=(const RefRows &other)
Assignment (copy semantics).
Vector< rownr_t > itsRows
bool Bool
Define the standard types used by Casacore.
RefRows(const Vector< rownr_t > &rowNumbers, Bool isSliced=False, Bool collapse=False)
Create the object from a Vector containing the row numbers.
rownr_t nrows() const
Return the number of rows given by this object.
rownr_t sliceStart() const
Get the current slice start, end, or increment.
rownr_t sliceIncr() const
void operator++()
Go the next slice.
RefRowsSliceIter(const RefRows &)
Construct the iterator on a RefRows object.
uInt64 rownr_t
Define the type of a row number in a table.
Bool operator==(const RefRows &other) const
Do this and the other object reference the same rows?
const Vector< rownr_t > & rowVector() const
Get the row vector as is (thus sliced if the object contains slices).
Bool isSliced() const
Represents the vector a slice?
Class to iterate through a RefRows object.