Public Member Functions | |
| str | __getitem__ (self, int i) |
| __init__ (self, *args, **kwargs) | |
| typing.Iterator[str] | __iter__ (self) |
| int | backId (self) |
| int | beginId (self) |
| int | capacity (self) |
| str | data (self) |
| bool | empty (self) |
| int | endId (self) |
| int | heapBytes (self) |
| int | size (self) |
Generated from: MR::Buffer<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)
| mrmeshpy.ConstBuffer_char.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstBuffer_char) -> None 2. __init__(self: meshlib.mrmeshpy.ConstBuffer_char, size: int) -> None
| str mrmeshpy.ConstBuffer_char.__getitem__ | ( | self, | |
| int | i ) |
| typing.Iterator[str] mrmeshpy.ConstBuffer_char.__iter__ | ( | self | ) |
| int mrmeshpy.ConstBuffer_char.backId | ( | self | ) |
returns the identifier of the back() element
| int mrmeshpy.ConstBuffer_char.beginId | ( | self | ) |
returns the identifier of the first element
| int mrmeshpy.ConstBuffer_char.capacity | ( | self | ) |
| str mrmeshpy.ConstBuffer_char.data | ( | self | ) |
Reimplemented in mrmeshpy.Buffer_char, and mrmeshpy.Buffer_char.
| bool mrmeshpy.ConstBuffer_char.empty | ( | self | ) |
| int mrmeshpy.ConstBuffer_char.endId | ( | self | ) |
returns backId() + 1
| int mrmeshpy.ConstBuffer_char.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
| int mrmeshpy.ConstBuffer_char.size | ( | self | ) |