Sofa.Helper.VectorBaseData
- class Sofa.Helper.VectorBaseData
Bases:
StdVectorBaseData
Vector of BaseData
- append(self: Sofa.Helper.StdVectorBaseData, x: sofa::core::objectmodel::BaseData) None
Add an item to the end of the list
- clear(self: Sofa.Helper.StdVectorBaseData) None
Clear the contents
- count(self: Sofa.Helper.StdVectorBaseData, x: sofa::core::objectmodel::BaseData) int
Return the number of times
x
appears in the list
- extend(*args, **kwargs)
Overloaded function.
extend(self: Sofa.Helper.StdVectorBaseData, L: Sofa.Helper.StdVectorBaseData) -> None
Extend the list by appending all the items in the given list
extend(self: Sofa.Helper.StdVectorBaseData, L: Iterable) -> None
Extend the list by appending all the items in the given list
- insert(self: Sofa.Helper.StdVectorBaseData, i: int, x: sofa::core::objectmodel::BaseData) None
Insert an item at a given position.
- pop(*args, **kwargs)
Overloaded function.
pop(self: Sofa.Helper.StdVectorBaseData) -> sofa::core::objectmodel::BaseData
Remove and return the last item
pop(self: Sofa.Helper.StdVectorBaseData, i: int) -> sofa::core::objectmodel::BaseData
Remove and return the item at index
i
- remove(self: Sofa.Helper.StdVectorBaseData, x: sofa::core::objectmodel::BaseData) None
Remove the first item from the list whose value is x. It is an error if there is no such item.