std::vector<V>-like container that is 1) resized without initialization of its elements, 2) much simplified: no push_back and many other methods More...
Public Member Functions | |
| Buffer_MR_FaceId_MR_FaceId (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Buffer_MR_FaceId_MR_FaceId () | |
| Buffer_MR_FaceId_MR_FaceId (meshlib.Buffer_MR_FaceId_MR_FaceId _other) | |
| Buffer_MR_FaceId_MR_FaceId (long size) | |
| meshlib.Buffer_MR_FaceId_MR_FaceId | assignFromAnother (meshlib.Buffer_MR_FaceId_MR_FaceId _other) |
| long | capacity () |
| long | size () |
| boolean | empty () |
| void | clear () |
| void | resize (long newSize) |
| meshlib.NoDefInit_MR_FaceId | index (meshlib.FaceId i) |
| meshlib.NoDefInit_MR_FaceId | index_mut (meshlib.FaceId i) |
| meshlib.NoDefInit_MR_FaceId | data_mut () |
| meshlib.NoDefInit_MR_FaceId | data () |
| meshlib.FaceId | beginId () |
| meshlib.FaceId | backId () |
| meshlib.FaceId | endId () |
| long | heapBytes () |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
std::vector<V>-like container that is 1) resized without initialization of its elements, 2) much simplified: no push_back and many other methods
| V | type of stored elements |
| I | type of index (shall be convertible to size_t) |
Generated from class MR::Buffer<MR::FaceId, MR::FaceId>.
Instances created here own their C++ objects, see CppObject.
| meshlib.Buffer_MR_FaceId_MR_FaceId.Buffer_MR_FaceId_MR_FaceId | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.Buffer_MR_FaceId_MR_FaceId.Buffer_MR_FaceId_MR_FaceId | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Buffer_MR_FaceId_MR_FaceId_DefaultConstruct().
| meshlib.Buffer_MR_FaceId_MR_FaceId.Buffer_MR_FaceId_MR_FaceId | ( | meshlib.Buffer_MR_FaceId_MR_FaceId | _other | ) |
Generated from constructor MR::Buffer<MR::FaceId, MR::FaceId>::Buffer. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Buffer_MR_FaceId_MR_FaceId_ConstructFromAnother().
| meshlib.Buffer_MR_FaceId_MR_FaceId.Buffer_MR_FaceId_MR_FaceId | ( | long | size | ) |
Generated from constructor MR::Buffer<MR::FaceId, MR::FaceId>::Buffer. The reference to the parameter size might be preserved in the constructed object.
Calls MR_Buffer_MR_FaceId_MR_FaceId_Construct().
| meshlib.Buffer_MR_FaceId_MR_FaceId meshlib.Buffer_MR_FaceId_MR_FaceId.assignFromAnother | ( | meshlib.Buffer_MR_FaceId_MR_FaceId | _other | ) |
Generated from method MR::Buffer<MR::FaceId, MR::FaceId>::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Buffer_MR_FaceId_MR_FaceId_AssignFromAnother().
| meshlib.FaceId meshlib.Buffer_MR_FaceId_MR_FaceId.backId | ( | ) |
returns the identifier of the back() element Generated from method MR::Buffer<MR::FaceId, MR::FaceId>::backId.
Calls MR_Buffer_MR_FaceId_MR_FaceId_backId().
| meshlib.FaceId meshlib.Buffer_MR_FaceId_MR_FaceId.beginId | ( | ) |
returns the identifier of the first element Generated from method MR::Buffer<MR::FaceId, MR::FaceId>::beginId.
Calls MR_Buffer_MR_FaceId_MR_FaceId_beginId().
| long meshlib.Buffer_MR_FaceId_MR_FaceId.capacity | ( | ) |
Generated from method MR::Buffer<MR::FaceId, MR::FaceId>::capacity.
Calls MR_Buffer_MR_FaceId_MR_FaceId_capacity().
| void meshlib.Buffer_MR_FaceId_MR_FaceId.clear | ( | ) |
Generated from method MR::Buffer<MR::FaceId, MR::FaceId>::clear.
Calls MR_Buffer_MR_FaceId_MR_FaceId_clear().
| meshlib.NoDefInit_MR_FaceId meshlib.Buffer_MR_FaceId_MR_FaceId.data | ( | ) |
Generated from method MR::Buffer<MR::FaceId, MR::FaceId>::data. The reference to this object might be preserved in the return value.
Calls MR_Buffer_MR_FaceId_MR_FaceId_data().
| meshlib.NoDefInit_MR_FaceId meshlib.Buffer_MR_FaceId_MR_FaceId.data_mut | ( | ) |
Generated from method MR::Buffer<MR::FaceId, MR::FaceId>::data. The reference to this object might be preserved in the return value.
Calls MR_Buffer_MR_FaceId_MR_FaceId_data_mut().
| boolean meshlib.Buffer_MR_FaceId_MR_FaceId.empty | ( | ) |
Generated from method MR::Buffer<MR::FaceId, MR::FaceId>::empty.
Calls MR_Buffer_MR_FaceId_MR_FaceId_empty().
| meshlib.FaceId meshlib.Buffer_MR_FaceId_MR_FaceId.endId | ( | ) |
returns backId() + 1 Generated from method MR::Buffer<MR::FaceId, MR::FaceId>::endId.
Calls MR_Buffer_MR_FaceId_MR_FaceId_endId().
| long meshlib.Buffer_MR_FaceId_MR_FaceId.heapBytes | ( | ) |
returns the amount of memory this object occupies on heap Generated from method MR::Buffer<MR::FaceId, MR::FaceId>::heapBytes.
Calls MR_Buffer_MR_FaceId_MR_FaceId_heapBytes().
| meshlib.NoDefInit_MR_FaceId meshlib.Buffer_MR_FaceId_MR_FaceId.index | ( | meshlib.FaceId | i | ) |
Generated from method MR::Buffer<MR::FaceId, MR::FaceId>::operator[]. The reference to this object might be preserved in the return value.
Calls MR_Buffer_MR_FaceId_MR_FaceId_index().
| meshlib.NoDefInit_MR_FaceId meshlib.Buffer_MR_FaceId_MR_FaceId.index_mut | ( | meshlib.FaceId | i | ) |
Generated from method MR::Buffer<MR::FaceId, MR::FaceId>::operator[]. The reference to this object might be preserved in the return value.
Calls MR_Buffer_MR_FaceId_MR_FaceId_index_mut().
| void meshlib.Buffer_MR_FaceId_MR_FaceId.resize | ( | long | newSize | ) |
Generated from method MR::Buffer<MR::FaceId, MR::FaceId>::resize.
Calls MR_Buffer_MR_FaceId_MR_FaceId_resize().
| long meshlib.Buffer_MR_FaceId_MR_FaceId.size | ( | ) |
Generated from method MR::Buffer<MR::FaceId, MR::FaceId>::size.
Calls MR_Buffer_MR_FaceId_MR_FaceId_size().