26#ifndef TABLES_REFROWS_H
27#define TABLES_REFROWS_H
30#include <casacore/casa/aips.h>
31#include <casacore/tables/Tables/RowNumbers.h>
90#ifdef IMPLICIT_CTDS_32BIT
void operator++()
Go the next slice.
rownr_t sliceIncr() const
Vector< rownr_t > itsRows
Bool pastEnd() const
Is the iterator past the end?
rownr_t sliceStart() const
Get the current slice start, end, or increment.
void reset()
Reset the iterator to the beginning.
RefRowsSliceIter(const RefRows &)
Construct the iterator on a RefRows object.
RowNumbers convert(const RowNumbers &rootRownrs) const
Convert this object to a RowNumbers object by applying the given row numbers.
RefRows(rownr_t start, rownr_t end, rownr_t incr=1)
Create the object from a single start,end,incr slice.
Bool isSliced() const
Represents the vector a slice?
RefRows(const Vector< rownr_t > &rowNumbers, Bool isSliced=False, Bool collapse=False)
Create the object from a Vector containing the row numbers.
rownr_t fillNrows() const
Fill the itsNrows variable.
RefRows(const RefRows &other)
Copy constructor (reference semantics).
void init(const Vector< rownr_t > &rowNumbers, Bool isSliced, Bool collapse)
Initialize the object.
Vector< rownr_t > itsRows
Bool operator==(const RefRows &other) const
Do this and the other object reference the same rows?
RowNumbers convert() const
Convert this object to a RowNumbers object by de-slicing it.
RefRows(const Vector< uInt > &rowNumbers, Bool isSliced=False, Bool collapse=False)
RefRows & operator=(const RefRows &other)
Assignment (copy semantics).
rownr_t nrows() const
Return the number of rows given by this object.
const Vector< rownr_t > & rowVector() const
Get the row vector as is (thus sliced if the object contains slices).
rownr_t firstRow() const
Return the first row in the object.
For temporary backward namespace compatibility, use casa as alias for casacore.
bool Bool
Define the standard types used by Casacore.
uInt64 rownr_t
Define the type of a row number in a table.