SparkseePython3 6.1.0
sparksee.AttributeList Class Reference

Sparksee attribute identifier list. More...

Public Member Functions

 add (self, attr)
 Adds a Sparksee attribute identifier at the end of the list.
 clear (self)
 Clears the list.
 __iter__ (self)
 Gets a new TypeListIterator.
 iterator (self)
 Gets a new AttributeListIterator.
 __init__ (self)
 Constructor.
 count (self)
 Number of elements in the list.

Detailed Description

Sparksee attribute identifier list.

It stores a Sparksee attribute identifier list. Optionally it may also store tha corresponding attribute names. It can also optionally store a single set of values for each attribute.

Use AttributeListIterator to access all elements into this collection.

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

Constructor & Destructor Documentation

◆ __init__()

sparksee.AttributeList.__init__ ( self)

Constructor.

This creates an empty list.

Member Function Documentation

◆ __iter__()

sparksee.AttributeList.__iter__ ( self)

Gets a new TypeListIterator.

Returns
TypeListIterator instance

◆ add()

sparksee.AttributeList.add ( self,
attr )

Adds a Sparksee attribute identifier at the end of the list.

Parameters
attr[in] Sparksee attribute identifier.

◆ count()

sparksee.AttributeList.count ( self)

Number of elements in the list.

Returns
Number of elements in the list.

◆ iterator()

sparksee.AttributeList.iterator ( self)

Gets a new AttributeListIterator.

Returns
AttributeListIterator instance.