MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Vector_int_GraphVertId Class Reference
Inheritance diagram for mrmeshpy.Vector_int_GraphVertId:

Public Member Functions

int __getitem__ (self, ConstGraphVertId i)
int __getitem__ (ConstVector_int_GraphVertId self, ConstGraphVertId i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, int val)
None __init__ (self, list arg0)
None __init__ (self, ConstVector_int_GraphVertId arg0)
None __setitem__ (self, ConstGraphVertId arg0, int arg1)
Vector_int_GraphVertId assign (self, ConstVector_int_GraphVertId other)
None assign (self, int count, int val)
int autoResizeAt (self, ConstGraphVertId i)
None autoResizeSet (self, ConstGraphVertId pos, int len, int val)
None autoResizeSet (self, ConstGraphVertId i, int val)
int back (self)
int back (ConstVector_int_GraphVertId self)
None clear (self)
int data (self)
int data (ConstVector_int_GraphVertId self)
int front (self)
int front (ConstVector_int_GraphVertId self)
None pop_back (self)
None push_back (self, int t)
None push_back (self, int t)
None reserve (self, int capacity)
None resize (self, int newSize)
None resize (self, int newSize, int t)
None resizeWithReserve (self, int newSize)
None resizeWithReserve (self, int newSize, int value)
None shrink_to_fit (self)
None swap (self, Vector_int_GraphVertId b)
std_vector_int_Allocator_int vec (self)
None vec (self, Const_std_vector_int_Allocator_int arg1)
Public Member Functions inherited from mrmeshpy.ConstVector_int_GraphVertId
bool __eq__ (self, ConstVector_int_GraphVertId b)
int __getitem__ (self, ConstGraphVertId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[int] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_int_GraphVertId b)
GraphVertId backId (self)
GraphVertId beginId (self)
int capacity (self)
bool empty (self)
GraphVertId endId (self)
int heapBytes (self)
int max_size (self)
int size (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstVector_int_GraphVertId
 ConstStdVector = Const_std_vector_int_Allocator_int
 StdVector = std_vector_int_Allocator_int
Static Protected Attributes inherited from mrmeshpy.ConstVector_int_GraphVertId
typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<int, MR::GraphVertId>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

None mrmeshpy.Vector_int_GraphVertId.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/6]

None mrmeshpy.Vector_int_GraphVertId.__init__ ( self)
creates empty vector

◆ __init__() [3/6]

None mrmeshpy.Vector_int_GraphVertId.__init__ ( self,
int size )
creates a vector with \\p size elements with default value

◆ __init__() [4/6]

None mrmeshpy.Vector_int_GraphVertId.__init__ ( self,
int size,
int val )
creates a vector with \\p size elements with the given value

◆ __init__() [5/6]

None mrmeshpy.Vector_int_GraphVertId.__init__ ( self,
list arg0 )

◆ __init__() [6/6]

None mrmeshpy.Vector_int_GraphVertId.__init__ ( self,
ConstVector_int_GraphVertId arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

int mrmeshpy.Vector_int_GraphVertId.__getitem__ ( ConstVector_int_GraphVertId self,
ConstGraphVertId i )

◆ __getitem__() [2/2]

int mrmeshpy.Vector_int_GraphVertId.__getitem__ ( self,
ConstGraphVertId i )

◆ __setitem__()

None mrmeshpy.Vector_int_GraphVertId.__setitem__ ( self,
ConstGraphVertId arg0,
int arg1 )

◆ assign() [1/2]

Vector_int_GraphVertId mrmeshpy.Vector_int_GraphVertId.assign ( self,
ConstVector_int_GraphVertId other )

◆ assign() [2/2]

None mrmeshpy.Vector_int_GraphVertId.assign ( self,
int count,
int val )
replaces the contents with \\p count copies of \\p val

◆ autoResizeAt()

int mrmeshpy.Vector_int_GraphVertId.autoResizeAt ( self,
ConstGraphVertId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None mrmeshpy.Vector_int_GraphVertId.autoResizeSet ( self,
ConstGraphVertId i,
int val )
sets the element i to the given value, adjusting the size of the vector to include new element

◆ autoResizeSet() [2/2]

None mrmeshpy.Vector_int_GraphVertId.autoResizeSet ( self,
ConstGraphVertId pos,
int len,
int val )
sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements;
the elements in between old size and \\p pos are also set to \\p val (for faster implementation)

◆ back() [1/2]

int mrmeshpy.Vector_int_GraphVertId.back ( ConstVector_int_GraphVertId self)

◆ back() [2/2]

int mrmeshpy.Vector_int_GraphVertId.back ( self)

◆ clear()

None mrmeshpy.Vector_int_GraphVertId.clear ( self)

◆ data() [1/2]

int mrmeshpy.Vector_int_GraphVertId.data ( ConstVector_int_GraphVertId self)

◆ data() [2/2]

int mrmeshpy.Vector_int_GraphVertId.data ( self)

◆ front() [1/2]

int mrmeshpy.Vector_int_GraphVertId.front ( ConstVector_int_GraphVertId self)

◆ front() [2/2]

int mrmeshpy.Vector_int_GraphVertId.front ( self)

◆ pop_back()

None mrmeshpy.Vector_int_GraphVertId.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_int_GraphVertId.push_back ( self,
int t )

◆ push_back() [2/2]

None mrmeshpy.Vector_int_GraphVertId.push_back ( self,
int t )

◆ reserve()

None mrmeshpy.Vector_int_GraphVertId.reserve ( self,
int capacity )

◆ resize() [1/2]

None mrmeshpy.Vector_int_GraphVertId.resize ( self,
int newSize )

◆ resize() [2/2]

None mrmeshpy.Vector_int_GraphVertId.resize ( self,
int newSize,
int t )

◆ resizeWithReserve() [1/2]

None mrmeshpy.Vector_int_GraphVertId.resizeWithReserve ( self,
int newSize )
same as resize(newSize), which already grows the capacity geometrically

◆ resizeWithReserve() [2/2]

None mrmeshpy.Vector_int_GraphVertId.resizeWithReserve ( self,
int newSize,
int value )
same as resize(newSize, value), which already grows the capacity geometrically

◆ shrink_to_fit()

None mrmeshpy.Vector_int_GraphVertId.shrink_to_fit ( self)

◆ swap()

None mrmeshpy.Vector_int_GraphVertId.swap ( self,
Vector_int_GraphVertId b )

◆ vec() [1/2]

std_vector_int_Allocator_int mrmeshpy.Vector_int_GraphVertId.vec ( self)
The user can directly manipulate the vector, they can't break anything anyway.

Reimplemented from mrmeshpy.ConstVector_int_GraphVertId.

◆ vec() [2/2]

None mrmeshpy.Vector_int_GraphVertId.vec ( self,
Const_std_vector_int_Allocator_int arg1 )
The user can directly manipulate the vector, they can't break anything anyway.

Reimplemented from mrmeshpy.ConstVector_int_GraphVertId.


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