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

String list. More...

Public Member Functions

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

Detailed Description

String list.

It stores a String (unicode) list.

Use StringListIterator to access all elements into this collection.

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

Constructor & Destructor Documentation

def sparksee.StringList.__init__ (   self)

Constructor.

This creates an empty list.

Member Function Documentation

def sparksee.StringList.__iter__ (   self)

Gets a new TypeListIterator.

Returns
TypeListIterator instance
def sparksee.StringList.add (   self,
  str 
)

Adds a String at the end of the list.

Parameters
str[in] String.
def sparksee.StringList.count (   self)

Number of elements in the list.

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

Gets a new StringListIterator.

Returns
StringListIterator instance.