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

Public Member Functions

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

Static Public Attributes

 const_reference = FanRecord
 
 reference = FanRecord
 
 value_type = FanRecord
 

Protected Member Functions

FanRecord _Subscript (self, VertId i)
 
FanRecord _Subscript (self, VertId i)
 

Detailed Description

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

◆ __init__() [2/5]

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

◆ __init__() [3/5]

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

◆ __init__() [4/5]

None meshlib.mrmeshpy.Vector_FanRecord_VertId.__init__ ( self,
std_vector_FanRecord vec )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __iter__()

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

◆ _Subscript() [1/2]

FanRecord meshlib.mrmeshpy.Vector_FanRecord_VertId._Subscript ( self,
VertId i )
protected

◆ _Subscript() [2/2]

FanRecord meshlib.mrmeshpy.Vector_FanRecord_VertId._Subscript ( self,
VertId i )
protected

◆ autoResizeAt()

FanRecord meshlib.mrmeshpy.Vector_FanRecord_VertId.autoResizeAt ( self,
VertId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None meshlib.mrmeshpy.Vector_FanRecord_VertId.autoResizeSet ( self,
VertId i,
FanRecord val )

◆ autoResizeSet() [2/2]

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

◆ back() [1/2]

FanRecord meshlib.mrmeshpy.Vector_FanRecord_VertId.back ( self)

◆ back() [2/2]

FanRecord meshlib.mrmeshpy.Vector_FanRecord_VertId.back ( self)

◆ backId()

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

◆ beginId()

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

◆ capacity()

int meshlib.mrmeshpy.Vector_FanRecord_VertId.capacity ( self)

◆ clear()

None meshlib.mrmeshpy.Vector_FanRecord_VertId.clear ( self)

◆ data() [1/2]

FanRecord meshlib.mrmeshpy.Vector_FanRecord_VertId.data ( self)

◆ data() [2/2]

FanRecord meshlib.mrmeshpy.Vector_FanRecord_VertId.data ( self)

◆ empty()

bool meshlib.mrmeshpy.Vector_FanRecord_VertId.empty ( self)

◆ endId()

VertId meshlib.mrmeshpy.Vector_FanRecord_VertId.endId ( self)
returns backId() + 1

◆ front() [1/2]

FanRecord meshlib.mrmeshpy.Vector_FanRecord_VertId.front ( self)

◆ front() [2/2]

FanRecord meshlib.mrmeshpy.Vector_FanRecord_VertId.front ( self)

◆ heapBytes()

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

◆ pop_back()

None meshlib.mrmeshpy.Vector_FanRecord_VertId.pop_back ( self)

◆ push_back() [1/2]

None meshlib.mrmeshpy.Vector_FanRecord_VertId.push_back ( self,
FanRecord t )

◆ push_back() [2/2]

None meshlib.mrmeshpy.Vector_FanRecord_VertId.push_back ( self,
FanRecord t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

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

◆ resizeNoInit()

None meshlib.mrmeshpy.Vector_FanRecord_VertId.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_FanRecord_VertId.resizeWithReserve ( self,
int newSize )
doubles reserved memory until resize(newSize) can be done without reallocation

◆ resizeWithReserve() [2/2]

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

◆ size()

int meshlib.mrmeshpy.Vector_FanRecord_VertId.size ( self)

◆ swap()

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

◆ vec_() [1/2]

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

◆ vec_() [2/2]

None meshlib.mrmeshpy.Vector_FanRecord_VertId.vec_ ( self,
std_vector_FanRecord arg1 )

Member Data Documentation

◆ const_reference

meshlib.mrmeshpy.Vector_FanRecord_VertId.const_reference = FanRecord
static

◆ reference

meshlib.mrmeshpy.Vector_FanRecord_VertId.reference = FanRecord
static

◆ value_type

meshlib.mrmeshpy.Vector_FanRecord_VertId.value_type = FanRecord
static

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