Public Member Functions | |
bool | __eq__ (self, ObjMap b) |
None | __init__ (self) |
None | __init__ (self, int size) |
None | __init__ (self, int size, ObjId val) |
None | __init__ (self, std_vector_Id_ObjTag vec) |
None | __init__ (self, ObjMap arg0) |
typing.Iterator[ObjId] | __iter__ (self) |
bool | __ne__ (self, ObjMap b) |
ObjId | autoResizeAt (self, ObjId i) |
None | autoResizeSet (self, ObjId pos, int len, ObjId val) |
None | autoResizeSet (self, ObjId i, ObjId val) |
ObjId | back (self) |
ObjId | back (self) |
ObjId | backId (self) |
ObjId | beginId (self) |
int | capacity (self) |
None | clear (self) |
ObjId | data (self) |
ObjId | data (self) |
bool | empty (self) |
ObjId | endId (self) |
ObjId | front (self) |
ObjId | front (self) |
int | heapBytes (self) |
None | pop_back (self) |
None | push_back (self, ObjId t) |
None | push_back (self, ObjId t) |
None | reserve (self, int capacity) |
None | resize (self, int newSize) |
None | resize (self, int newSize, ObjId t) |
None | resizeNoInit (self, int targetSize) |
None | resizeWithReserve (self, int newSize) |
None | resizeWithReserve (self, int newSize, ObjId value) |
int | size (self) |
None | swap (self, ObjMap b) |
std_vector_Id_ObjTag | vec_ (self) |
None | vec_ (self, std_vector_Id_ObjTag arg1) |
Protected Member Functions | |
ObjId | _Subscript (self, ObjId i) |
ObjId | _Subscript (self, ObjId i) |
Static Protected Member Functions | |
_pybind11_conduit_v1_ (*args, **kwargs) | |
Generated from: MR::ObjMap \\brief std::vector<T>-like container that requires specific indexing type, \\tparam T type of stored elements \\tparam I type of index (shall be convertible to size_t) \\ingroup BasicGroup
None mrmeshpy.ObjMap.__init__ | ( | self | ) |
None mrmeshpy.ObjMap.__init__ | ( | self, | |
int | size ) |
None mrmeshpy.ObjMap.__init__ | ( | self, | |
int | size, | ||
ObjId | val ) |
None mrmeshpy.ObjMap.__init__ | ( | self, | |
std_vector_Id_ObjTag | vec ) |
None mrmeshpy.ObjMap.__init__ | ( | self, | |
ObjMap | arg0 ) |
Implicit copy constructor.
bool mrmeshpy.ObjMap.__eq__ | ( | self, | |
ObjMap | b ) |
typing.Iterator[ObjId] mrmeshpy.ObjMap.__iter__ | ( | self | ) |
bool mrmeshpy.ObjMap.__ne__ | ( | self, | |
ObjMap | b ) |
|
staticprotected |
this accessor automatically adjusts the size of the vector
sets elements [pos, pos+len) to given value, adjusting the size of the vector to include new elements
ObjId mrmeshpy.ObjMap.back | ( | self | ) |
ObjId mrmeshpy.ObjMap.back | ( | self | ) |
ObjId mrmeshpy.ObjMap.backId | ( | self | ) |
returns the identifier of the back() element
ObjId mrmeshpy.ObjMap.beginId | ( | self | ) |
returns the identifier of the first element
int mrmeshpy.ObjMap.capacity | ( | self | ) |
None mrmeshpy.ObjMap.clear | ( | self | ) |
ObjId mrmeshpy.ObjMap.data | ( | self | ) |
ObjId mrmeshpy.ObjMap.data | ( | self | ) |
bool mrmeshpy.ObjMap.empty | ( | self | ) |
ObjId mrmeshpy.ObjMap.endId | ( | self | ) |
returns backId() + 1
ObjId mrmeshpy.ObjMap.front | ( | self | ) |
ObjId mrmeshpy.ObjMap.front | ( | self | ) |
int mrmeshpy.ObjMap.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
None mrmeshpy.ObjMap.pop_back | ( | self | ) |
None mrmeshpy.ObjMap.push_back | ( | self, | |
ObjId | 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, | ||
ObjId | t ) |
None mrmeshpy.ObjMap.resizeNoInit | ( | self, | |
int | targetSize ) |
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor )
None mrmeshpy.ObjMap.resizeWithReserve | ( | self, | |
int | newSize ) |
doubles reserved memory until resize(newSize) can be done without reallocation
None mrmeshpy.ObjMap.resizeWithReserve | ( | self, | |
int | newSize, | ||
ObjId | value ) |
doubles reserved memory until resize(newSize) can be done without reallocation
int mrmeshpy.ObjMap.size | ( | self | ) |
None mrmeshpy.ObjMap.swap | ( | self, | |
ObjMap | b ) |
std_vector_Id_ObjTag mrmeshpy.ObjMap.vec_ | ( | self | ) |
the user can directly manipulate the vector, anyway she cannot break anything
None mrmeshpy.ObjMap.vec_ | ( | self, | |
std_vector_Id_ObjTag | arg1 ) |