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