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

Public Member Functions

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

Protected Member Functions

int _Subscript (self, UndirectedEdgeId i)
 
int _Subscript (self, UndirectedEdgeId i)
 

Detailed Description

Generated from:  MR::Vector<unsigned long, MR::UndirectedEdgeId>


 \\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_unsigned_long_UndirectedEdgeId.__init__ ( self)

◆ __init__() [2/5]

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

◆ __init__() [3/5]

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

◆ __init__() [4/5]

None meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.__init__ ( self,
std_vector_unsigned_long vec )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __eq__()

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

◆ __iter__()

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

◆ __ne__()

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

◆ _Subscript() [1/2]

int meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId._Subscript ( self,
UndirectedEdgeId i )
protected

◆ _Subscript() [2/2]

int meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId._Subscript ( self,
UndirectedEdgeId i )
protected

◆ autoResizeAt()

int meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.autoResizeAt ( self,
UndirectedEdgeId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.autoResizeSet ( self,
UndirectedEdgeId i,
int val )

◆ autoResizeSet() [2/2]

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

◆ back() [1/2]

int meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.back ( self)

◆ back() [2/2]

int meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.back ( self)

◆ backId()

UndirectedEdgeId meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.backId ( self)
returns the identifier of the back() element

◆ beginId()

UndirectedEdgeId meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.capacity ( self)

◆ clear()

None meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.clear ( self)

◆ data() [1/2]

int meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.data ( self)

◆ data() [2/2]

int meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.data ( self)

◆ empty()

bool meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.empty ( self)

◆ endId()

UndirectedEdgeId meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.endId ( self)
returns backId() + 1

◆ front() [1/2]

int meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.front ( self)

◆ front() [2/2]

int meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.front ( self)

◆ heapBytes()

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

◆ pop_back()

None meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.pop_back ( self)

◆ push_back() [1/2]

None meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.push_back ( self,
int t )

◆ push_back() [2/2]

None meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.push_back ( self,
int t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

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

◆ resizeWithReserve() [1/2]

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

◆ resizeWithReserve() [2/2]

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

◆ size()

int meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.size ( self)

◆ swap()

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

◆ vec_() [1/2]

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

◆ vec_() [2/2]

None meshlib.mrmeshpy.Vector_unsigned_long_UndirectedEdgeId.vec_ ( self,
std_vector_unsigned_long arg1 )

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