String list. More...
#include <pyfbsdk.h>

Public Member Functions | |
| FBStringList () | |
| Constructor. | |
| FBStringList (str pString, str pSeparator='~') | |
| Constructor. | |
| FBStringList (FBStringList pOther) | |
| Copy constructor. | |
| int | Add (str S, kReference pRef=0) |
| Add a string to the list. | |
| str | AsString (str pSeparator='~') |
| Get as string. | |
| Clear () | |
| Clear the list (remove all the items). | |
| int | Find (kReference pRef) |
| Find the index where pRef is stored. | |
| int | Find (str pString, bool pCaseSensitive=True, bool pStartWith=False) |
| Find the index with the string pString (or start with pString) | |
| 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. | |
| bool | SetString (str pString, str pSeparator='~') |
| Set string for list. | |
| Sort () | |
| Sort the string list (ascending) | |
| FBStringList | ( | ) |
Constructor.
| FBStringList | ( | str | pString, |
| str | pSeparator = '~' |
||
| ) |
Constructor.
| pString | String to set for list. |
| pSeparator | the string list separator. |
| FBStringList | ( | FBStringList | pOther | ) |
Copy constructor.
Add a string to the list.
| S | String to add to list. |
| pRef | Reference to store with string (default = 0) |
Get as string.
| pSeparator | the string list separator. |
| Clear | ( | ) |
Clear the list (remove all the items).
| int Find | ( | kReference | pRef | ) |
Find the index where pRef is stored.
| pRef | Reference to look for. |
Find the index with the string pString (or start with pString)
| pString | String to search for. |
| pCaseSensitive | true if considering case. |
| pStartWith | true if to find the index of the string which start with pString. |
Get the string at pIndex.
| pIndex | Index to get string at. |
| kReference GetReferenceAt | ( | int | pIndex | ) |
Get the reference store with the string at pIndex.
| pIndex | Index to get reference at. |
Get the index of a string.
| S | String to look for. |
Insert an entry at pIndex.
| pIndex | Index where item is to be inserted. |
| S | String to insert. |
| pRef | Reference to store with string(default=0). |
Remove a string from the list.
| S | String to remove from the list. |
| RemoveAt | ( | int | pIndex | ) |
Remove an entry at pIndex.
| pIndex | Index where item is to be removed from. |
Set the string at pIndex.
| 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.
| pIndex | Index to store reference at. |
| pRef | Reference to store at pIndex. |
Set string for list.
| pString | String to set for list. |
| pSeparator | the string list separator. |
| Sort | ( | ) |
Sort the string list (ascending)