FBModelList class. More...
#include <pyfbsdk.h>
Public Member Functions | |
FBModelList () | |
Constructor. | |
int | GetCount () |
Get number of models in list. | |
int | count () |
Get number of models in list. | |
FBModel | GetModel (int pIndex) |
Get the ith model in list. | |
FBModel | Add (FBModel pModel) |
Append a new modle at the end of the list. | |
FBModel | append (FBModel pModel) |
Append a new modle at the end of the list. | |
void | Clear () |
Empty the list from all models. | |
void | removeAll () |
Empty the list from all models. | |
int | __len__ () |
Returns the number of elements. | |
FBModel | __getitem__ (int pIndex) |
Returns the ith component Corresponds to python: print l[1]. | |
FBModelList class.
This class implements a special sort of list that can only contain instances of FBModel objects. Users can query the content of the list with the bracket operator.
FBModelList | ( | ) |
Constructor.
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)
Append a new modle at the end of the list.
pModel | model to add to the list. |
Append a new modle at the end of the list.
pModel | model to add to the list. |
void Clear | ( | ) |
Empty the list from all models.
int count | ( | ) |
Get number of models in list.
int GetCount | ( | ) |
Get number of models in list.
Get the ith model in list.
pIndex | index of modle to get (0 based). |
void removeAll | ( | ) |
Empty the list from all models.