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