Qore Programming Language Reference Manual  0.9.14
QC_AbstractIterator.dox.h
1 namespace Qore {
4 
11 
12 public:
14 
27 abstract any getValue();
28 
29 public:
31 
43 abstract bool next();
44 
45 public:
47 
55 abstract bool valid();
56 };
57 }
This class defines an abstract interface for iterators.
Definition: QC_AbstractIterator.dox.h:10
abstract any 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
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3