Public Member Functions | |
| ObjId | __getitem__ (self, ConstObjId i) |
| ConstObjId | __getitem__ (ConstObjMap self, ConstObjId i) |
| None | __init__ (self) |
| None | __init__ (self, int size) |
| None | __init__ (self, int size, ConstObjId val) |
| None | __init__ (self, list arg0) |
| None | __init__ (self, ConstObjMap arg0) |
| typing.Iterator[ObjId] | __iter__ (self) |
| typing.Iterator[ObjId] | __iter__ (ConstObjMap self) |
| None | __setitem__ (self, ConstObjId arg0, ConstObjId arg1) |
| ObjMap | assign (self, ConstObjMap other) |
| None | assign (self, int count, ConstObjId val) |
| ObjId | autoResizeAt (self, ConstObjId i) |
| None | autoResizeSet (self, ConstObjId pos, int len, ConstObjId val) |
| None | autoResizeSet (self, ConstObjId i, ConstObjId val) |
| ObjId | back (self) |
| ConstObjId | back (ConstObjMap self) |
| None | clear (self) |
| ObjId | data (self) |
| ConstObjId | data (ConstObjMap self) |
| ObjId | front (self) |
| ConstObjId | front (ConstObjMap self) |
| None | pop_back (self) |
| None | push_back (self, ConstObjId t) |
| None | push_back (self, ObjId t) |
| None | reserve (self, int capacity) |
| None | resize (self, int newSize) |
| None | resize (self, int newSize, ConstObjId t) |
| None | resizeNoInit (self, int targetSize, ReserveMode mode='MR::ReserveMode::Exact') |
| None | resizeWithReserve (self, int newSize) |
| None | resizeWithReserve (self, int newSize, ConstObjId value) |
| None | shrink_to_fit (self) |
| None | swap (self, ObjMap b) |
| std_vector_Id_ObjTag_Allocator_Id_ObjTag | vec (self) |
| None | vec (self, Const_std_vector_Id_ObjTag_Allocator_Id_ObjTag arg1) |
| Public Member Functions inherited from mrmeshpy.ConstObjMap | |
| bool | __eq__ (self, ConstObjMap b) |
| ConstObjId | __getitem__ (self, ConstObjId i) |
| __init__ (self, *args, **kwargs) | |
| typing.Iterator[ObjId] | __iter__ (self) |
| int | __len__ (self) |
| bool | __ne__ (self, ConstObjMap b) |
| ObjId | backId (self) |
| ObjId | beginId (self) |
| int | capacity (self) |
| bool | empty (self) |
| ObjId | endId (self) |
| int | heapBytes (self) |
| int | max_size (self) |
| int | size (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.ConstObjMap | |
| typing | _offsetof_vec = 0 |
Generated from: MR::ObjMap Vector<T> is indexed by size_t
|
static |
| None mrmeshpy.ObjMap.__init__ | ( | self | ) |
creates empty vector
| None mrmeshpy.ObjMap.__init__ | ( | self, | |
| int | size ) |
creates a vector with \\p size elements with default value
| None mrmeshpy.ObjMap.__init__ | ( | self, | |
| int | size, | ||
| ConstObjId | val ) |
creates a vector with \\p size elements with the given value
| None mrmeshpy.ObjMap.__init__ | ( | self, | |
| list | arg0 ) |
| None mrmeshpy.ObjMap.__init__ | ( | self, | |
| ConstObjMap | arg0 ) |
Implicit copy constructor.
| ConstObjId mrmeshpy.ObjMap.__getitem__ | ( | ConstObjMap | self, |
| ConstObjId | i ) |
| ObjId mrmeshpy.ObjMap.__getitem__ | ( | self, | |
| ConstObjId | i ) |
| typing.Iterator[ObjId] mrmeshpy.ObjMap.__iter__ | ( | ConstObjMap | self | ) |
| typing.Iterator[ObjId] mrmeshpy.ObjMap.__iter__ | ( | self | ) |
| None mrmeshpy.ObjMap.__setitem__ | ( | self, | |
| ConstObjId | arg0, | ||
| ConstObjId | arg1 ) |
| ObjMap mrmeshpy.ObjMap.assign | ( | self, | |
| ConstObjMap | other ) |
| None mrmeshpy.ObjMap.assign | ( | self, | |
| int | count, | ||
| ConstObjId | val ) |
replaces the contents with \\p count copies of \\p val
| ObjId mrmeshpy.ObjMap.autoResizeAt | ( | self, | |
| ConstObjId | i ) |
this accessor automatically adjusts the size of the vector
| None mrmeshpy.ObjMap.autoResizeSet | ( | self, | |
| ConstObjId | i, | ||
| ConstObjId | val ) |
sets the element i to the given value, adjusting the size of the vector to include new element
| None mrmeshpy.ObjMap.autoResizeSet | ( | self, | |
| ConstObjId | pos, | ||
| int | len, | ||
| ConstObjId | 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)
| ConstObjId mrmeshpy.ObjMap.back | ( | ConstObjMap | self | ) |
Reimplemented from mrmeshpy.ConstObjMap.
| ObjId mrmeshpy.ObjMap.back | ( | self | ) |
Reimplemented from mrmeshpy.ConstObjMap.
| None mrmeshpy.ObjMap.clear | ( | self | ) |
| ConstObjId mrmeshpy.ObjMap.data | ( | ConstObjMap | self | ) |
Reimplemented from mrmeshpy.ConstObjMap.
| ObjId mrmeshpy.ObjMap.data | ( | self | ) |
Reimplemented from mrmeshpy.ConstObjMap.
| ConstObjId mrmeshpy.ObjMap.front | ( | ConstObjMap | self | ) |
Reimplemented from mrmeshpy.ConstObjMap.
| ObjId mrmeshpy.ObjMap.front | ( | self | ) |
Reimplemented from mrmeshpy.ConstObjMap.
| None mrmeshpy.ObjMap.pop_back | ( | self | ) |
| None mrmeshpy.ObjMap.push_back | ( | self, | |
| ConstObjId | t ) |
| None mrmeshpy.ObjMap.push_back | ( | self, | |
| ObjId | t ) |
| None mrmeshpy.ObjMap.reserve | ( | self, | |
| int | capacity ) |
| None mrmeshpy.ObjMap.resize | ( | self, | |
| int | newSize ) |
| None mrmeshpy.ObjMap.resize | ( | self, | |
| int | newSize, | ||
| ConstObjId | t ) |
| None mrmeshpy.ObjMap.resizeNoInit | ( | self, | |
| int | targetSize, | ||
| ReserveMode | mode = 'MR::ReserveMode::Exact' ) |
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor )
| None mrmeshpy.ObjMap.resizeWithReserve | ( | self, | |
| int | newSize ) |
same as resize(newSize), which already grows the capacity geometrically
| None mrmeshpy.ObjMap.resizeWithReserve | ( | self, | |
| int | newSize, | ||
| ConstObjId | value ) |
same as resize(newSize, value), which already grows the capacity geometrically
| None mrmeshpy.ObjMap.shrink_to_fit | ( | self | ) |
| None mrmeshpy.ObjMap.swap | ( | self, | |
| ObjMap | b ) |
| std_vector_Id_ObjTag_Allocator_Id_ObjTag mrmeshpy.ObjMap.vec | ( | self | ) |
The user can directly manipulate the vector, they can't break anything anyway.
Reimplemented from mrmeshpy.ConstObjMap.
| None mrmeshpy.ObjMap.vec | ( | self, | |
| Const_std_vector_Id_ObjTag_Allocator_Id_ObjTag | arg1 ) |
The user can directly manipulate the vector, they can't break anything anyway.
Reimplemented from mrmeshpy.ConstObjMap.