
# Supported list protocol methods:
len(propertyStringList)
component= propertyStringList[0]
propertyStringList[0] = my_string
if my_string in propertyStringList:
print "it is contained!"
del propertyStringList[0]
Public Member Functions |
|
| int | __len__ () |
| Returns the number of elements. |
|
| str | __getitem__ (int pIndex) |
| Returns the ith component Corresponds to
python: print v[1]. |
|
| __setitem__ (int pIndex, str pValue) | |
| Sets the ith components Corresponds to
python: v[1] = my_component. |
|
| bool | __contains__ (str pValue) |
| Check if a FCComponent is already in
PropertyList Corresponds to python: if object
in propertyList:. |
|
| append (str pValue) | |
| Append new str at
end of list. |
|
| int | count () |
| Returns the number of elements. |
|
| insert (int pIndex, str pValue) | |
| Insert a new element in list. |
|
| remove (int pIndex) | |
| Remove an element in list. |
|
| removeall () | |
| Remove all elements of list. |
|
| str | pop () |
| Remove last element of list. |
|
| str | pop (int pIndex) |
| Remove an element in list. |
|
| int | findFromReference (int pReference) |
| Find the index of an element from its
attached reference. |
|
| setReferenceAt (int pReference) | |
| Sets the reference value of an object. |
|
| int | getReferenceAt (int pIndex) |
| Retrieve the reference of an object at ith position.
|
|
| FBPropertyStringList () | |
| Constructor. |
|
Constructor.
| int __len__ | ( | ) |
Returns the number of elements.
Corresponds to python: len(object)
Reimplemented from FBPropertyList.
Returns the ith component Corresponds to python: print v[1].
| pIndex | Index of the components to get (0 to 2) |
Reimplemented from FBPropertyList.
Sets the ith components Corresponds to python: v[1] = my_component.
| pIndex | Index of the components to set | |
| pValue | a str to set |
Check if a FCComponent is already in PropertyList Corresponds to python: if object in propertyList:.
| pValue | Component to check for inclusion |
| int count | ( | ) |
Returns the number of elements.
Corresponds to python: del propertyList[2]
Insert a new element in list.
| pIndex | Index where to insert string | |
| pValue | String to append |
| removeall | ( | ) |
Remove all elements of list.
Remove an element in list.
| pIndex | Index where to remove element. |
Find the index of an element from its attached reference.
| pReference | Reference of searched object. |
| setReferenceAt | ( | int | pReference | ) |
1.5.3