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

Public Member Functions

GraphEdgeId __getitem__ (self, ConstGraphEdgeId i)
ConstGraphEdgeId __getitem__ (ConstVector_GraphEdgeId_GraphEdgeId self, ConstGraphEdgeId i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, ConstGraphEdgeId val)
None __init__ (self, list arg0)
None __init__ (self, ConstVector_GraphEdgeId_GraphEdgeId arg0)
typing.Iterator[GraphEdgeId] __iter__ (self)
typing.Iterator[GraphEdgeId] __iter__ (ConstVector_GraphEdgeId_GraphEdgeId self)
None __setitem__ (self, ConstGraphEdgeId arg0, ConstGraphEdgeId arg1)
Vector_GraphEdgeId_GraphEdgeId assign (self, ConstVector_GraphEdgeId_GraphEdgeId other)
None assign (self, int count, ConstGraphEdgeId val)
GraphEdgeId autoResizeAt (self, ConstGraphEdgeId i)
None autoResizeSet (self, ConstGraphEdgeId pos, int len, ConstGraphEdgeId val)
None autoResizeSet (self, ConstGraphEdgeId i, ConstGraphEdgeId val)
GraphEdgeId back (self)
ConstGraphEdgeId back (ConstVector_GraphEdgeId_GraphEdgeId self)
None clear (self)
GraphEdgeId data (self)
ConstGraphEdgeId data (ConstVector_GraphEdgeId_GraphEdgeId self)
GraphEdgeId front (self)
ConstGraphEdgeId front (ConstVector_GraphEdgeId_GraphEdgeId self)
None pop_back (self)
None push_back (self, ConstGraphEdgeId t)
None push_back (self, GraphEdgeId t)
None reserve (self, int capacity)
None resize (self, int newSize)
None resize (self, int newSize, ConstGraphEdgeId t)
None resizeNoInit (self, int targetSize, ReserveMode mode='MR::ReserveMode::Exact')
None resizeWithReserve (self, int newSize)
None resizeWithReserve (self, int newSize, ConstGraphEdgeId value)
None shrink_to_fit (self)
None swap (self, Vector_GraphEdgeId_GraphEdgeId b)
std_vector_Id_GraphEdgeTag_Allocator_Id_GraphEdgeTag vec (self)
None vec (self, Const_std_vector_Id_GraphEdgeTag_Allocator_Id_GraphEdgeTag arg1)
Public Member Functions inherited from mrmeshpy.ConstVector_GraphEdgeId_GraphEdgeId
bool __eq__ (self, ConstVector_GraphEdgeId_GraphEdgeId b)
ConstGraphEdgeId __getitem__ (self, ConstGraphEdgeId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[GraphEdgeId] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_GraphEdgeId_GraphEdgeId b)
GraphEdgeId backId (self)
GraphEdgeId beginId (self)
int capacity (self)
bool empty (self)
GraphEdgeId endId (self)
int heapBytes (self)
int max_size (self)
int size (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstVector_GraphEdgeId_GraphEdgeId
 ConstStdVector = Const_std_vector_Id_GraphEdgeTag_Allocator_Id_GraphEdgeTag
 Const_const_pointer = ConstGraphEdgeId
 Const_const_reference = ConstGraphEdgeId
 Const_pointer = ConstGraphEdgeId
 Const_reference = ConstGraphEdgeId
 Const_value_type = ConstGraphEdgeId
 StdVector = std_vector_Id_GraphEdgeTag_Allocator_Id_GraphEdgeTag
 const_pointer = GraphEdgeId
 const_reference = GraphEdgeId
 pointer = GraphEdgeId
 reference = GraphEdgeId
 value_type = GraphEdgeId
Static Protected Attributes inherited from mrmeshpy.ConstVector_GraphEdgeId_GraphEdgeId
typing _offsetof_vec = 0

Detailed Description

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

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/6]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.__init__ ( self)
creates empty vector

◆ __init__() [3/6]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.__init__ ( self,
int size )
creates a vector with \\p size elements with default value

◆ __init__() [4/6]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.__init__ ( self,
int size,
ConstGraphEdgeId val )
creates a vector with \\p size elements with the given value

◆ __init__() [5/6]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.__init__ ( self,
list arg0 )

◆ __init__() [6/6]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.__init__ ( self,
ConstVector_GraphEdgeId_GraphEdgeId arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

ConstGraphEdgeId mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.__getitem__ ( ConstVector_GraphEdgeId_GraphEdgeId self,
ConstGraphEdgeId i )

◆ __getitem__() [2/2]

GraphEdgeId mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.__getitem__ ( self,
ConstGraphEdgeId i )

◆ __iter__() [1/2]

typing.Iterator[GraphEdgeId] mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.__iter__ ( ConstVector_GraphEdgeId_GraphEdgeId self)

◆ __iter__() [2/2]

typing.Iterator[GraphEdgeId] mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.__setitem__ ( self,
ConstGraphEdgeId arg0,
ConstGraphEdgeId arg1 )

◆ assign() [1/2]

Vector_GraphEdgeId_GraphEdgeId mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.assign ( self,
ConstVector_GraphEdgeId_GraphEdgeId other )

◆ assign() [2/2]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.assign ( self,
int count,
ConstGraphEdgeId val )
replaces the contents with \\p count copies of \\p val

◆ autoResizeAt()

GraphEdgeId mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.autoResizeAt ( self,
ConstGraphEdgeId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.autoResizeSet ( self,
ConstGraphEdgeId i,
ConstGraphEdgeId val )
sets the element i to the given value, adjusting the size of the vector to include new element

◆ autoResizeSet() [2/2]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.autoResizeSet ( self,
ConstGraphEdgeId pos,
int len,
ConstGraphEdgeId val )
sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements;
the elements in between old size and \\p pos are also set to \\p val (for faster implementation)

◆ back() [1/2]

ConstGraphEdgeId mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.back ( ConstVector_GraphEdgeId_GraphEdgeId self)

◆ back() [2/2]

GraphEdgeId mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.back ( self)

◆ clear()

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.clear ( self)

◆ data() [1/2]

ConstGraphEdgeId mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.data ( ConstVector_GraphEdgeId_GraphEdgeId self)

◆ data() [2/2]

GraphEdgeId mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.data ( self)

◆ front() [1/2]

ConstGraphEdgeId mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.front ( ConstVector_GraphEdgeId_GraphEdgeId self)

◆ front() [2/2]

GraphEdgeId mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.front ( self)

◆ pop_back()

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.push_back ( self,
ConstGraphEdgeId t )

◆ push_back() [2/2]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.push_back ( self,
GraphEdgeId t )

◆ reserve()

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.reserve ( self,
int capacity )

◆ resize() [1/2]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.resize ( self,
int newSize )

◆ resize() [2/2]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.resize ( self,
int newSize,
ConstGraphEdgeId t )

◆ resizeNoInit()

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.resizeNoInit ( self,
int targetSize,
ReserveMode mode = 'MR::ReserveMode::Exact' )
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor )

◆ resizeWithReserve() [1/2]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.resizeWithReserve ( self,
int newSize )
same as resize(newSize), which already grows the capacity geometrically

◆ resizeWithReserve() [2/2]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.resizeWithReserve ( self,
int newSize,
ConstGraphEdgeId value )
same as resize(newSize, value), which already grows the capacity geometrically

◆ shrink_to_fit()

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.shrink_to_fit ( self)

◆ swap()

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.swap ( self,
Vector_GraphEdgeId_GraphEdgeId b )

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstVector_GraphEdgeId_GraphEdgeId.

◆ vec() [2/2]

None mrmeshpy.Vector_GraphEdgeId_GraphEdgeId.vec ( self,
Const_std_vector_Id_GraphEdgeTag_Allocator_Id_GraphEdgeTag arg1 )
The user can directly manipulate the vector, they can't break anything anyway.

Reimplemented from mrmeshpy.ConstVector_GraphEdgeId_GraphEdgeId.


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