 |
Qore Programming Language Reference Manual
0.9.4.3
|
auto getValue()
returns the current value or throws an INVALID-ITERATOR exception if the iterator is invalid
This class defines a simple iterator to be used to iterate single values (or complex objects where no...
Definition: QC_SingleValueIterator.dox.h:25
bool valid()
returns True if the iterator is currently pointing at a valid element, False if not
constructor(auto v)
creates the single value iterator with the value passed as an argument
bool next()
This method returns True and False alternately unless it has no value to iterate, in which case it re...
copy()
Creates a copy of the SingleValueIterator object, iterating the same object as the original and in th...
This class defines an abstract interface for iterators.
Definition: QC_AbstractIterator.dox.h:10
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
reset()
Reset the iterator instance to its initial state.