Qore Programming Language Reference Manual: lib/QC_SingleValueIterator.dox.h Source File

Qore Programming Language Reference Manual 0.8.11

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

All Classes Namespaces Functions Variables Groups Pages
QC_SingleValueIterator.dox.h
1 namespace Qore {
4
25 class SingleValueIterator : public AbstractIterator {
26
27 public:
29
36 constructor(any v);
37
38 public:
40
45 copy();
46
47 public:
49
63 any getValue();
64
65 public:
67
80 bool next();
81
82 public:
84
93 reset();
94
95 public:
97
108 bool valid();
109 };
110 };
Qore::SingleValueIterator::valid
bool valid()
returns True if the iterator is currently pointing at a valid element, False if not ...
Qore::SingleValueIterator::constructor
constructor(any v)
creates the single value iterator with the value passed as an argument
Qore::SingleValueIterator::copy
copy()
Creates a copy of the SingleValueIterator object, iterating the same object as the original and in th...
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::reset
reset()
Reset the iterator instance to its initial state.
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
any getValue()
returns the current value or throws an INVALID-ITERATOR exception if the iterator is invalid ...
Qore::AbstractIterator
This class defines an abstract interface for iterators.
Definition: QC_AbstractIterator.dox.h:10