FBComponentList class. More...
#include <pyfbsdk.h>
Public Member Functions | |
FBComponentList () | |
Constructor. | |
int | __len__ () |
Returns the number of elements. | |
FBComponent | __getitem__ (int pIndex) |
Returns the ith component Corresponds to python: print l[1]. | |
FBComponentList class.
This class implements a special sort of list that can only contain instances of FBComponent objects. To users it behaves as a tuple, since it is not possible to add new objects in the list. Only methods or function that uses FBComponentList as argument can insert new objects. Users can query the content of the list with the bracket operator.
FBComponentList | ( | ) |
Constructor.
FBComponent __getitem__ | ( | int | pIndex | ) |
Returns the ith component Corresponds to python: print l[1].
pIndex | Index of the components to get |
int __len__ | ( | ) |
Returns the number of elements.
Corresponds to python: len(object)