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_uint64_t (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Buffer_uint64_t () | |
| Buffer_uint64_t (meshlib.Buffer_uint64_t _other) | |
| Buffer_uint64_t (long size) | |
| meshlib.Buffer_uint64_t | assignFromAnother (meshlib.Buffer_uint64_t _other) |
| long | capacity () |
| long | size () |
| boolean | empty () |
| void | clear () |
| void | resize (long newSize) |
| long | index (long i) |
| java.lang.foreign.MemorySegment | index_mut (long i) |
| java.lang.foreign.MemorySegment | data_mut () |
| java.lang.foreign.MemorySegment | data () |
| long | beginId () |
| long | backId () |
| long | 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<uint64_t>.
Instances created here own their C++ objects, see CppObject.
| meshlib.Buffer_uint64_t.Buffer_uint64_t | ( | 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_uint64_t.Buffer_uint64_t | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Buffer_uint64_t_DefaultConstruct().
| meshlib.Buffer_uint64_t.Buffer_uint64_t | ( | meshlib.Buffer_uint64_t | _other | ) |
Generated from constructor MR::Buffer<uint64_t>::Buffer. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Buffer_uint64_t_ConstructFromAnother().
| meshlib.Buffer_uint64_t.Buffer_uint64_t | ( | long | size | ) |
Generated from constructor MR::Buffer<uint64_t>::Buffer. The reference to the parameter size might be preserved in the constructed object.
Calls MR_Buffer_uint64_t_Construct().
| meshlib.Buffer_uint64_t meshlib.Buffer_uint64_t.assignFromAnother | ( | meshlib.Buffer_uint64_t | _other | ) |
Generated from method MR::Buffer<uint64_t>::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Buffer_uint64_t_AssignFromAnother().
| long meshlib.Buffer_uint64_t.backId | ( | ) |
returns the identifier of the back() element Generated from method MR::Buffer<uint64_t>::backId.
Calls MR_Buffer_uint64_t_backId().
| long meshlib.Buffer_uint64_t.beginId | ( | ) |
returns the identifier of the first element Generated from method MR::Buffer<uint64_t>::beginId.
Calls MR_Buffer_uint64_t_beginId().
| long meshlib.Buffer_uint64_t.capacity | ( | ) |
Generated from method MR::Buffer<uint64_t>::capacity.
Calls MR_Buffer_uint64_t_capacity().
| void meshlib.Buffer_uint64_t.clear | ( | ) |
Generated from method MR::Buffer<uint64_t>::clear.
Calls MR_Buffer_uint64_t_clear().
| java.lang.foreign.MemorySegment meshlib.Buffer_uint64_t.data | ( | ) |
Generated from method MR::Buffer<uint64_t>::data. The reference to this object might be preserved in the return value.
Calls MR_Buffer_uint64_t_data(). Some types are raw C types, see the C bindings for the details.
| java.lang.foreign.MemorySegment meshlib.Buffer_uint64_t.data_mut | ( | ) |
Generated from method MR::Buffer<uint64_t>::data. The reference to this object might be preserved in the return value.
Calls MR_Buffer_uint64_t_data_mut(). Some types are raw C types, see the C bindings for the details.
| boolean meshlib.Buffer_uint64_t.empty | ( | ) |
Generated from method MR::Buffer<uint64_t>::empty.
Calls MR_Buffer_uint64_t_empty().
| long meshlib.Buffer_uint64_t.endId | ( | ) |
returns backId() + 1 Generated from method MR::Buffer<uint64_t>::endId.
Calls MR_Buffer_uint64_t_endId().
| long meshlib.Buffer_uint64_t.heapBytes | ( | ) |
returns the amount of memory this object occupies on heap Generated from method MR::Buffer<uint64_t>::heapBytes.
Calls MR_Buffer_uint64_t_heapBytes().
| long meshlib.Buffer_uint64_t.index | ( | long | i | ) |
Generated from method MR::Buffer<uint64_t>::operator[]. The reference to this object might be preserved in the return value.
Calls MR_Buffer_uint64_t_index().
| java.lang.foreign.MemorySegment meshlib.Buffer_uint64_t.index_mut | ( | long | i | ) |
Generated from method MR::Buffer<uint64_t>::operator[]. The reference to this object might be preserved in the return value.
Calls MR_Buffer_uint64_t_index_mut(). Some types are raw C types, see the C bindings for the details.
| void meshlib.Buffer_uint64_t.resize | ( | long | newSize | ) |
Generated from method MR::Buffer<uint64_t>::resize.
Calls MR_Buffer_uint64_t_resize().
| long meshlib.Buffer_uint64_t.size | ( | ) |
Generated from method MR::Buffer<uint64_t>::size.
Calls MR_Buffer_uint64_t_size().