![]() |
||
|
Iteration support is provided in a way that is compatible with built-in dictionary objects.
The Parameters class itself is an iterable, which means that it can be naturally used in for loops. All keys, values and items operations are supported.
A typical usage pattern could be similar to the following code that prints the names of all entries in the given parameters object:
for name in params:
print(name)
The size of the whole collection can be always obtained with the len function of the parameters object.