MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.Vector_NodeId_NodeId Class Reference

Public Member Functions

bool __eq__ (self, Vector_NodeId_NodeId b)
 
None __init__ (self)
 
None __init__ (self, int size)
 
None __init__ (self, int size, NodeId val)
 
None __init__ (self, std_vector_Id_NodeTag vec)
 
None __init__ (self, Vector_NodeId_NodeId arg0)
 
typing.Iterator __iter__ (self)
 
bool __ne__ (self, Vector_NodeId_NodeId b)
 
NodeId autoResizeAt (self, NodeId i)
 
None autoResizeSet (self, NodeId pos, int len, NodeId val)
 
None autoResizeSet (self, NodeId i, NodeId val)
 
NodeId back (self)
 
NodeId back (self)
 
NodeId backId (self)
 
NodeId beginId (self)
 
int capacity (self)
 
None clear (self)
 
NodeId data (self)
 
NodeId data (self)
 
bool empty (self)
 
NodeId endId (self)
 
NodeId front (self)
 
NodeId front (self)
 
int heapBytes (self)
 
None pop_back (self)
 
None push_back (self, NodeId t)
 
None push_back (self, NodeId t)
 
None reserve (self, int capacity)
 
None resize (self, int newSize)
 
None resize (self, int newSize, NodeId t)
 
None resizeNoInit (self, int targetSize)
 
None resizeWithReserve (self, int newSize)
 
None resizeWithReserve (self, int newSize, NodeId value)
 
int size (self)
 
None swap (self, Vector_NodeId_NodeId b)
 
std_vector_Id_NodeTag vec_ (self)
 
None vec_ (self, std_vector_Id_NodeTag arg1)
 

Static Public Attributes

 const_reference = NodeId
 
 reference = NodeId
 
 value_type = NodeId
 

Protected Member Functions

NodeId _Subscript (self, NodeId i)
 
NodeId _Subscript (self, NodeId i)
 

Detailed Description

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


 \\brief std::vector<T>-like container that requires specific indexing type,
 \\tparam T type of stored elements
 \\tparam I type of index (shall be convertible to size_t)
 \\ingroup BasicGroup

Constructor & Destructor Documentation

◆ __init__() [1/5]

None meshlib.mrmeshpy.Vector_NodeId_NodeId.__init__ ( self)

◆ __init__() [2/5]

None meshlib.mrmeshpy.Vector_NodeId_NodeId.__init__ ( self,
int size )

◆ __init__() [3/5]

None meshlib.mrmeshpy.Vector_NodeId_NodeId.__init__ ( self,
int size,
NodeId val )

◆ __init__() [4/5]

None meshlib.mrmeshpy.Vector_NodeId_NodeId.__init__ ( self,
std_vector_Id_NodeTag vec )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __eq__()

bool meshlib.mrmeshpy.Vector_NodeId_NodeId.__eq__ ( self,
Vector_NodeId_NodeId b )

◆ __iter__()

typing.Iterator meshlib.mrmeshpy.Vector_NodeId_NodeId.__iter__ ( self)

◆ __ne__()

bool meshlib.mrmeshpy.Vector_NodeId_NodeId.__ne__ ( self,
Vector_NodeId_NodeId b )

◆ _Subscript() [1/2]

NodeId meshlib.mrmeshpy.Vector_NodeId_NodeId._Subscript ( self,
NodeId i )
protected

◆ _Subscript() [2/2]

NodeId meshlib.mrmeshpy.Vector_NodeId_NodeId._Subscript ( self,
NodeId i )
protected

◆ autoResizeAt()

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

◆ autoResizeSet() [1/2]

None meshlib.mrmeshpy.Vector_NodeId_NodeId.autoResizeSet ( self,
NodeId i,
NodeId val )

◆ autoResizeSet() [2/2]

None meshlib.mrmeshpy.Vector_NodeId_NodeId.autoResizeSet ( self,
NodeId pos,
int len,
NodeId val )
sets elements [pos, pos+len) to given value, adjusting the size of the vector to include new elements

◆ back() [1/2]

NodeId meshlib.mrmeshpy.Vector_NodeId_NodeId.back ( self)

◆ back() [2/2]

NodeId meshlib.mrmeshpy.Vector_NodeId_NodeId.back ( self)

◆ backId()

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

◆ beginId()

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

◆ capacity()

int meshlib.mrmeshpy.Vector_NodeId_NodeId.capacity ( self)

◆ clear()

None meshlib.mrmeshpy.Vector_NodeId_NodeId.clear ( self)

◆ data() [1/2]

NodeId meshlib.mrmeshpy.Vector_NodeId_NodeId.data ( self)

◆ data() [2/2]

NodeId meshlib.mrmeshpy.Vector_NodeId_NodeId.data ( self)

◆ empty()

bool meshlib.mrmeshpy.Vector_NodeId_NodeId.empty ( self)

◆ endId()

NodeId meshlib.mrmeshpy.Vector_NodeId_NodeId.endId ( self)
returns backId() + 1

◆ front() [1/2]

NodeId meshlib.mrmeshpy.Vector_NodeId_NodeId.front ( self)

◆ front() [2/2]

NodeId meshlib.mrmeshpy.Vector_NodeId_NodeId.front ( self)

◆ heapBytes()

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

◆ pop_back()

None meshlib.mrmeshpy.Vector_NodeId_NodeId.pop_back ( self)

◆ push_back() [1/2]

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

◆ push_back() [2/2]

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

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

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

◆ resizeNoInit()

None meshlib.mrmeshpy.Vector_NodeId_NodeId.resizeNoInit ( self,
int targetSize )
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor )

◆ resizeWithReserve() [1/2]

None meshlib.mrmeshpy.Vector_NodeId_NodeId.resizeWithReserve ( self,
int newSize )
doubles reserved memory until resize(newSize) can be done without reallocation

◆ resizeWithReserve() [2/2]

None meshlib.mrmeshpy.Vector_NodeId_NodeId.resizeWithReserve ( self,
int newSize,
NodeId value )
doubles reserved memory until resize(newSize) can be done without reallocation

◆ size()

int meshlib.mrmeshpy.Vector_NodeId_NodeId.size ( self)

◆ swap()

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

◆ vec_() [1/2]

std_vector_Id_NodeTag meshlib.mrmeshpy.Vector_NodeId_NodeId.vec_ ( self)
the user can directly manipulate the vector, anyway she cannot break anything

◆ vec_() [2/2]

None meshlib.mrmeshpy.Vector_NodeId_NodeId.vec_ ( self,
std_vector_Id_NodeTag arg1 )

Member Data Documentation

◆ const_reference

meshlib.mrmeshpy.Vector_NodeId_NodeId.const_reference = NodeId
static

◆ reference

meshlib.mrmeshpy.Vector_NodeId_NodeId.reference = NodeId
static

◆ value_type

meshlib.mrmeshpy.Vector_NodeId_NodeId.value_type = NodeId
static

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