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

Public Member Functions

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

Protected Member Functions

int _Subscript (self, int i)
 
int _Subscript (self, int i)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::Buffer<unsigned char>


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

◆ __init__() [2/2]

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

Member Function Documentation

◆ __iter__()

typing.Iterator[int] mrmeshpy.Buffer_unsigned_char.__iter__ ( self)

◆ _pybind11_conduit_v1_()

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

◆ _Subscript() [1/2]

int mrmeshpy.Buffer_unsigned_char._Subscript ( self,
int i )
protected

◆ _Subscript() [2/2]

int mrmeshpy.Buffer_unsigned_char._Subscript ( self,
int i )
protected

◆ backId()

int mrmeshpy.Buffer_unsigned_char.backId ( self)
returns the identifier of the back() element

◆ beginId()

int mrmeshpy.Buffer_unsigned_char.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.Buffer_unsigned_char.capacity ( self)

◆ clear()

None mrmeshpy.Buffer_unsigned_char.clear ( self)

◆ data() [1/2]

int mrmeshpy.Buffer_unsigned_char.data ( self)

◆ data() [2/2]

int mrmeshpy.Buffer_unsigned_char.data ( self)

◆ empty()

bool mrmeshpy.Buffer_unsigned_char.empty ( self)

◆ endId()

int mrmeshpy.Buffer_unsigned_char.endId ( self)
returns backId() + 1

◆ heapBytes()

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

◆ resize()

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

◆ size()

int mrmeshpy.Buffer_unsigned_char.size ( self)

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