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

Public Member Functions

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

Static Public Attributes

 ConstStdVector = Const_std_vector_Id_NodeTag_Allocator_Id_NodeTag
 Const_const_pointer = ConstNodeId
 Const_const_reference = ConstNodeId
 Const_pointer = ConstNodeId
 Const_reference = ConstNodeId
 Const_value_type = ConstNodeId
 StdVector = std_vector_Id_NodeTag_Allocator_Id_NodeTag
 const_pointer = NodeId
 const_reference = NodeId
 pointer = NodeId
 reference = NodeId
 value_type = NodeId

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<MR::NodeId, MR::NodeId>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

3. __init__(self: meshlib.mrmeshpy.ConstVector_NodeId_NodeId, size: int, val: meshlib.mrmeshpy.ConstNodeId) -> None

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

ConstNodeId mrmeshpy.ConstVector_NodeId_NodeId.__getitem__ ( self,
ConstNodeId i )

◆ __iter__()

typing.Iterator[ConstNodeId] mrmeshpy.ConstVector_NodeId_NodeId.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstVector_NodeId_NodeId.__len__ ( self)

◆ __ne__()

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

◆ back()

ConstNodeId mrmeshpy.ConstVector_NodeId_NodeId.back ( self)

◆ backId()

NodeId mrmeshpy.ConstVector_NodeId_NodeId.backId ( self)
returns the identifier of the back() element

◆ beginId()

NodeId mrmeshpy.ConstVector_NodeId_NodeId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstVector_NodeId_NodeId.capacity ( self)

◆ data()

ConstNodeId mrmeshpy.ConstVector_NodeId_NodeId.data ( self)

◆ empty()

bool mrmeshpy.ConstVector_NodeId_NodeId.empty ( self)

◆ endId()

NodeId mrmeshpy.ConstVector_NodeId_NodeId.endId ( self)
returns backId() + 1

◆ front()

ConstNodeId mrmeshpy.ConstVector_NodeId_NodeId.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstVector_NodeId_NodeId.max_size ( self)

◆ size()

int mrmeshpy.ConstVector_NodeId_NodeId.size ( self)

◆ vec()

Const_std_vector_Id_NodeTag_Allocator_Id_NodeTag mrmeshpy.ConstVector_NodeId_NodeId.vec ( self)
The user can directly manipulate the vector, they can't break anything anyway.

Reimplemented in mrmeshpy.Vector_NodeId_NodeId, and mrmeshpy.Vector_NodeId_NodeId.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVector_NodeId_NodeId._offsetof_vec = 0
staticprotected

◆ Const_const_pointer

mrmeshpy.ConstVector_NodeId_NodeId.Const_const_pointer = ConstNodeId
static

◆ Const_const_reference

mrmeshpy.ConstVector_NodeId_NodeId.Const_const_reference = ConstNodeId
static

◆ Const_pointer

mrmeshpy.ConstVector_NodeId_NodeId.Const_pointer = ConstNodeId
static

◆ const_pointer

mrmeshpy.ConstVector_NodeId_NodeId.const_pointer = NodeId
static

◆ Const_reference

mrmeshpy.ConstVector_NodeId_NodeId.Const_reference = ConstNodeId
static

◆ const_reference

mrmeshpy.ConstVector_NodeId_NodeId.const_reference = NodeId
static

◆ Const_value_type

mrmeshpy.ConstVector_NodeId_NodeId.Const_value_type = ConstNodeId
static

◆ ConstStdVector

mrmeshpy.ConstVector_NodeId_NodeId.ConstStdVector = Const_std_vector_Id_NodeTag_Allocator_Id_NodeTag
static

◆ pointer

mrmeshpy.ConstVector_NodeId_NodeId.pointer = NodeId
static

◆ reference

mrmeshpy.ConstVector_NodeId_NodeId.reference = NodeId
static

◆ StdVector

mrmeshpy.ConstVector_NodeId_NodeId.StdVector = std_vector_Id_NodeTag_Allocator_Id_NodeTag
static

◆ value_type

mrmeshpy.ConstVector_NodeId_NodeId.value_type = NodeId
static

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