MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Vector_GraphVertId_GraphVertId Class Reference

Public Member Functions

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

Static Public Attributes

 const_reference = GraphVertId
 
 reference = GraphVertId
 
 value_type = GraphVertId
 

Protected Member Functions

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

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

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


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

◆ __init__() [2/5]

None mrmeshpy.Vector_GraphVertId_GraphVertId.__init__ ( self,
int size )

◆ __init__() [3/5]

None mrmeshpy.Vector_GraphVertId_GraphVertId.__init__ ( self,
int size,
GraphVertId val )

◆ __init__() [4/5]

None mrmeshpy.Vector_GraphVertId_GraphVertId.__init__ ( self,
std_vector_Id_GraphVertTag vec )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __eq__()

bool mrmeshpy.Vector_GraphVertId_GraphVertId.__eq__ ( self,
Vector_GraphVertId_GraphVertId b )

◆ __iter__()

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

◆ __ne__()

bool mrmeshpy.Vector_GraphVertId_GraphVertId.__ne__ ( self,
Vector_GraphVertId_GraphVertId b )

◆ _pybind11_conduit_v1_()

mrmeshpy.Vector_GraphVertId_GraphVertId._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ _Subscript() [1/2]

GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId._Subscript ( self,
GraphVertId i )
protected

◆ _Subscript() [2/2]

GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId._Subscript ( self,
GraphVertId i )
protected

◆ autoResizeAt()

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

◆ autoResizeSet() [1/2]

None mrmeshpy.Vector_GraphVertId_GraphVertId.autoResizeSet ( self,
GraphVertId i,
GraphVertId val )

◆ autoResizeSet() [2/2]

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

◆ back() [1/2]

GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.back ( self)

◆ back() [2/2]

GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.back ( self)

◆ backId()

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

◆ beginId()

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

◆ capacity()

int mrmeshpy.Vector_GraphVertId_GraphVertId.capacity ( self)

◆ clear()

None mrmeshpy.Vector_GraphVertId_GraphVertId.clear ( self)

◆ data() [1/2]

GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.data ( self)

◆ data() [2/2]

GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.data ( self)

◆ empty()

bool mrmeshpy.Vector_GraphVertId_GraphVertId.empty ( self)

◆ endId()

GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.endId ( self)
returns backId() + 1

◆ front() [1/2]

GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.front ( self)

◆ front() [2/2]

GraphVertId mrmeshpy.Vector_GraphVertId_GraphVertId.front ( self)

◆ heapBytes()

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

◆ pop_back()

None mrmeshpy.Vector_GraphVertId_GraphVertId.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_GraphVertId_GraphVertId.push_back ( self,
GraphVertId 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,
GraphVertId t )

◆ resizeNoInit()

None mrmeshpy.Vector_GraphVertId_GraphVertId.resizeNoInit ( self,
int targetSize )
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 )
doubles reserved memory until resize(newSize) can be done without reallocation

◆ resizeWithReserve() [2/2]

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

◆ size()

int mrmeshpy.Vector_GraphVertId_GraphVertId.size ( self)

◆ swap()

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

◆ vec_() [1/2]

std_vector_Id_GraphVertTag mrmeshpy.Vector_GraphVertId_GraphVertId.vec_ ( self)
the user can directly manipulate the vector, anyway she cannot break anything

◆ vec_() [2/2]

None mrmeshpy.Vector_GraphVertId_GraphVertId.vec_ ( self,
std_vector_Id_GraphVertTag arg1 )

Member Data Documentation

◆ const_reference

mrmeshpy.Vector_GraphVertId_GraphVertId.const_reference = GraphVertId
static

◆ reference

mrmeshpy.Vector_GraphVertId_GraphVertId.reference = GraphVertId
static

◆ value_type

mrmeshpy.Vector_GraphVertId_GraphVertId.value_type = GraphVertId
static

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