MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Buffer_unsigned_char Class Reference
Inheritance diagram for mrmeshpy.Buffer_unsigned_char:

Public Member Functions

int __getitem__ (self, int i)
int __getitem__ (ConstBuffer_unsigned_char self, int i)
None __init__ (self)
None __init__ (self, int size)
None __setitem__ (self, int arg0, int arg1)
None clear (self)
int data (self)
int data (ConstBuffer_unsigned_char self)
None resize (self, int newSize)
Public Member Functions inherited from mrmeshpy.ConstBuffer_unsigned_char
int __getitem__ (self, int i)
 __init__ (self, *args, **kwargs)
typing.Iterator[int] __iter__ (self)
int backId (self)
int beginId (self)
int capacity (self)
bool empty (self)
int endId (self)
int heapBytes (self)
int size (self)

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)

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

◆ __getitem__() [1/2]

int mrmeshpy.Buffer_unsigned_char.__getitem__ ( ConstBuffer_unsigned_char self,
int i )

◆ __getitem__() [2/2]

int mrmeshpy.Buffer_unsigned_char.__getitem__ ( self,
int i )

◆ __setitem__()

None mrmeshpy.Buffer_unsigned_char.__setitem__ ( self,
int arg0,
int arg1 )

◆ clear()

None mrmeshpy.Buffer_unsigned_char.clear ( self)

◆ data() [1/2]

int mrmeshpy.Buffer_unsigned_char.data ( ConstBuffer_unsigned_char self)

◆ data() [2/2]

int mrmeshpy.Buffer_unsigned_char.data ( self)

◆ resize()

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

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