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

Public Member Functions

int __getitem__ (self, int i)
 __init__ (self, *args, **kwargs)
typing.Iterator[int] __iter__ (self)
int backId (self)
int beginId (self)
int capacity (self)
int data (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__()

mrmeshpy.ConstBuffer_unsigned_char.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstBuffer_unsigned_char) -> None

2. __init__(self: meshlib.mrmeshpy.ConstBuffer_unsigned_char, size: int) -> None

Member Function Documentation

◆ __getitem__()

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

◆ __iter__()

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

◆ backId()

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

◆ beginId()

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

◆ capacity()

int mrmeshpy.ConstBuffer_unsigned_char.capacity ( self)

◆ data()

int mrmeshpy.ConstBuffer_unsigned_char.data ( self)

◆ empty()

bool mrmeshpy.ConstBuffer_unsigned_char.empty ( self)

◆ endId()

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

◆ heapBytes()

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

◆ size()

int mrmeshpy.ConstBuffer_unsigned_char.size ( self)

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