ecflow.FamilyVec
- class ecflow.FamilyVec
Bases:
pybind11_object
Hold a list of family nodes
- FamilyVec.append(self: ecflow.FamilyVec, x: Family) None
Add an item to the end of the list
- FamilyVec.clear(self: ecflow.FamilyVec) None
Clear the contents
- FamilyVec.count(self: ecflow.FamilyVec, x: Family) int
Return the number of times x appears in the list
- FamilyVec.extend(*args, **kwargs)
Overloaded function.
extend(self: ecflow.FamilyVec, L: ecflow.FamilyVec) -> None
Extend the list by appending all the items in the given list
extend(self: ecflow.FamilyVec, L: collections.abc.Iterable) -> None
Extend the list by appending all the items in the given list
- FamilyVec.insert(self: ecflow.FamilyVec, i: SupportsInt | SupportsIndex, x: Family) None
Insert an item at a given position.
- FamilyVec.pop(*args, **kwargs)
Overloaded function.
pop(self: ecflow.FamilyVec) -> Family
Remove and return the last item
pop(self: ecflow.FamilyVec, i: typing.SupportsInt | typing.SupportsIndex) -> Family
Remove and return the item at index i
- FamilyVec.remove(self: ecflow.FamilyVec, x: Family) None
Remove the first item from the list whose value is x. It is an error if there is no such item.