Qore Programming Language Reference Manual 1.19.2
Loading...
Searching...
No Matches
QC_SingleValueIterator.dox.h
1
2namespace Qore {
4
26
27public:
29
36 constructor(auto v);
37
38public:
40
46
47public:
49
63auto getValue();
64
65public:
67
80bool next();
81
82public:
84
94
95public:
97
108bool valid();
109};
110}
This class defines an abstract interface for iterators.
Definition: QC_AbstractIterator.dox.h:10
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 next()
This method returns True and False alternately unless it has no value to iterate, in which case it re...
auto getValue()
returns the current value or throws an INVALID-ITERATOR exception if the iterator is invalid
constructor(auto v)
creates the single value iterator with the value passed as an argument
reset()
Reset the iterator instance to its initial state.
bool valid()
returns True if the iterator is currently pointing at a valid element, False if not
copy()
Creates a copy of the SingleValueIterator object, iterating the same object as the original and in th...
Qore namespace.
Definition: QC_AbstractSmartLock.dox.h:2