Public Member Functions | |
| bool | __eq__ (self, ConstObjMap b) |
| ConstObjId | __getitem__ (self, ConstObjId i) |
| __init__ (self, *args, **kwargs) | |
| typing.Iterator[ConstObjId] | __iter__ (self) |
| int | __len__ (self) |
| bool | __ne__ (self, ConstObjMap b) |
| ConstObjId | back (self) |
| ObjId | backId (self) |
| ObjId | beginId (self) |
| int | capacity (self) |
| ConstObjId | data (self) |
| bool | empty (self) |
| ObjId | endId (self) |
| ConstObjId | front (self) |
| int | heapBytes (self) |
| int | max_size (self) |
| int | size (self) |
| Const_std_vector_Id_ObjTag_Allocator_Id_ObjTag | vec (self) |
Static Protected Attributes | |
| typing | _offsetof_vec = 0 |
Generated from: MR::ObjMap Vector<T> is indexed by size_t
| mrmeshpy.ConstObjMap.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstObjMap) -> None creates empty vector 2. __init__(self: meshlib.mrmeshpy.ConstObjMap, size: int) -> None creates a vector with \\p size elements with default value 3. __init__(self: meshlib.mrmeshpy.ConstObjMap, size: int, val: meshlib.mrmeshpy.ConstObjId) -> None creates a vector with \\p size elements with the given value 4. __init__(self: meshlib.mrmeshpy.ConstObjMap, arg0: list) -> None 5. __init__(self: meshlib.mrmeshpy.ConstObjMap, arg0: meshlib.mrmeshpy.ConstObjMap) -> None Implicit copy constructor. 6. __init__(self: meshlib.mrmeshpy.ConstObjMap, : meshlib.mrmeshpy.ConstObjMap) -> None
| bool mrmeshpy.ConstObjMap.__eq__ | ( | self, | |
| ConstObjMap | b ) |
| ConstObjId mrmeshpy.ConstObjMap.__getitem__ | ( | self, | |
| ConstObjId | i ) |
| typing.Iterator[ConstObjId] mrmeshpy.ConstObjMap.__iter__ | ( | self | ) |
| int mrmeshpy.ConstObjMap.__len__ | ( | self | ) |
| bool mrmeshpy.ConstObjMap.__ne__ | ( | self, | |
| ConstObjMap | b ) |
| ConstObjId mrmeshpy.ConstObjMap.back | ( | self | ) |
Reimplemented in mrmeshpy.ObjMap, and mrmeshpy.ObjMap.
| ObjId mrmeshpy.ConstObjMap.backId | ( | self | ) |
returns the identifier of the back() element
| ObjId mrmeshpy.ConstObjMap.beginId | ( | self | ) |
returns the identifier of the first element
| int mrmeshpy.ConstObjMap.capacity | ( | self | ) |
| ConstObjId mrmeshpy.ConstObjMap.data | ( | self | ) |
Reimplemented in mrmeshpy.ObjMap, and mrmeshpy.ObjMap.
| bool mrmeshpy.ConstObjMap.empty | ( | self | ) |
| ObjId mrmeshpy.ConstObjMap.endId | ( | self | ) |
returns backId() + 1
| ConstObjId mrmeshpy.ConstObjMap.front | ( | self | ) |
Reimplemented in mrmeshpy.ObjMap, and mrmeshpy.ObjMap.
| int mrmeshpy.ConstObjMap.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
| int mrmeshpy.ConstObjMap.max_size | ( | self | ) |
| int mrmeshpy.ConstObjMap.size | ( | self | ) |
| Const_std_vector_Id_ObjTag_Allocator_Id_ObjTag mrmeshpy.ConstObjMap.vec | ( | self | ) |
The user can directly manipulate the vector, they can't break anything anyway.
Reimplemented in mrmeshpy.ObjMap, and mrmeshpy.ObjMap.
|
staticprotected |