SparkseePython3 6.1.0
sparksee.TypeList Class Reference

Sparksee type identifier list. More...

Public Member Functions

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

Detailed Description

Sparksee type identifier list.

It stores a Sparksee node or edge type identifier list.

Use TypeListIterator to access all elements into this collection.

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

Constructor & Destructor Documentation

◆ __init__()

sparksee.TypeList.__init__ ( self)

Constructor.

This creates an empty list.

Member Function Documentation

◆ __iter__()

sparksee.TypeList.__iter__ ( self)

Gets a new TypeListIterator.

Returns
TypeListIterator instance

◆ add()

sparksee.TypeList.add ( self,
type )

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

Parameters
type[in] Sparksee type identifier.

◆ count()

sparksee.TypeList.count ( self)

Number of elements in the list.

Returns
Number of elements in the list.

◆ iterator()

sparksee.TypeList.iterator ( self)

Gets a new TypeListIterator.

Returns
TypeListIterator instance.