Sofa.Helper.StdVectorBaseData

class Sofa.Helper.StdVectorBaseData(*args, **kwargs)

Bases: pybind11_object

Standard vector of BaseData

Overloaded function.

  1. __init__(self: Sofa.Helper.StdVectorBaseData) -> None

  2. __init__(self: Sofa.Helper.StdVectorBaseData, arg0: Sofa.Helper.StdVectorBaseData) -> None

Copy constructor

  1. __init__(self: Sofa.Helper.StdVectorBaseData, arg0: Iterable) -> None

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.

  1. extend(self: Sofa.Helper.StdVectorBaseData, L: Sofa.Helper.StdVectorBaseData) -> None

Extend the list by appending all the items in the given list

  1. 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.

  1. pop(self: Sofa.Helper.StdVectorBaseData) -> sofa::core::objectmodel::BaseData

Remove and return the last item

  1. 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.