SparkseePython3 6.1.0
sparksee.AttributeListIterator Class Reference

AttributeList iterator class. More...

Public Member Functions

 get_current_name (self)
 Get the current attribute Name if it's available or an empty string otherwise.
 next (self)
 Moves to the next element.
 has_next (self)
 Gets if there are more elements.
 get_current_value (self, value)
 Get the value for the current attribute if it's available or set it Null otherwise.
 __next__ (self)
 Return the next item from the container.

Detailed Description

AttributeList iterator class.

Iterator to traverse all the Sparksee attribute identifier into a AttributeList instance.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Member Function Documentation

◆ __next__()

sparksee.AttributeListIterator.__next__ ( self)

Return the next item from the container.

If there are no further items, raise the StopIteration exception.

Returns
The next element

◆ get_current_value()

sparksee.AttributeListIterator.get_current_value ( self,
value )

Get the value for the current attribute if it's available or set it Null otherwise.

Parameters
value[in|out] The Value will be set to the current attribute value or as a Null Value.

◆ has_next()

sparksee.AttributeListIterator.has_next ( self)

Gets if there are more elements.

Returns
TRUE if there are more elements, FALSE otherwise.

◆ next()

sparksee.AttributeListIterator.next ( self)

Moves to the next element.

Returns
The next element.