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

Sparksee type identifier list. More...

Public Member Functions

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

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

def sparksee.TypeList.__init__ (   self)

Constructor.

This creates an empty list.

Member Function Documentation

def sparksee.TypeList.__iter__ (   self)

Gets a new TypeListIterator.

Returns
TypeListIterator instance
def sparksee.TypeList.add (   self,
  type 
)

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

Parameters
type[in] Sparksee type identifier.
def sparksee.TypeList.count (   self)

Number of elements in the list.

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

Gets a new TypeListIterator.

Returns
TypeListIterator instance.