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

Sparksee attribute identifier list. More...

Public Member Functions

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

Detailed Description

Sparksee attribute identifier list.

It stores a Sparksee attribute identifier list.

Use AttributeListIterator to access all elements into this collection.

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

Constructor & Destructor Documentation

def sparksee.AttributeList.__init__ (   self)

Constructor.

This creates an empty list.

Member Function Documentation

def sparksee.AttributeList.__iter__ (   self)

Gets a new TypeListIterator.

Returns
TypeListIterator instance
def sparksee.AttributeList.add (   self,
  attr 
)

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

Parameters
attr[in] Sparksee attribute identifier.
def sparksee.AttributeList.count (   self)

Number of elements in the list.

Returns
Number of elements in the list.
def sparksee.AttributeList.iterator (   self)

Gets a new AttributeListIterator.

Returns
AttributeListIterator instance.