Public Member Functions | |
| std_vector_size_t (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| std_vector_size_t () | |
| std_vector_size_t (meshlib.std_vector_size_t other) | |
| void | assignFromAnother (meshlib.std_vector_size_t other) |
| long | size () |
| boolean | empty () |
| void | resize (long new_size) |
| void | clear () |
| void | reserve (long new_capacity) |
| long | at (long i) |
| java.lang.foreign.MemorySegment | at_mut (long i) |
| java.lang.Long | front () |
| java.lang.foreign.MemorySegment | front_mut () |
| java.lang.Long | back () |
| java.lang.foreign.MemorySegment | back_mut () |
| java.lang.foreign.MemorySegment | data () |
| java.lang.foreign.MemorySegment | data_mut () |
| void | push_back (long new_elem) |
| void | pop_back () |
| void | insert (long position, long new_elem) |
| void | erase (long position) |
| 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) | |
Generated from C++ container std::vector<size_t>.
Instances created here own their C++ objects, see CppObject.
| meshlib.std_vector_size_t.std_vector_size_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.std_vector_size_t.std_vector_size_t | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_std_vector_size_t_DefaultConstruct().
| meshlib.std_vector_size_t.std_vector_size_t | ( | meshlib.std_vector_size_t | other | ) |
Constructs a copy of another instance. The source remains alive. The reference to the parameter other might be preserved in the constructed object.
Calls MR_std_vector_size_t_ConstructFromAnother().
| void meshlib.std_vector_size_t.assignFromAnother | ( | meshlib.std_vector_size_t | other | ) |
Assigns the contents from another instance. Both objects remain alive after the call. The reference to the parameter other might be preserved in this object.
Calls MR_std_vector_size_t_AssignFromAnother().
| long meshlib.std_vector_size_t.at | ( | long | i | ) |
The element at a specific index, read-only. The reference to this object might be preserved as the return value.
Calls MR_std_vector_size_t_at().
| java.lang.foreign.MemorySegment meshlib.std_vector_size_t.at_mut | ( | long | i | ) |
The element at a specific index, mutable. The reference to this object might be preserved as the return value.
Calls MR_std_vector_size_t_at_mut(). Some types are raw C types, see the C bindings for the details.
| java.lang.Long meshlib.std_vector_size_t.back | ( | ) |
The last element or null if empty, read-only. The reference to this object might be preserved as the return value.
Calls MR_std_vector_size_t_back().
| java.lang.foreign.MemorySegment meshlib.std_vector_size_t.back_mut | ( | ) |
The last element or null if empty, mutable. The reference to this object might be preserved as the return value.
Calls MR_std_vector_size_t_back_mut(). Some types are raw C types, see the C bindings for the details.
| void meshlib.std_vector_size_t.clear | ( | ) |
Removes all elements from the container.
Calls MR_std_vector_size_t_clear().
| java.lang.foreign.MemorySegment meshlib.std_vector_size_t.data | ( | ) |
Returns a pointer to the continuous storage that holds all elements, read-only. The reference to this object might be preserved as the return value.
Calls MR_std_vector_size_t_data(). Some types are raw C types, see the C bindings for the details.
| java.lang.foreign.MemorySegment meshlib.std_vector_size_t.data_mut | ( | ) |
Returns a pointer to the continuous storage that holds all elements, mutable. The reference to this object might be preserved as the return value.
Calls MR_std_vector_size_t_data_mut(). Some types are raw C types, see the C bindings for the details.
| boolean meshlib.std_vector_size_t.empty | ( | ) |
Returns true if the size is zero.
Calls MR_std_vector_size_t_empty().
| void meshlib.std_vector_size_t.erase | ( | long | position | ) |
Erases the element at the specified position.
Calls MR_std_vector_size_t_erase().
| java.lang.Long meshlib.std_vector_size_t.front | ( | ) |
The first element or null if empty, read-only. The reference to this object might be preserved as the return value.
Calls MR_std_vector_size_t_front().
| java.lang.foreign.MemorySegment meshlib.std_vector_size_t.front_mut | ( | ) |
The first element or null if empty, mutable. The reference to this object might be preserved as the return value.
Calls MR_std_vector_size_t_front_mut(). Some types are raw C types, see the C bindings for the details.
| void meshlib.std_vector_size_t.insert | ( | long | position, |
| long | new_elem ) |
Inserts a new element right before the specified position. The reference to the parameter new_elem might be preserved in this object.
Calls MR_std_vector_size_t_insert().
| void meshlib.std_vector_size_t.pop_back | ( | ) |
Removes one element from the end.
Calls MR_std_vector_size_t_pop_back().
| void meshlib.std_vector_size_t.push_back | ( | long | new_elem | ) |
Inserts a new element at the end. The reference to the parameter new_elem might be preserved in this object.
Calls MR_std_vector_size_t_push_back().
| void meshlib.std_vector_size_t.reserve | ( | long | new_capacity | ) |
Reserves memory for a certain number of elements. Never shrinks the memory.
Calls MR_std_vector_size_t_reserve().
| void meshlib.std_vector_size_t.resize | ( | long | new_size | ) |
Resizes the container. The new elements if any are zeroed.
Calls MR_std_vector_size_t_resize().
| long meshlib.std_vector_size_t.size | ( | ) |
The number of elements.
Calls MR_std_vector_size_t_size().