FBStringList Class Reference

FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList FBStringList
Inheritance diagram for FBStringList:
Inheritance graph
[legend]

List of all members.


Detailed Description

String list.

See sample: Memo.py.


Public Member Functions

  FBStringList ()
  Constructor.
int  Add (str S, kReference pRef=0)
  Add a string to the list.
  Clear ()
  Clear the list (remove all the items).
int  Find (kReference pRef)
  Find the index where pRef is stored.
int  Find (str S)
  Find the index with the string S.
str  GetAt (int pIndex)
  Get the string at pIndex.
kReference  GetReferenceAt (int pIndex)
  Get the reference store with the string at pIndex.
int  IndexOf (str S)
  Get the index of a string.
  InsertAt (int pIndex, str S, kReference pRef=0)
  Insert an entry at pIndex.
int  Remove (str S)
  Remove a string from the list.
  RemoveAt (int pIndex)
  Remove an entry at pIndex.
bool  SetAt (int pIndex, str pString)
  Set the string at pIndex.
  SetReferenceAt (int pIndex, kReference pRef)
  Set the reference stored with the string at pIndex.
  Sort ()
  Sort the string list (ascending).

Constructor & Destructor Documentation

FBStringList (  ) 

Constructor.


Member Function Documentation

int Add ( str  S,
kReference  pRef = 0  
)

Add a string to the list.

Parameters:
S  String to add to list.
pRef  Reference to store with string (default = 0)
Returns:
Index where item was stored.

Clear (  ) 

Clear the list (remove all the items).

int Find ( kReference  pRef  ) 

Find the index where pRef is stored.

Parameters:
pRef  Reference to look for.
Returns:
Index at which pRef can be found.

int Find ( str  S  ) 

Find the index with the string S.

Parameters:
S  String to search for.
Returns:
Index where S is stored.

str GetAt ( int  pIndex  ) 

Get the string at pIndex.

Parameters:
pIndex  Index to get string at.
Returns:
String at pIndex.

kReference GetReferenceAt ( int  pIndex  ) 

Get the reference store with the string at pIndex.

Parameters:
pIndex  Index to get reference at.
Returns:
Reference stored with value at pIndex.

int IndexOf ( str  S  ) 

Get the index of a string.

Parameters:
S  String to look for.
Returns:
Index where string S was found.

InsertAt ( int  pIndex,
str  S,
kReference  pRef = 0  
)

Insert an entry at pIndex.

Parameters:
pIndex  Index where item is to be inserted.
S  String to insert.
pRef  Reference to store with string(default=0).

int Remove ( str  S  ) 

Remove a string from the list.

Parameters:
S  String to remove from the list.
Returns:
Index where item was found.

RemoveAt ( int  pIndex  ) 

Remove an entry at pIndex.

Parameters:
pIndex  Index where item is to be removed from.

bool SetAt ( int  pIndex,
str  pString  
)

Set the string at pIndex.

Parameters:
pIndex  Index where string is to be set.
pString  String to set value at pIndex with.

SetReferenceAt ( int  pIndex,
kReference  pRef  
)

Set the reference stored with the string at pIndex.

Parameters:
pIndex  Index to store reference at.
pRef  Reference to store at pIndex.

Sort (  ) 

Sort the string list (ascending).


Generated on Tue Feb 9 19:34:39 2010 for Python Reference Guide by  doxygen 1.5.3