maxon.DataDictionaryIteratorInterface

Description

maxon.DataDictionaryIteratorInterface is used internally by DataDictionary.Iterator().

Warning

It should not be used directly.

Inheritance diagram

Inheritance

Parent Class:

Methods Signature

Destruct() Destructs the current iterator
GetKeyAndData(res) Retrieves the key and value for the current entry of the iterator.
HasValue() Checks if there is still value to iterate.
MoveToNext() Move to the next entry from the maxon.DataDictionary.
__init__(memory)
param memory:

Methods Definition

DataDictionaryIteratorInterface.Destruct()

Destructs the current iterator

DataDictionaryIteratorInterface.GetKeyAndData(res)

Retrieves the key and value for the current entry of the iterator.

Parameters:res (tuple(maxon.Data, maxon.Data)) – The key and the value stored for this key.
Returns:
DataDictionaryIteratorInterface.HasValue()

Checks if there is still value to iterate.

Returns:Returns True if this object contains a value.
Return type:bool
DataDictionaryIteratorInterface.MoveToNext()

Move to the next entry from the maxon.DataDictionary.

DataDictionaryIteratorInterface.__init__(memory)
Parameters:memory