MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.std_vector_int Class Reference

Public Member Functions

bool __bool__ (self)
 
bool __contains__ (self, int x)
 
None __delitem__ (self, int arg0)
 
None __delitem__ (self, slice arg0)
 
bool __eq__ (self, std_vector_int arg0)
 
std_vector_int __getitem__ (self, slice s)
 
int __getitem__ (self, int arg0)
 
None __init__ (self)
 
None __init__ (self, typing.Iterable arg0)
 
None __init__ (self, std_vector_int arg0)
 
typing.Iterator __iter__ (self)
 
int __len__ (self)
 
bool __ne__ (self, std_vector_int arg0)
 
str __repr__ (self)
 
None __setitem__ (self, int arg0, int arg1)
 
None __setitem__ (self, slice arg0, std_vector_int arg1)
 
None append (self, int x)
 
None clear (self)
 
int count (self, int x)
 
bool empty (self)
 
None extend (self, std_vector_int L)
 
None extend (self, typing.Iterable L)
 
None insert (self, int i, int x)
 
int pop (self)
 
int pop (self, int i)
 
None remove (self, int x)
 
None resize (self, int arg0)
 
None resize (self, int arg0, int arg1)
 
int size (self)
 

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.std_vector_int.__init__ ( self)

◆ __init__() [2/3]

None meshlib.mrmeshpy.std_vector_int.__init__ ( self,
typing.Iterable arg0 )

◆ __init__() [3/3]

None meshlib.mrmeshpy.std_vector_int.__init__ ( self,
std_vector_int arg0 )

Member Function Documentation

◆ __bool__()

bool meshlib.mrmeshpy.std_vector_int.__bool__ ( self)
Check whether the list is nonempty

◆ __contains__()

bool meshlib.mrmeshpy.std_vector_int.__contains__ ( self,
int x )
Return true the container contains ``x``

◆ __delitem__() [1/2]

None meshlib.mrmeshpy.std_vector_int.__delitem__ ( self,
int arg0 )
Delete the list elements at index ``i``

◆ __delitem__() [2/2]

None meshlib.mrmeshpy.std_vector_int.__delitem__ ( self,
slice arg0 )
Delete list elements using a slice object

◆ __eq__()

bool meshlib.mrmeshpy.std_vector_int.__eq__ ( self,
std_vector_int arg0 )

◆ __getitem__() [1/2]

int meshlib.mrmeshpy.std_vector_int.__getitem__ ( self,
int arg0 )

◆ __getitem__() [2/2]

std_vector_int meshlib.mrmeshpy.std_vector_int.__getitem__ ( self,
slice s )
Retrieve list elements using a slice object

◆ __iter__()

typing.Iterator meshlib.mrmeshpy.std_vector_int.__iter__ ( self)

◆ __len__()

int meshlib.mrmeshpy.std_vector_int.__len__ ( self)

◆ __ne__()

bool meshlib.mrmeshpy.std_vector_int.__ne__ ( self,
std_vector_int arg0 )

◆ __repr__()

str meshlib.mrmeshpy.std_vector_int.__repr__ ( self)
Return the canonical string representation of this map.

◆ __setitem__() [1/2]

None meshlib.mrmeshpy.std_vector_int.__setitem__ ( self,
int arg0,
int arg1 )

◆ __setitem__() [2/2]

None meshlib.mrmeshpy.std_vector_int.__setitem__ ( self,
slice arg0,
std_vector_int arg1 )
Assign list elements using a slice object

◆ append()

None meshlib.mrmeshpy.std_vector_int.append ( self,
int x )
Add an item to the end of the list

◆ clear()

None meshlib.mrmeshpy.std_vector_int.clear ( self)
Clear the contents

◆ count()

int meshlib.mrmeshpy.std_vector_int.count ( self,
int x )
Return the number of times ``x`` appears in the list

◆ empty()

bool meshlib.mrmeshpy.std_vector_int.empty ( self)

◆ extend() [1/2]

None meshlib.mrmeshpy.std_vector_int.extend ( self,
std_vector_int L )
Extend the list by appending all the items in the given list

◆ extend() [2/2]

None meshlib.mrmeshpy.std_vector_int.extend ( self,
typing.Iterable L )
Extend the list by appending all the items in the given list

◆ insert()

None meshlib.mrmeshpy.std_vector_int.insert ( self,
int i,
int x )
Insert an item at a given position.

◆ pop() [1/2]

int meshlib.mrmeshpy.std_vector_int.pop ( self)
Remove and return the last item

◆ pop() [2/2]

int meshlib.mrmeshpy.std_vector_int.pop ( self,
int i )
Remove and return the item at index ``i``

◆ remove()

None meshlib.mrmeshpy.std_vector_int.remove ( self,
int x )
Remove the first item from the list whose value is x. It is an error if there is no such item.

◆ resize() [1/2]

None meshlib.mrmeshpy.std_vector_int.resize ( self,
int arg0 )

◆ resize() [2/2]

None meshlib.mrmeshpy.std_vector_int.resize ( self,
int arg0,
int arg1 )

◆ size()

int meshlib.mrmeshpy.std_vector_int.size ( self)

The documentation for this class was generated from the following file: