MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId Class Reference
Inheritance diagram for mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId:

Public Member Functions

bool __eq__ (self, ConstVector_std_pair_EdgeId_EdgeId b)
tuple[EdgeId, EdgeId] __getitem__ (self, int i)
 __init__ (self, *args, **kwargs)
typing.Iterator[tuple[EdgeId, EdgeId]] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_std_pair_EdgeId_EdgeId b)
tuple[EdgeId, EdgeId] back (self)
int backId (self)
int beginId (self)
int capacity (self)
tuple[EdgeId, EdgeId] data (self)
bool empty (self)
int endId (self)
tuple[EdgeId, EdgeId] front (self)
int heapBytes (self)
int max_size (self)
int size (self)
Const_std_vector_std_pair_Id_EdgeTag_Id_EdgeTag_Allocator_std_pair_Id_EdgeTag_Id_EdgeTag vec (self)

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<std::pair<MR::EdgeId, MR::EdgeId>>
Aliases:  Vector_std_pair_Id_EdgeTag_Id_EdgeTag_unsigned_long, Vector_std_pair_Id_EdgeTag_Id_EdgeTag, Vector_std_pair_Id_EdgeTag_Id_EdgeTag, Vector_std_pair_Id_EdgeTag_Id_EdgeTag

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId) -> None

creates empty vector

2. __init__(self: meshlib.mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId, size: int) -> None

creates a vector with \\p size elements with default value

3. __init__(self: meshlib.mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId, size: int, val: tuple[meshlib.mrmeshpy.ConstEdgeId, meshlib.mrmeshpy.ConstEdgeId]) -> None

creates a vector with \\p size elements with the given value

4. __init__(self: meshlib.mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId, arg0: list) -> None

5. __init__(self: meshlib.mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId, arg0: meshlib.mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId) -> None

Implicit copy constructor.

6. __init__(self: meshlib.mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId, : meshlib.mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId) -> None

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

tuple[EdgeId, EdgeId] mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId.__getitem__ ( self,
int i )

◆ __iter__()

typing.Iterator[tuple[EdgeId, EdgeId]] mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId.__len__ ( self)

◆ __ne__()

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

◆ back()

tuple[EdgeId, EdgeId] mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId.back ( self)

◆ backId()

int mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId.backId ( self)
returns the identifier of the back() element

◆ beginId()

int mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId.capacity ( self)

◆ data()

tuple[EdgeId, EdgeId] mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId.data ( self)

◆ empty()

bool mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId.empty ( self)

◆ endId()

int mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId.endId ( self)
returns backId() + 1

◆ front()

tuple[EdgeId, EdgeId] mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId.max_size ( self)

◆ size()

int mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId.size ( self)

◆ vec()

The user can directly manipulate the vector, they can't break anything anyway.

Reimplemented in mrmeshpy.Vector_std_pair_EdgeId_EdgeId, and mrmeshpy.Vector_std_pair_EdgeId_EdgeId.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVector_std_pair_EdgeId_EdgeId._offsetof_vec = 0
staticprotected

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