Class to iterate through a RefRows object.
Intended use:
Internal
Review Status
- Reviewed By:
- UNKNOWN
- Date Reviewed:
- before2004/08/25
- Test programs:
- tRefRows
Prerequisite
Synopsis
RefRowsSliceIter is useful to iterate through a RefRows object, especially if the RefRows object contains slices. Each step in the iteration returns a Slice object containing the next slice in the RefRows object.
It is used in Table and data manager classes (e.g. StManColumn).
Example
This example shows how to iterate through a RefRows object (giving a slice) and through each of the slices.
void somefunc (const RefRows& rownrs)
while (! rowiter.pastEnd()) {
uInt rownr = rowiter.sliceStart();
uInt end = rowiter.sliceEnd();
uInt incr = rowiter.sliceIncr();
while (rownr <= end) {
rownr += incr;
}
rowiter++;
}
}
Definition at line 208 of file RefRows.h.