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

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 long>

\\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_long.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

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

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

Member Function Documentation

◆ __getitem__()

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

◆ __iter__()

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

◆ backId()

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

◆ beginId()

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

◆ capacity()

int mrmeshpy.ConstBuffer_unsigned_long.capacity ( self)

◆ data()

int mrmeshpy.ConstBuffer_unsigned_long.data ( self)

◆ empty()

bool mrmeshpy.ConstBuffer_unsigned_long.empty ( self)

◆ endId()

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

◆ heapBytes()

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

◆ size()

int mrmeshpy.ConstBuffer_unsigned_long.size ( self)

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