SparkseePython3 6.1.0
sparksee.ValueList Class Reference

Value list. More...

Public Member Functions

 clear (self)
 Clears the list.
 get (self, index)
 Returns the Value at the specified position in the list.
 __iter__ (self)
 Gets a new ValueListIterator.
 iterator (self)
 Gets a new ValueListIterator.
 __init__ (self)
 Constructor.
 add (self, value)
 Adds a value to the end of the list.
 count (self)
 Number of elements in the list.

Detailed Description

Value list.

It stores a Value list.

Use ValueListIterator to access all elements into this collection.

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

Constructor & Destructor Documentation

◆ __init__()

sparksee.ValueList.__init__ ( self)

Constructor.

This creates an empty list.

Member Function Documentation

◆ __iter__()

sparksee.ValueList.__iter__ ( self)

Gets a new ValueListIterator.

Returns
ValueListIterator instance

◆ add()

sparksee.ValueList.add ( self,
value )

Adds a value to the end of the list.

Parameters
value[in] The value to add

◆ count()

sparksee.ValueList.count ( self)

Number of elements in the list.

Returns
Number of elements in the list.

◆ get()

sparksee.ValueList.get ( self,
index )

Returns the Value at the specified position in the list.

Parameters
index[in] Index of the element to return, starting at 0.

◆ iterator()

sparksee.ValueList.iterator ( self)

Gets a new ValueListIterator.

Returns
ValueListIterator instance.