Module gwy :: Class StringList
[show private | hide private]
[frames | no frames]

Class StringList


StringList The StringList struct contains private data only and should be accessed using the functions below.
Method Summary
  __init__()
Creates a new string list.
  append(string)
Appends a string to the end of a string list.
  get(i)
Gets a string from a string list by position.
  get_length()
Gets the number of strings in a string list.

Method Details

__init__()
(Constructor)

Creates a new string list.
Returns:
A new empty string list.

append(string)

Appends a string to the end of a string list.
Parameters:
string - A string to add. (string)

get(i)

Gets a string from a string list by position.
Parameters:
i - The position of string to get. (int)
Returns:
The string, owned by strlist. It is valid only until strlist changes.

get_length()

Gets the number of strings in a string list.
Returns:
The number of strings in strlist.

Generated by Epydoc 2.1 on Tue Dec 30 04:01:41 2008 http://epydoc.sf.net