Go to the documentation of this file.
28 #ifndef TABLES_REFROWS_H
29 #define TABLES_REFROWS_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/Vector.h>
const Vector< uInt > & rowVector() const
Get the row vector as is (thus sliced if the object contains slices).
void reset()
Reset the iterator to the beginning.
Bool isSliced() const
Represents the vector a slice?
RefRows & operator=(const RefRows &other)
Assignment (copy semantics).
void operator++()
Go the next slice.
RefRowsSliceIter(const RefRows &)
Construct the iterator on a RefRows object.
Class to iterate through a RefRows object.
Vector< uInt > convert(const Vector< uInt > &rootRownrs) const
Convert this object to a Vector<uInt> by applying the given row numbers.
Class holding the row numbers in a RefTable.
uInt sliceStart() const
Get the current slice start, end, or increment.
this file contains all the compiler specific defines
Vector< uInt > convert() const
Convert this object to a Vector<uInt> by de-slicing it.
RefRows(const RefRows &other)
Copy constructor (reference semantics).
Bool pastEnd() const
Is the iterator past the end?
uInt firstRow() const
Return the first row in the object.
uInt nrows() const
Return the number of rows given by this object.
RefRows(const Vector< uInt > &rowNumbers, Bool isSliced=False, Bool collapse=False)
Create the object from a Vector containing the row numbers.
bool Bool
Define the standard types used by Casacore.
uInt fillNrows() const
Fill the itsNrows variable.
RefRows(uInt start, uInt end, uInt incr=1)
Create the object from a single start,end,incr slice.
Bool operator==(const RefRows &other) const
Do this and the other object reference the same rows?