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

Public Member Functions

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

Protected Member Functions

str _Subscript (self, VertId i)
 
str _Subscript (self, VertId i)
 

Detailed Description

Generated from:  MR::Vector<char, MR::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 mrmeshpy.Vector_char_VertId.__init__ ( self)

◆ __init__() [2/5]

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

◆ __init__() [3/5]

None mrmeshpy.Vector_char_VertId.__init__ ( self,
int size,
str val )

◆ __init__() [4/5]

None mrmeshpy.Vector_char_VertId.__init__ ( self,
std_vector_char vec )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __eq__()

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

◆ __iter__()

typing.Iterator[str] mrmeshpy.Vector_char_VertId.__iter__ ( self)

◆ __ne__()

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

◆ _Subscript() [1/2]

str mrmeshpy.Vector_char_VertId._Subscript ( self,
VertId i )
protected

◆ _Subscript() [2/2]

str mrmeshpy.Vector_char_VertId._Subscript ( self,
VertId i )
protected

◆ autoResizeAt()

str mrmeshpy.Vector_char_VertId.autoResizeAt ( self,
VertId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None mrmeshpy.Vector_char_VertId.autoResizeSet ( self,
VertId i,
str val )

◆ autoResizeSet() [2/2]

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

◆ back() [1/2]

str mrmeshpy.Vector_char_VertId.back ( self)

◆ back() [2/2]

str mrmeshpy.Vector_char_VertId.back ( self)

◆ backId()

VertId mrmeshpy.Vector_char_VertId.backId ( self)
returns the identifier of the back() element

◆ beginId()

VertId mrmeshpy.Vector_char_VertId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.Vector_char_VertId.capacity ( self)

◆ clear()

None mrmeshpy.Vector_char_VertId.clear ( self)

◆ data() [1/2]

str mrmeshpy.Vector_char_VertId.data ( self)

◆ data() [2/2]

str mrmeshpy.Vector_char_VertId.data ( self)

◆ emplace_back()

str mrmeshpy.Vector_char_VertId.emplace_back ( self)

◆ empty()

bool mrmeshpy.Vector_char_VertId.empty ( self)

◆ endId()

VertId mrmeshpy.Vector_char_VertId.endId ( self)
returns backId() + 1

◆ front() [1/2]

str mrmeshpy.Vector_char_VertId.front ( self)

◆ front() [2/2]

str mrmeshpy.Vector_char_VertId.front ( self)

◆ heapBytes()

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

◆ pop_back()

None mrmeshpy.Vector_char_VertId.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_char_VertId.push_back ( self,
str t )

◆ push_back() [2/2]

None mrmeshpy.Vector_char_VertId.push_back ( self,
str t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.Vector_char_VertId.resize ( self,
int newSize,
str t )

◆ resizeWithReserve() [1/2]

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

◆ resizeWithReserve() [2/2]

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

◆ size()

int mrmeshpy.Vector_char_VertId.size ( self)

◆ swap()

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

◆ vec_() [1/2]

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

◆ vec_() [2/2]

None mrmeshpy.Vector_char_VertId.vec_ ( self,
std_vector_char arg1 )

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