maxon.AutoIterator¶
Description¶
AutoIterator implements a foreach iterator for a BaseArray
Warning
This function is only there to expose a C++ Object to Python.
As a Python developer you normally don’t have to deal with this function.
Inheritance diagram¶
Inheritance
Methods Signature¶
|
Initializes the Iterator with the given BaseArray optionally with an offset. |
|
Retrieves the next element in the array. |
Methods Definition¶
-
AutoIterator.
__init__
(array, beginIndex=None)¶ Initializes the Iterator with the given BaseArray optionally with an offset.
- Parameters
array (BaseArray) – The Array to iterates.
beginIndex (Optional[int]) – Optional offset for the start of the array iteration.
-
AutoIterator.
__next__
()¶ Retrieves the next element in the array.
- Returns
The next element of the array.
- Return type