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

Public Member Functions

None __init__ (self)
 
None __init__ (self, int size)
 
typing.Iterator __iter__ (self)
 
RegionId backId (self)
 
RegionId beginId (self)
 
int capacity (self)
 
None clear (self)
 
NoDefInit_RegionId data (self)
 
NoDefInit_RegionId data (self)
 
bool empty (self)
 
RegionId endId (self)
 
int heapBytes (self)
 
None resize (self, int newSize)
 
int size (self)
 

Static Public Attributes

 T = NoDefInit_RegionId
 
 const_iterator = NoDefInit_RegionId
 
 const_reference = NoDefInit_RegionId
 
 iterator = NoDefInit_RegionId
 
 reference = NoDefInit_RegionId
 

Protected Member Functions

NoDefInit_RegionId _Subscript (self, RegionId i)
 
NoDefInit_RegionId _Subscript (self, RegionId i)
 

Detailed Description

Generated from:  MR::Buffer<MR::RegionId, MR::RegionId>


 \\brief std::vector<V>-like container that is
  1) resized without initialization of its elements,
  2) much simplified: no push_back and many other methods
 \\tparam V type of stored elements
 \\tparam I type of index (shall be convertible to size_t)
 \\ingroup BasicGroup

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.Buffer_RegionId_RegionId.__init__ ( self)

◆ __init__() [2/2]

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

Member Function Documentation

◆ __iter__()

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

◆ _Subscript() [1/2]

NoDefInit_RegionId meshlib.mrmeshpy.Buffer_RegionId_RegionId._Subscript ( self,
RegionId i )
protected

◆ _Subscript() [2/2]

NoDefInit_RegionId meshlib.mrmeshpy.Buffer_RegionId_RegionId._Subscript ( self,
RegionId i )
protected

◆ backId()

RegionId meshlib.mrmeshpy.Buffer_RegionId_RegionId.backId ( self)
returns the identifier of the back() element

◆ beginId()

RegionId meshlib.mrmeshpy.Buffer_RegionId_RegionId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int meshlib.mrmeshpy.Buffer_RegionId_RegionId.capacity ( self)

◆ clear()

None meshlib.mrmeshpy.Buffer_RegionId_RegionId.clear ( self)

◆ data() [1/2]

NoDefInit_RegionId meshlib.mrmeshpy.Buffer_RegionId_RegionId.data ( self)

◆ data() [2/2]

NoDefInit_RegionId meshlib.mrmeshpy.Buffer_RegionId_RegionId.data ( self)

◆ empty()

bool meshlib.mrmeshpy.Buffer_RegionId_RegionId.empty ( self)

◆ endId()

RegionId meshlib.mrmeshpy.Buffer_RegionId_RegionId.endId ( self)
returns backId() + 1

◆ heapBytes()

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

◆ resize()

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

◆ size()

int meshlib.mrmeshpy.Buffer_RegionId_RegionId.size ( self)

Member Data Documentation

◆ const_iterator

meshlib.mrmeshpy.Buffer_RegionId_RegionId.const_iterator = NoDefInit_RegionId
static

◆ const_reference

meshlib.mrmeshpy.Buffer_RegionId_RegionId.const_reference = NoDefInit_RegionId
static

◆ iterator

meshlib.mrmeshpy.Buffer_RegionId_RegionId.iterator = NoDefInit_RegionId
static

◆ reference

meshlib.mrmeshpy.Buffer_RegionId_RegionId.reference = NoDefInit_RegionId
static

◆ T

meshlib.mrmeshpy.Buffer_RegionId_RegionId.T = NoDefInit_RegionId
static

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