#include <mobu-python-api.h>
String list.
Inheritance diagram for FBStringList:Public Member Functions | |
| __reduce__ () | |
| __init__ (...) | |
| int | Add (FBStringList arg1, str arg2, object arg3) |
| Add a string to the list. More... | |
| Clear (FBStringList arg1) | |
| Clear the list (remove all the items). More... | |
| Find (...) | |
| str | GetAt (FBStringList arg1, object arg2) |
| Get the string at pIndex. More... | |
| int | __len__ (FBStringList arg1) |
| int | GetReferenceAt (FBStringList arg1, object arg2) |
| Get the reference store with the string at pIndex. More... | |
| int | IndexOf (FBStringList arg1, str arg2) |
| Get the index of a string. More... | |
| InsertAt (FBStringList arg1, object arg2, str arg3, object arg4) | |
| Insert an entry at pIndex. More... | |
| str | __getitem__ (FBStringList arg1, object arg2) |
| bool | __setitem__ (FBStringList arg1, object arg2, str arg3) |
| int | Remove (FBStringList arg1, str arg2) |
| Remove a string from the list. More... | |
| RemoveAt (FBStringList arg1, object arg2) | |
| Remove an entry at pIndex. More... | |
| bool | SetAt (FBStringList arg1, object arg2, str arg3) |
| Set the string at pIndex. More... | |
| SetReferenceAt (FBStringList arg1, object arg2, object arg3) | |
| Set the reference stored with the string at pIndex. More... | |
| Sort (FBStringList arg1) | |
| Sort the string list (ascending) More... | |
| str | AsString (FBStringList arg1, str arg2) |
| Get as string. More... | |
| bool | SetString (FBStringList arg1, str arg2, str arg3) |
| Set string for list. More... | |
| str __getitem__ | ( | FBStringList | arg1, |
| object | arg2 | ||
| ) |
Python Docstring:
__getitem__( (FBStringList)arg1, (object)arg2) -> str
| __init__ | ( | ... | ) |
Python Docstring:
__init__( (object)arg1) -> None __init__( (object)arg1, (str)arg2 [, (str)arg3]) -> None
C++ Constructors:
The reference documentation for the following C++ symbols may contain additional relevant information.
| int __len__ | ( | FBStringList | arg1 | ) |
Python Docstring:
__len__( (FBStringList)arg1) -> int
| __reduce__ | ( | ) |
| bool __setitem__ | ( | FBStringList | arg1, |
| object | arg2, | ||
| str | arg3 | ||
| ) |
Python Docstring:
__setitem__( (FBStringList)arg1, (object)arg2, (str)arg3) -> bool
| int Add | ( | FBStringList | arg1, |
| str | arg2, | ||
| object | arg3 | ||
| ) |
Add a string to the list.
Python Docstring:
Add( (FBStringList)arg1, (str)arg2 [, (object)arg3]) -> int
C++ Signature:
int Add(const char * S, kReference pRef = 0)
| S | String to add to list. |
| pRef | Reference to store with string (default = 0) |
| str AsString | ( | FBStringList | arg1, |
| str | arg2 | ||
| ) |
Get as string.
Python Docstring:
AsString( (FBStringList)arg1 [, (str)arg2]) -> str
C++ Signature:
const char * AsString(const char pSeparator = '~')
| pSeparator | the string list separator. |
| Clear | ( | FBStringList | arg1 | ) |
Clear the list (remove all the items).
Python Docstring:
Clear( (FBStringList)arg1) -> None
C++ Signature:
void Clear()
| Find | ( | ... | ) |
Python Docstring:
Find( (FBStringList)arg1, (object)arg2) -> int Find( (FBStringList)arg1, (str)arg2 [, (object)arg3 [, (object)arg4]]) -> int
Related C++ documentation:
The reference documentation for the following C++ symbols may contain additional relevant information.
| str GetAt | ( | FBStringList | arg1, |
| object | arg2 | ||
| ) |
Get the string at pIndex.
Python Docstring:
GetAt( (FBStringList)arg1, (object)arg2) -> str
C++ Signature:
const char * GetAt(int pIndex)
| pIndex | Index to get string at. |
| int GetReferenceAt | ( | FBStringList | arg1, |
| object | arg2 | ||
| ) |
Get the reference store with the string at pIndex.
Python Docstring:
GetReferenceAt( (FBStringList)arg1, (object)arg2) -> int
C++ Signature:
kReference GetReferenceAt(int pIndex)
| pIndex | Index to get reference at. |
| int IndexOf | ( | FBStringList | arg1, |
| str | arg2 | ||
| ) |
Get the index of a string.
Python Docstring:
IndexOf( (FBStringList)arg1, (str)arg2) -> int
C++ Signature:
int IndexOf(const char * S)
| S | String to look for. |
| InsertAt | ( | FBStringList | arg1, |
| object | arg2, | ||
| str | arg3, | ||
| object | arg4 | ||
| ) |
Insert an entry at pIndex.
Python Docstring:
InsertAt( (FBStringList)arg1, (object)arg2, (str)arg3 [, (object)arg4]) -> None
C++ Signature:
void InsertAt(int pIndex, const char * S, kReference pRef = 0)
| pIndex | Index where item is to be inserted. |
| S | String to insert. |
| pRef | Reference to store with string(default=0). |
| int Remove | ( | FBStringList | arg1, |
| str | arg2 | ||
| ) |
Remove a string from the list.
Python Docstring:
Remove( (FBStringList)arg1, (str)arg2) -> int
C++ Signature:
int Remove(const char * S)
| S | String to remove from the list. |
| RemoveAt | ( | FBStringList | arg1, |
| object | arg2 | ||
| ) |
Remove an entry at pIndex.
Python Docstring:
RemoveAt( (FBStringList)arg1, (object)arg2) -> None
C++ Signature:
void RemoveAt(int pIndex)
| pIndex | Index where item is to be removed from. |
| bool SetAt | ( | FBStringList | arg1, |
| object | arg2, | ||
| str | arg3 | ||
| ) |
Set the string at pIndex.
Python Docstring:
SetAt( (FBStringList)arg1, (object)arg2, (str)arg3) -> bool
C++ Signature:
bool SetAt(int pIndex, const char * pString)
| pIndex | Index where string is to be set. |
| pString | String to set value at pIndex with. |
| SetReferenceAt | ( | FBStringList | arg1, |
| object | arg2, | ||
| object | arg3 | ||
| ) |
Set the reference stored with the string at pIndex.
Python Docstring:
SetReferenceAt( (FBStringList)arg1, (object)arg2, (object)arg3) -> None
C++ Signature:
void SetReferenceAt(int pIndex, kReference pRef)
| pIndex | Index to store reference at. |
| pRef | Reference to store at pIndex. |
| bool SetString | ( | FBStringList | arg1, |
| str | arg2, | ||
| str | arg3 | ||
| ) |
Set string for list.
Python Docstring:
SetString( (FBStringList)arg1, (str)arg2 [, (str)arg3]) -> bool
C++ Signature:
bool SetString(const char * pString, const char pSeparator = '~')
| pSeparator | the string list separator. |
| pString | String to set for list. |
| Sort | ( | FBStringList | arg1 | ) |
Sort the string list (ascending)
Python Docstring:
Sort( (FBStringList)arg1) -> None
C++ Signature:
void Sort()