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