![]() |
Qore Programming Language Reference Manual 2.1.1
|
This class defines an abstract interface for iterators where the size of the object being iterated is known in advance. More...
#include <QC_AbstractQuantifiedIterator.dox.h>
Public Member Functions | |
| abstract bool | empty () |
| returns True if the object to iterate is empty; False if not | |
| abstract bool | first () |
| returns True if on the first element | |
| abstract bool | last () |
| returns True if on the last element | |
Public Member Functions inherited from Qore::AbstractIterator | |
| abstract auto | getValue () |
| returns the current value | |
| abstract bool | next () |
| Moves the current position to the next element; returns False if there are no more elements. | |
| abstract bool | valid () |
| returns True if the iterator is currently pointing at a valid element, False if not | |
This class defines an abstract interface for iterators where the size of the object being iterated is known in advance.
| abstract bool Qore::AbstractQuantifiedIterator::empty | ( | ) |
| abstract bool Qore::AbstractQuantifiedIterator::first | ( | ) |