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

Public Member Functions

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

Static Public Attributes

 ConstStdVector = Const_std_vector_std_array_Id_VertTag_2ul_Allocator_std_array_Id_VertTag_2ul
 Const_const_pointer = Const_std_array_Id_VertTag_2
 Const_const_reference = Const_std_array_Id_VertTag_2
 Const_pointer = Const_std_array_Id_VertTag_2
 Const_reference = Const_std_array_Id_VertTag_2
 Const_value_type = Const_std_array_Id_VertTag_2
 StdVector = std_vector_std_array_Id_VertTag_2ul_Allocator_std_array_Id_VertTag_2ul
 const_pointer = std_array_Id_VertTag_2
 const_reference = std_array_Id_VertTag_2
 pointer = std_array_Id_VertTag_2
 reference = std_array_Id_VertTag_2
 value_type = std_array_Id_VertTag_2

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<std::array<MR::VertId, 2>>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

Const_std_array_Id_VertTag_2 mrmeshpy.ConstVector_std_array_VertId_2.__getitem__ ( self,
int i )

◆ __iter__()

typing.Iterator[std_array_Id_VertTag_2] mrmeshpy.ConstVector_std_array_VertId_2.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstVector_std_array_VertId_2.__len__ ( self)

◆ __ne__()

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

◆ back()

Const_std_array_Id_VertTag_2 mrmeshpy.ConstVector_std_array_VertId_2.back ( self)

◆ backId()

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

◆ beginId()

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

◆ capacity()

int mrmeshpy.ConstVector_std_array_VertId_2.capacity ( self)

◆ data()

Const_std_array_Id_VertTag_2 mrmeshpy.ConstVector_std_array_VertId_2.data ( self)

◆ empty()

bool mrmeshpy.ConstVector_std_array_VertId_2.empty ( self)

◆ endId()

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

◆ front()

Const_std_array_Id_VertTag_2 mrmeshpy.ConstVector_std_array_VertId_2.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstVector_std_array_VertId_2.max_size ( self)

◆ size()

int mrmeshpy.ConstVector_std_array_VertId_2.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.Vector_std_array_VertId_2, and mrmeshpy.Vector_std_array_VertId_2.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVector_std_array_VertId_2._offsetof_vec = 0
staticprotected

◆ Const_const_pointer

mrmeshpy.ConstVector_std_array_VertId_2.Const_const_pointer = Const_std_array_Id_VertTag_2
static

◆ Const_const_reference

mrmeshpy.ConstVector_std_array_VertId_2.Const_const_reference = Const_std_array_Id_VertTag_2
static

◆ Const_pointer

mrmeshpy.ConstVector_std_array_VertId_2.Const_pointer = Const_std_array_Id_VertTag_2
static

◆ const_pointer

mrmeshpy.ConstVector_std_array_VertId_2.const_pointer = std_array_Id_VertTag_2
static

◆ Const_reference

mrmeshpy.ConstVector_std_array_VertId_2.Const_reference = Const_std_array_Id_VertTag_2
static

◆ const_reference

mrmeshpy.ConstVector_std_array_VertId_2.const_reference = std_array_Id_VertTag_2
static

◆ Const_value_type

mrmeshpy.ConstVector_std_array_VertId_2.Const_value_type = Const_std_array_Id_VertTag_2
static

◆ ConstStdVector

mrmeshpy.ConstVector_std_array_VertId_2.ConstStdVector = Const_std_vector_std_array_Id_VertTag_2ul_Allocator_std_array_Id_VertTag_2ul
static

◆ pointer

mrmeshpy.ConstVector_std_array_VertId_2.pointer = std_array_Id_VertTag_2
static

◆ reference

mrmeshpy.ConstVector_std_array_VertId_2.reference = std_array_Id_VertTag_2
static

◆ StdVector

mrmeshpy.ConstVector_std_array_VertId_2.StdVector = std_vector_std_array_Id_VertTag_2ul_Allocator_std_array_Id_VertTag_2ul
static

◆ value_type

mrmeshpy.ConstVector_std_array_VertId_2.value_type = std_array_Id_VertTag_2
static

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