MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstObjMap:

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

Detailed Description

Generated from:  MR::ObjMap

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ __eq__()

bool mrmeshpy.ConstObjMap.__eq__ ( self,
ConstObjMap b )

◆ __getitem__()

ConstObjId mrmeshpy.ConstObjMap.__getitem__ ( self,
ConstObjId i )

◆ __iter__()

typing.Iterator[ConstObjId] mrmeshpy.ConstObjMap.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstObjMap.__len__ ( self)

◆ __ne__()

bool mrmeshpy.ConstObjMap.__ne__ ( self,
ConstObjMap b )

◆ back()

ConstObjId mrmeshpy.ConstObjMap.back ( self)

Reimplemented in mrmeshpy.ObjMap, and mrmeshpy.ObjMap.

◆ backId()

ObjId mrmeshpy.ConstObjMap.backId ( self)
returns the identifier of the back() element

◆ beginId()

ObjId mrmeshpy.ConstObjMap.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstObjMap.capacity ( self)

◆ data()

ConstObjId mrmeshpy.ConstObjMap.data ( self)

Reimplemented in mrmeshpy.ObjMap, and mrmeshpy.ObjMap.

◆ empty()

bool mrmeshpy.ConstObjMap.empty ( self)

◆ endId()

ObjId mrmeshpy.ConstObjMap.endId ( self)
returns backId() + 1

◆ front()

ConstObjId mrmeshpy.ConstObjMap.front ( self)

Reimplemented in mrmeshpy.ObjMap, and mrmeshpy.ObjMap.

◆ heapBytes()

int mrmeshpy.ConstObjMap.heapBytes ( self)
returns the amount of memory this object occupies on heap

◆ max_size()

int mrmeshpy.ConstObjMap.max_size ( self)

◆ size()

int mrmeshpy.ConstObjMap.size ( self)

◆ vec()

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.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstObjMap._offsetof_vec = 0
staticprotected

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