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

Public Member Functions

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

Static Public Attributes

 const_reference = std_vector_Id_GraphEdgeTag
 
 reference = std_vector_Id_GraphEdgeTag
 
 value_type = std_vector_Id_GraphEdgeTag
 

Protected Member Functions

std_vector_Id_GraphEdgeTag _Subscript (self, GraphVertId i)
 
std_vector_Id_GraphEdgeTag _Subscript (self, GraphVertId i)
 

Detailed Description

Generated from:  MR::Vector<std::vector<MR::GraphEdgeId>, MR::GraphVertId>
Aliases:  Graph.NeighboursPerVertex, Vector_Graph_Neighbours_Graph_VertId


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

◆ __init__() [2/5]

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

◆ __init__() [3/5]

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

◆ __init__() [4/5]

None meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.__init__ ( self,
std_vector_std_vector_Id_GraphEdgeTag vec )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __eq__()

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

◆ __iter__()

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

◆ __ne__()

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

◆ _Subscript() [1/2]

std_vector_Id_GraphEdgeTag meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId._Subscript ( self,
GraphVertId i )
protected

◆ _Subscript() [2/2]

std_vector_Id_GraphEdgeTag meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId._Subscript ( self,
GraphVertId i )
protected

◆ autoResizeAt()

std_vector_Id_GraphEdgeTag meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.autoResizeAt ( self,
GraphVertId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.autoResizeSet ( self,
GraphVertId i,
std_vector_Id_GraphEdgeTag val )

◆ autoResizeSet() [2/2]

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

◆ back() [1/2]

std_vector_Id_GraphEdgeTag meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.back ( self)

◆ back() [2/2]

std_vector_Id_GraphEdgeTag meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.back ( self)

◆ backId()

GraphVertId meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.backId ( self)
returns the identifier of the back() element

◆ beginId()

GraphVertId meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.capacity ( self)

◆ clear()

None meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.clear ( self)

◆ data() [1/2]

std_vector_Id_GraphEdgeTag meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.data ( self)

◆ data() [2/2]

std_vector_Id_GraphEdgeTag meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.data ( self)

◆ empty()

bool meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.empty ( self)

◆ endId()

GraphVertId meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.endId ( self)
returns backId() + 1

◆ front() [1/2]

std_vector_Id_GraphEdgeTag meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.front ( self)

◆ front() [2/2]

std_vector_Id_GraphEdgeTag meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.front ( self)

◆ heapBytes()

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

◆ pop_back()

None meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.pop_back ( self)

◆ push_back() [1/2]

None meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.push_back ( self,
std_vector_Id_GraphEdgeTag t )

◆ push_back() [2/2]

None meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.push_back ( self,
std_vector_Id_GraphEdgeTag t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

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

◆ resizeWithReserve() [1/2]

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

◆ resizeWithReserve() [2/2]

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

◆ size()

int meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.size ( self)

◆ swap()

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

◆ vec_() [1/2]

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

◆ vec_() [2/2]

None meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.vec_ ( self,
std_vector_std_vector_Id_GraphEdgeTag arg1 )

Member Data Documentation

◆ const_reference

meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.const_reference = std_vector_Id_GraphEdgeTag
static

◆ reference

meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.reference = std_vector_Id_GraphEdgeTag
static

◆ value_type

meshlib.mrmeshpy.Vector_std_vector_GraphEdgeId_GraphVertId.value_type = std_vector_Id_GraphEdgeTag
static

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