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

Public Member Functions

NodeId __getitem__ (self, ConstNodeId i)
ConstNodeId __getitem__ (ConstVector_NodeId_NodeId self, ConstNodeId i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, ConstNodeId val)
None __init__ (self, list arg0)
None __init__ (self, ConstVector_NodeId_NodeId arg0)
typing.Iterator[NodeId] __iter__ (self)
typing.Iterator[NodeId] __iter__ (ConstVector_NodeId_NodeId self)
None __setitem__ (self, ConstNodeId arg0, ConstNodeId arg1)
Vector_NodeId_NodeId assign (self, ConstVector_NodeId_NodeId other)
None assign (self, int count, ConstNodeId val)
NodeId autoResizeAt (self, ConstNodeId i)
None autoResizeSet (self, ConstNodeId pos, int len, ConstNodeId val)
None autoResizeSet (self, ConstNodeId i, ConstNodeId val)
NodeId back (self)
ConstNodeId back (ConstVector_NodeId_NodeId self)
None clear (self)
NodeId data (self)
ConstNodeId data (ConstVector_NodeId_NodeId self)
NodeId front (self)
ConstNodeId front (ConstVector_NodeId_NodeId self)
None pop_back (self)
None push_back (self, ConstNodeId t)
None push_back (self, NodeId t)
None reserve (self, int capacity)
None resize (self, int newSize)
None resize (self, int newSize, ConstNodeId t)
None resizeNoInit (self, int targetSize, ReserveMode mode='MR::ReserveMode::Exact')
None resizeWithReserve (self, int newSize)
None resizeWithReserve (self, int newSize, ConstNodeId value)
None shrink_to_fit (self)
None swap (self, Vector_NodeId_NodeId b)
std_vector_Id_NodeTag_Allocator_Id_NodeTag vec (self)
None vec (self, Const_std_vector_Id_NodeTag_Allocator_Id_NodeTag arg1)
Public Member Functions inherited from mrmeshpy.ConstVector_NodeId_NodeId
bool __eq__ (self, ConstVector_NodeId_NodeId b)
ConstNodeId __getitem__ (self, ConstNodeId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[NodeId] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_NodeId_NodeId b)
NodeId backId (self)
NodeId beginId (self)
int capacity (self)
bool empty (self)
NodeId 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_NodeId_NodeId
 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 inherited from mrmeshpy.ConstVector_NodeId_NodeId
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__() [1/6]

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

◆ __init__() [2/6]

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

◆ __init__() [3/6]

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

◆ __init__() [4/6]

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

◆ __init__() [5/6]

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

◆ __init__() [6/6]

None mrmeshpy.Vector_NodeId_NodeId.__init__ ( self,
ConstVector_NodeId_NodeId arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

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

◆ __getitem__() [2/2]

NodeId mrmeshpy.Vector_NodeId_NodeId.__getitem__ ( self,
ConstNodeId i )

◆ __iter__() [1/2]

typing.Iterator[NodeId] mrmeshpy.Vector_NodeId_NodeId.__iter__ ( ConstVector_NodeId_NodeId self)

◆ __iter__() [2/2]

typing.Iterator[NodeId] mrmeshpy.Vector_NodeId_NodeId.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.Vector_NodeId_NodeId.__setitem__ ( self,
ConstNodeId arg0,
ConstNodeId arg1 )

◆ assign() [1/2]

Vector_NodeId_NodeId mrmeshpy.Vector_NodeId_NodeId.assign ( self,
ConstVector_NodeId_NodeId other )

◆ assign() [2/2]

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

◆ autoResizeAt()

NodeId mrmeshpy.Vector_NodeId_NodeId.autoResizeAt ( self,
ConstNodeId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None mrmeshpy.Vector_NodeId_NodeId.autoResizeSet ( self,
ConstNodeId i,
ConstNodeId 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_NodeId_NodeId.autoResizeSet ( self,
ConstNodeId pos,
int len,
ConstNodeId 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]

ConstNodeId mrmeshpy.Vector_NodeId_NodeId.back ( ConstVector_NodeId_NodeId self)

◆ back() [2/2]

NodeId mrmeshpy.Vector_NodeId_NodeId.back ( self)

◆ clear()

None mrmeshpy.Vector_NodeId_NodeId.clear ( self)

◆ data() [1/2]

ConstNodeId mrmeshpy.Vector_NodeId_NodeId.data ( ConstVector_NodeId_NodeId self)

◆ data() [2/2]

NodeId mrmeshpy.Vector_NodeId_NodeId.data ( self)

◆ front() [1/2]

ConstNodeId mrmeshpy.Vector_NodeId_NodeId.front ( ConstVector_NodeId_NodeId self)

◆ front() [2/2]

NodeId mrmeshpy.Vector_NodeId_NodeId.front ( self)

◆ pop_back()

None mrmeshpy.Vector_NodeId_NodeId.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_NodeId_NodeId.push_back ( self,
ConstNodeId t )

◆ push_back() [2/2]

None mrmeshpy.Vector_NodeId_NodeId.push_back ( self,
NodeId t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.Vector_NodeId_NodeId.resize ( self,
int newSize,
ConstNodeId t )

◆ resizeNoInit()

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

◆ resizeWithReserve() [2/2]

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

◆ shrink_to_fit()

None mrmeshpy.Vector_NodeId_NodeId.shrink_to_fit ( self)

◆ swap()

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

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstVector_NodeId_NodeId.

◆ vec() [2/2]

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

Reimplemented from mrmeshpy.ConstVector_NodeId_NodeId.


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