28 #ifndef TABLES_REFROWS_H
29 #define TABLES_REFROWS_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/tables/Tables/RowNumbers.h>
97 #ifdef IMPLICIT_CTDS_32BIT
Class to iterate through a RefRows object.
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 & operator=(const RefRows &other)
Assignment (copy semantics).
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).
const Vector< rownr_t > & rowVector() const
Get the row vector as is (thus sliced if the object contains slices).
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)
rownr_t nrows() const
Return the number of rows given by this object.
rownr_t firstRow() const
Return the first row in the object.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
uInt64 rownr_t
Define the type of a row number in a table.