SparkseePython  6.0.2
Public Member Functions | List of all members
sparksee.ValueList Class Reference

Value list. More...

Public Member Functions

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

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

def sparksee.ValueList.__init__ (   self)

Constructor.

This creates an empty list.

Member Function Documentation

def sparksee.ValueList.__iter__ (   self)

Gets a new ValueListIterator.

Returns
ValueListIterator instance
def sparksee.ValueList.add (   self,
  value 
)

Adds a value to the end of the list.

Parameters
value[in] The value to add
def sparksee.ValueList.count (   self)

Number of elements in the list.

Returns
Number of elements in the list.
def 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.
def sparksee.ValueList.iterator (   self)

Gets a new ValueListIterator.

Returns
ValueListIterator instance.