b>PropertyList: Constraint
More...
#include <pyfbsdk.h>
Public Member Functions | |
int | __len__ () |
Returns the number of elements. | |
FBComponent | __getitem__ (int pIndex) |
Returns the ith component Corresponds to python: print v[1]. | |
__setitem__ (int pIndex, FBComponent pComponentValue) | |
Sets the ith components Corresponds to python: v[1] = my_component. | |
bool | __contains__ (FBComponent pComponent) |
Check if a FCComponent is already in PropertyList Corresponds to python: if object in propertyList: | |
append (FBComponent pComp) | |
Append new FBComponent at end of list. | |
int | count () |
Returns the number of elements. | |
insert (int pIndex, FBComponent pComp) | |
Insert a new element in list. | |
remove (int pIndex) | |
Remove an element in list. | |
removeAll () | |
Remove all elements of list | |
FBComponent | pop () |
Remove last element of list. | |
FBComponent | pop (int pIndex) |
Remove an element in list. | |
![]() | |
int | __len__ () |
Returns the number of elements. | |
Element | __getitem__ (int pIndex) |
Returns the ith component Corresponds to python: print l[1]. | |
b>PropertyList: Constraint
bool __contains__ | ( | FBComponent | pComponent | ) |
Check if a FCComponent is already in PropertyList Corresponds to python: if object in propertyList:
pComponent | Component to check for inclusion |
FBComponent __getitem__ | ( | int | pIndex | ) |
Returns the ith component Corresponds to python: print v[1].
pIndex | Index of the components to get (0 to 2) |
int __len__ | ( | ) |
Returns the number of elements.
Corresponds to python: len(object)
__setitem__ | ( | int | pIndex, |
FBComponent | pComponentValue | ||
) |
Sets the ith components Corresponds to python: v[1] = my_component.
pIndex | Index of the components to set |
pComponentValue | a FBComponent to set |
append | ( | FBComponent | pComp | ) |
Append new FBComponent at end of list.
pComp | to append |
int count | ( | ) |
Returns the number of elements.
Corresponds to python: del propertyList[2]
insert | ( | int | pIndex, |
FBComponent | pComp | ||
) |
Insert a new element in list.
pIndex | Index where to insert component |
pComp | Component to append |
FBComponent pop | ( | ) |
Remove last element of list.
FBComponent pop | ( | int | pIndex | ) |
Remove an element in list.
pIndex | Index where to remove element. |
remove | ( | int | pIndex | ) |
Remove an element in list.
pIndex | Index where to remove element. |
removeAll | ( | ) |
Remove all elements of list