Public Member Functions | |
| Vector_int (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Vector_int () | |
| Vector_int (meshlib.Vector_int _other) | |
| Vector_int (long size) | |
| Vector_int (long size, int val) | |
| meshlib.Vector_int | assignFromAnother (meshlib.Vector_int _other) |
| void | assign (long count, int val) |
| boolean | opEqual (meshlib.Vector_int b) |
| boolean | opNotEqual (meshlib.Vector_int b) |
| void | clear () |
| boolean | empty () |
| long | size () |
| long | max_size () |
| void | resize (long newSize) |
| void | resize (long newSize, int t) |
| long | capacity () |
| void | reserve (long capacity) |
| void | shrink_to_fit () |
| int | index (long i) |
| java.lang.foreign.MemorySegment | index_mut (long i) |
| void | resizeWithReserve (long newSize) |
| void | resizeWithReserve (long newSize, int value) |
| void | autoResizeSet (long pos, long len, int val) |
| void | autoResizeSet (long i, int val) |
| java.lang.foreign.MemorySegment | autoResizeAt (long i) |
| void | push_back_const_int_ref (int t) |
| void | push_back_int_rvalue_ref (int t) |
| void | pop_back () |
| int | front () |
| java.lang.foreign.MemorySegment | front_mut () |
| int | back () |
| java.lang.foreign.MemorySegment | back_mut () |
| long | beginId () |
| long | backId () |
| long | endId () |
| java.lang.foreign.MemorySegment | data_mut () |
| java.lang.Integer | data () |
| void | swap (meshlib.Vector_int b) |
| long | heapBytes () |
| meshlib.std_vector_int_MR_Allocator_int | vec () |
| void | setVec (meshlib.std_vector_int_MR_Allocator_int value) |
| 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) | |
Vector<T> is indexed by size_t Generated from class MR::Vector<int>.
Instances created here own their C++ objects, see CppObject.
| meshlib.Vector_int.Vector_int | ( | 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.Vector_int.Vector_int | ( | ) |
creates empty vector
Calls MR_Vector_int_DefaultConstruct().
| meshlib.Vector_int.Vector_int | ( | meshlib.Vector_int | _other | ) |
Generated from constructor MR::Vector<int>::Vector. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Vector_int_ConstructFromAnother().
| meshlib.Vector_int.Vector_int | ( | long | size | ) |
creates a vector with size elements with default value Generated from constructor MR::Vector<int>::Vector. The reference to the parameter size might be preserved in the constructed object.
Calls MR_Vector_int_Construct().
| meshlib.Vector_int.Vector_int | ( | long | size, |
| int | val ) |
creates a vector with size elements with the given value Generated from constructor MR::Vector<int>::Vector. The reference to the parameter size might be preserved in the constructed object. The reference to the parameter val might be preserved in the constructed object.
Calls MR_Vector_int_Construct_fill().
| void meshlib.Vector_int.assign | ( | long | count, |
| int | val ) |
replaces the contents with count copies of val Generated from method MR::Vector<int>::assign. The reference to things referred to by the parameter val (if any) might be preserved in this object.
Calls MR_Vector_int_assign().
| meshlib.Vector_int meshlib.Vector_int.assignFromAnother | ( | meshlib.Vector_int | _other | ) |
Generated from method MR::Vector<int>::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Vector_int_AssignFromAnother().
| java.lang.foreign.MemorySegment meshlib.Vector_int.autoResizeAt | ( | long | i | ) |
this accessor automatically adjusts the size of the vector Generated from method MR::Vector<int>::autoResizeAt.
Calls MR_Vector_int_autoResizeAt(). Some types are raw C types, see the C bindings for the details.
| void meshlib.Vector_int.autoResizeSet | ( | long | i, |
| int | val ) |
sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::Vector<int>::autoResizeSet.
Calls MR_Vector_int_autoResizeSet_2().
| void meshlib.Vector_int.autoResizeSet | ( | long | pos, |
| long | len, | ||
| int | val ) |
sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements; the elements in between old size and pos are also set to val (for faster implementation) Generated from method MR::Vector<int>::autoResizeSet.
Calls MR_Vector_int_autoResizeSet_3().
| int meshlib.Vector_int.back | ( | ) |
Generated from method MR::Vector<int>::back. The reference to this object might be preserved in the return value.
Calls MR_Vector_int_back().
| java.lang.foreign.MemorySegment meshlib.Vector_int.back_mut | ( | ) |
Generated from method MR::Vector<int>::back. The reference to this object might be preserved in the return value.
Calls MR_Vector_int_back_mut(). Some types are raw C types, see the C bindings for the details.
| long meshlib.Vector_int.backId | ( | ) |
returns the identifier of the back() element Generated from method MR::Vector<int>::backId.
Calls MR_Vector_int_backId().
| long meshlib.Vector_int.beginId | ( | ) |
returns the identifier of the first element Generated from method MR::Vector<int>::beginId.
Calls MR_Vector_int_beginId().
| long meshlib.Vector_int.capacity | ( | ) |
Generated from method MR::Vector<int>::capacity.
Calls MR_Vector_int_capacity().
| void meshlib.Vector_int.clear | ( | ) |
Generated from method MR::Vector<int>::clear.
Calls MR_Vector_int_clear().
| java.lang.Integer meshlib.Vector_int.data | ( | ) |
Generated from method MR::Vector<int>::data. The reference to this object might be preserved in the return value.
Calls MR_Vector_int_data().
| java.lang.foreign.MemorySegment meshlib.Vector_int.data_mut | ( | ) |
Generated from method MR::Vector<int>::data. The reference to this object might be preserved in the return value.
Calls MR_Vector_int_data_mut(). Some types are raw C types, see the C bindings for the details.
| boolean meshlib.Vector_int.empty | ( | ) |
Generated from method MR::Vector<int>::empty.
Calls MR_Vector_int_empty().
| long meshlib.Vector_int.endId | ( | ) |
returns backId() + 1 Generated from method MR::Vector<int>::endId.
Calls MR_Vector_int_endId().
| int meshlib.Vector_int.front | ( | ) |
Generated from method MR::Vector<int>::front. The reference to this object might be preserved in the return value.
Calls MR_Vector_int_front().
| java.lang.foreign.MemorySegment meshlib.Vector_int.front_mut | ( | ) |
Generated from method MR::Vector<int>::front. The reference to this object might be preserved in the return value.
Calls MR_Vector_int_front_mut(). Some types are raw C types, see the C bindings for the details.
| long meshlib.Vector_int.heapBytes | ( | ) |
returns the amount of memory this object occupies on heap Generated from method MR::Vector<int>::heapBytes.
Calls MR_Vector_int_heapBytes().
| int meshlib.Vector_int.index | ( | long | i | ) |
Generated from method MR::Vector<int>::operator[]. The reference to this object might be preserved in the return value.
Calls MR_Vector_int_index().
| java.lang.foreign.MemorySegment meshlib.Vector_int.index_mut | ( | long | i | ) |
Generated from method MR::Vector<int>::operator[]. The reference to this object might be preserved in the return value.
Calls MR_Vector_int_index_mut(). Some types are raw C types, see the C bindings for the details.
| long meshlib.Vector_int.max_size | ( | ) |
Generated from method MR::Vector<int>::max_size.
Calls MR_Vector_int_max_size().
| boolean meshlib.Vector_int.opEqual | ( | meshlib.Vector_int | b | ) |
Generated from method MR::Vector<int>::operator==.
Calls MR_equal_MR_Vector_int().
| boolean meshlib.Vector_int.opNotEqual | ( | meshlib.Vector_int | b | ) |
Generated from method MR::Vector<int>::operator!=.
Calls MR_not_equal_MR_Vector_int().
| void meshlib.Vector_int.pop_back | ( | ) |
Generated from method MR::Vector<int>::pop_back.
Calls MR_Vector_int_pop_back().
| void meshlib.Vector_int.push_back_const_int_ref | ( | int | t | ) |
Generated from method MR::Vector<int>::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.
Calls MR_Vector_int_push_back_const_int_ref().
| void meshlib.Vector_int.push_back_int_rvalue_ref | ( | int | t | ) |
Generated from method MR::Vector<int>::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.
Calls MR_Vector_int_push_back_int_rvalue_ref().
| void meshlib.Vector_int.reserve | ( | long | capacity | ) |
Generated from method MR::Vector<int>::reserve.
Calls MR_Vector_int_reserve().
| void meshlib.Vector_int.resize | ( | long | newSize | ) |
Generated from method MR::Vector<int>::resize.
Calls MR_Vector_int_resize_1().
| void meshlib.Vector_int.resize | ( | long | newSize, |
| int | t ) |
Generated from method MR::Vector<int>::resize.
Calls MR_Vector_int_resize_2().
| void meshlib.Vector_int.resizeWithReserve | ( | long | newSize | ) |
same as resize(newSize), which already grows the capacity geometrically Generated from method MR::Vector<int>::resizeWithReserve.
Calls MR_Vector_int_resizeWithReserve_1().
| void meshlib.Vector_int.resizeWithReserve | ( | long | newSize, |
| int | value ) |
same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::Vector<int>::resizeWithReserve.
Calls MR_Vector_int_resizeWithReserve_2().
| void meshlib.Vector_int.setVec | ( | meshlib.std_vector_int_MR_Allocator_int | value | ) |
The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::Vector<int> named vec. The reference to the parameter value might be preserved in this object in element vec.
Calls MR_Vector_int_Set_vec().
| void meshlib.Vector_int.shrink_to_fit | ( | ) |
Generated from method MR::Vector<int>::shrink_to_fit.
Calls MR_Vector_int_shrink_to_fit().
| long meshlib.Vector_int.size | ( | ) |
Generated from method MR::Vector<int>::size.
Calls MR_Vector_int_size().
| void meshlib.Vector_int.swap | ( | meshlib.Vector_int | b | ) |
Generated from method MR::Vector<int>::swap.
Calls MR_Vector_int_swap().
| meshlib.std_vector_int_MR_Allocator_int meshlib.Vector_int.vec | ( | ) |
The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::Vector<int> named vec. The reference to this object might be preserved as the return value.
Calls MR_Vector_int_Get_vec().