Public Member Functions | |
| int | __getitem__ (self, ConstRegionId i) |
| int | __getitem__ (ConstVector_int_RegionId self, ConstRegionId 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_RegionId arg0) |
| None | __setitem__ (self, ConstRegionId arg0, int arg1) |
| Vector_int_RegionId | assign (self, ConstVector_int_RegionId other) |
| None | assign (self, int count, int val) |
| int | autoResizeAt (self, ConstRegionId i) |
| None | autoResizeSet (self, ConstRegionId pos, int len, int val) |
| None | autoResizeSet (self, ConstRegionId i, int val) |
| int | back (self) |
| int | back (ConstVector_int_RegionId self) |
| None | clear (self) |
| int | data (self) |
| int | data (ConstVector_int_RegionId self) |
| int | front (self) |
| int | front (ConstVector_int_RegionId 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_RegionId 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_RegionId | |
| bool | __eq__ (self, ConstVector_int_RegionId b) |
| int | __getitem__ (self, ConstRegionId i) |
| __init__ (self, *args, **kwargs) | |
| typing.Iterator[int] | __iter__ (self) |
| int | __len__ (self) |
| bool | __ne__ (self, ConstVector_int_RegionId b) |
| RegionId | backId (self) |
| RegionId | beginId (self) |
| int | capacity (self) |
| bool | empty (self) |
| RegionId | 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_RegionId | |
| ConstStdVector = Const_std_vector_int_Allocator_int | |
| StdVector = std_vector_int_Allocator_int | |
| Static Protected Attributes inherited from mrmeshpy.ConstVector_int_RegionId | |
| typing | _offsetof_vec = 0 |
Generated from: MR::Vector<int, MR::RegionId> Vector<T> is indexed by size_t
|
static |
| None mrmeshpy.Vector_int_RegionId.__init__ | ( | self | ) |
creates empty vector
| None mrmeshpy.Vector_int_RegionId.__init__ | ( | self, | |
| int | size ) |
creates a vector with \\p size elements with default value
| None mrmeshpy.Vector_int_RegionId.__init__ | ( | self, | |
| int | size, | ||
| int | val ) |
creates a vector with \\p size elements with the given value
| None mrmeshpy.Vector_int_RegionId.__init__ | ( | self, | |
| list | arg0 ) |
| None mrmeshpy.Vector_int_RegionId.__init__ | ( | self, | |
| ConstVector_int_RegionId | arg0 ) |
Implicit copy constructor.
| int mrmeshpy.Vector_int_RegionId.__getitem__ | ( | ConstVector_int_RegionId | self, |
| ConstRegionId | i ) |
| int mrmeshpy.Vector_int_RegionId.__getitem__ | ( | self, | |
| ConstRegionId | i ) |
| None mrmeshpy.Vector_int_RegionId.__setitem__ | ( | self, | |
| ConstRegionId | arg0, | ||
| int | arg1 ) |
| Vector_int_RegionId mrmeshpy.Vector_int_RegionId.assign | ( | self, | |
| ConstVector_int_RegionId | other ) |
| None mrmeshpy.Vector_int_RegionId.assign | ( | self, | |
| int | count, | ||
| int | val ) |
replaces the contents with \\p count copies of \\p val
| int mrmeshpy.Vector_int_RegionId.autoResizeAt | ( | self, | |
| ConstRegionId | i ) |
this accessor automatically adjusts the size of the vector
| None mrmeshpy.Vector_int_RegionId.autoResizeSet | ( | self, | |
| ConstRegionId | i, | ||
| int | val ) |
sets the element i to the given value, adjusting the size of the vector to include new element
| None mrmeshpy.Vector_int_RegionId.autoResizeSet | ( | self, | |
| ConstRegionId | 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)
| int mrmeshpy.Vector_int_RegionId.back | ( | ConstVector_int_RegionId | self | ) |
Reimplemented from mrmeshpy.ConstVector_int_RegionId.
| int mrmeshpy.Vector_int_RegionId.back | ( | self | ) |
Reimplemented from mrmeshpy.ConstVector_int_RegionId.
| None mrmeshpy.Vector_int_RegionId.clear | ( | self | ) |
| int mrmeshpy.Vector_int_RegionId.data | ( | ConstVector_int_RegionId | self | ) |
Reimplemented from mrmeshpy.ConstVector_int_RegionId.
| int mrmeshpy.Vector_int_RegionId.data | ( | self | ) |
Reimplemented from mrmeshpy.ConstVector_int_RegionId.
| int mrmeshpy.Vector_int_RegionId.front | ( | ConstVector_int_RegionId | self | ) |
Reimplemented from mrmeshpy.ConstVector_int_RegionId.
| int mrmeshpy.Vector_int_RegionId.front | ( | self | ) |
Reimplemented from mrmeshpy.ConstVector_int_RegionId.
| None mrmeshpy.Vector_int_RegionId.pop_back | ( | self | ) |
| None mrmeshpy.Vector_int_RegionId.push_back | ( | self, | |
| int | t ) |
| None mrmeshpy.Vector_int_RegionId.push_back | ( | self, | |
| int | t ) |
| None mrmeshpy.Vector_int_RegionId.reserve | ( | self, | |
| int | capacity ) |
| None mrmeshpy.Vector_int_RegionId.resize | ( | self, | |
| int | newSize ) |
| None mrmeshpy.Vector_int_RegionId.resize | ( | self, | |
| int | newSize, | ||
| int | t ) |
| None mrmeshpy.Vector_int_RegionId.resizeWithReserve | ( | self, | |
| int | newSize ) |
same as resize(newSize), which already grows the capacity geometrically
| None mrmeshpy.Vector_int_RegionId.resizeWithReserve | ( | self, | |
| int | newSize, | ||
| int | value ) |
same as resize(newSize, value), which already grows the capacity geometrically
| None mrmeshpy.Vector_int_RegionId.shrink_to_fit | ( | self | ) |
| None mrmeshpy.Vector_int_RegionId.swap | ( | self, | |
| Vector_int_RegionId | b ) |
| std_vector_int_Allocator_int mrmeshpy.Vector_int_RegionId.vec | ( | self | ) |
The user can directly manipulate the vector, they can't break anything anyway.
Reimplemented from mrmeshpy.ConstVector_int_RegionId.
| None mrmeshpy.Vector_int_RegionId.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_RegionId.