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

Public Member Functions

GraphVertId __getitem__ (self, ConstGraphVertId i)
ConstGraphVertId __getitem__ (ConstVector_GraphVertId_GraphVertId self, ConstGraphVertId i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, ConstGraphVertId val)
None __init__ (self, list arg0)
None __init__ (self, ConstVector_GraphVertId_GraphVertId arg0)
typing.Iterator[GraphVertId] __iter__ (self)
typing.Iterator[GraphVertId] __iter__ (ConstVector_GraphVertId_GraphVertId self)
None __setitem__ (self, ConstGraphVertId arg0, ConstGraphVertId arg1)
Vector_GraphVertId_GraphVertId assign (self, ConstVector_GraphVertId_GraphVertId other)
None assign (self, int count, ConstGraphVertId val)
GraphVertId autoResizeAt (self, ConstGraphVertId i)
None autoResizeSet (self, ConstGraphVertId pos, int len, ConstGraphVertId val)
None autoResizeSet (self, ConstGraphVertId i, ConstGraphVertId val)
GraphVertId back (self)
ConstGraphVertId back (ConstVector_GraphVertId_GraphVertId self)
None clear (self)
GraphVertId data (self)
ConstGraphVertId data (ConstVector_GraphVertId_GraphVertId self)
GraphVertId front (self)
ConstGraphVertId front (ConstVector_GraphVertId_GraphVertId self)
None pop_back (self)
None push_back (self, ConstGraphVertId t)
None push_back (self, GraphVertId t)
None reserve (self, int capacity)
None resize (self, int newSize)
None resize (self, int newSize, ConstGraphVertId t)
None resizeNoInit (self, int targetSize, ReserveMode mode='MR::ReserveMode::Exact')
None resizeWithReserve (self, int newSize)
None resizeWithReserve (self, int newSize, ConstGraphVertId value)
None shrink_to_fit (self)
None swap (self, Vector_GraphVertId_GraphVertId b)
std_vector_Id_GraphVertTag_Allocator_Id_GraphVertTag vec (self)
None vec (self, Const_std_vector_Id_GraphVertTag_Allocator_Id_GraphVertTag arg1)
Public Member Functions inherited from mrmeshpy.ConstVector_GraphVertId_GraphVertId
bool __eq__ (self, ConstVector_GraphVertId_GraphVertId b)
ConstGraphVertId __getitem__ (self, ConstGraphVertId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[GraphVertId] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_GraphVertId_GraphVertId b)
GraphVertId backId (self)
GraphVertId beginId (self)
int capacity (self)
bool empty (self)
GraphVertId 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_GraphVertId_GraphVertId
 ConstStdVector = Const_std_vector_Id_GraphVertTag_Allocator_Id_GraphVertTag
 Const_const_pointer = ConstGraphVertId
 Const_const_reference = ConstGraphVertId
 Const_pointer = ConstGraphVertId
 Const_reference = ConstGraphVertId
 Const_value_type = ConstGraphVertId
 StdVector = std_vector_Id_GraphVertTag_Allocator_Id_GraphVertTag
 const_pointer = GraphVertId
 const_reference = GraphVertId
 pointer = GraphVertId
 reference = GraphVertId
 value_type = GraphVertId
Static Protected Attributes inherited from mrmeshpy.ConstVector_GraphVertId_GraphVertId
typing _offsetof_vec = 0

Detailed Description

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

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

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

◆ __init__() [3/6]

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

◆ __init__() [4/6]

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

◆ __init__() [5/6]

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

◆ __init__() [6/6]

None mrmeshpy.Vector_GraphVertId_GraphVertId.__init__ ( self,
ConstVector_GraphVertId_GraphVertId arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

ConstGraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.__getitem__ ( ConstVector_GraphVertId_GraphVertId self,
ConstGraphVertId i )

◆ __getitem__() [2/2]

GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.__getitem__ ( self,
ConstGraphVertId i )

◆ __iter__() [1/2]

typing.Iterator[GraphVertId] mrmeshpy.Vector_GraphVertId_GraphVertId.__iter__ ( ConstVector_GraphVertId_GraphVertId self)

◆ __iter__() [2/2]

typing.Iterator[GraphVertId] mrmeshpy.Vector_GraphVertId_GraphVertId.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.Vector_GraphVertId_GraphVertId.__setitem__ ( self,
ConstGraphVertId arg0,
ConstGraphVertId arg1 )

◆ assign() [1/2]

Vector_GraphVertId_GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.assign ( self,
ConstVector_GraphVertId_GraphVertId other )

◆ assign() [2/2]

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

◆ autoResizeAt()

GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.autoResizeAt ( self,
ConstGraphVertId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None mrmeshpy.Vector_GraphVertId_GraphVertId.autoResizeSet ( self,
ConstGraphVertId i,
ConstGraphVertId 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_GraphVertId_GraphVertId.autoResizeSet ( self,
ConstGraphVertId pos,
int len,
ConstGraphVertId 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]

ConstGraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.back ( ConstVector_GraphVertId_GraphVertId self)

◆ back() [2/2]

GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.back ( self)

◆ clear()

None mrmeshpy.Vector_GraphVertId_GraphVertId.clear ( self)

◆ data() [1/2]

ConstGraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.data ( ConstVector_GraphVertId_GraphVertId self)

◆ data() [2/2]

GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.data ( self)

◆ front() [1/2]

ConstGraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.front ( ConstVector_GraphVertId_GraphVertId self)

◆ front() [2/2]

GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.front ( self)

◆ pop_back()

None mrmeshpy.Vector_GraphVertId_GraphVertId.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_GraphVertId_GraphVertId.push_back ( self,
ConstGraphVertId t )

◆ push_back() [2/2]

None mrmeshpy.Vector_GraphVertId_GraphVertId.push_back ( self,
GraphVertId t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.Vector_GraphVertId_GraphVertId.resize ( self,
int newSize,
ConstGraphVertId t )

◆ resizeNoInit()

None mrmeshpy.Vector_GraphVertId_GraphVertId.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_GraphVertId_GraphVertId.resizeWithReserve ( self,
int newSize )
same as resize(newSize), which already grows the capacity geometrically

◆ resizeWithReserve() [2/2]

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

◆ shrink_to_fit()

None mrmeshpy.Vector_GraphVertId_GraphVertId.shrink_to_fit ( self)

◆ swap()

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

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstVector_GraphVertId_GraphVertId.

◆ vec() [2/2]

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

Reimplemented from mrmeshpy.ConstVector_GraphVertId_GraphVertId.


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