Iterator¶
| Spice | |
|---|---|
IIterator<T> interface¶
The IIterator interface must be implemented in order to be handled as an iterator by Spice. For instance, all elements, implementing the IIterator interface can be looped over by a standard foreach loop.
get¶
| Spice | |
|---|---|
Returns: T&
getIdx¶
| Spice | |
|---|---|
Returns: Pair<unsigned long, T&>
isValid¶
| Spice | |
|---|---|
Returns: bool
next¶
| Spice | |
|---|---|