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<std::shared_ptr<MR::ObjectMesh>>.
Instances created here own their C++ objects, see CppObject.
| meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.std_vector_std_shared_ptr_MR_ObjectMesh | ( | 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_std_shared_ptr_MR_ObjectMesh.std_vector_std_shared_ptr_MR_ObjectMesh | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_std_vector_std_shared_ptr_MR_ObjectMesh_DefaultConstruct().
| meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.std_vector_std_shared_ptr_MR_ObjectMesh | ( | meshlib.std_vector_std_shared_ptr_MR_ObjectMesh | 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_std_shared_ptr_MR_ObjectMesh_ConstructFromAnother().
| void meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.assignFromAnother | ( | meshlib.std_vector_std_shared_ptr_MR_ObjectMesh | 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_std_shared_ptr_MR_ObjectMesh_AssignFromAnother().
| meshlib.std_shared_ptr_MR_ObjectMesh meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.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_std_shared_ptr_MR_ObjectMesh_at().
| meshlib.std_shared_ptr_MR_ObjectMesh meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.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_std_shared_ptr_MR_ObjectMesh_at_mut().
| meshlib.std_shared_ptr_MR_ObjectMesh meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.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_std_shared_ptr_MR_ObjectMesh_back().
| meshlib.std_shared_ptr_MR_ObjectMesh meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.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_std_shared_ptr_MR_ObjectMesh_back_mut().
| void meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.clear | ( | ) |
Removes all elements from the container.
Calls MR_std_vector_std_shared_ptr_MR_ObjectMesh_clear().
| boolean meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.empty | ( | ) |
Returns true if the size is zero.
Calls MR_std_vector_std_shared_ptr_MR_ObjectMesh_empty().
| void meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.erase | ( | long | position | ) |
Erases the element at the specified position.
Calls MR_std_vector_std_shared_ptr_MR_ObjectMesh_erase().
| meshlib.std_shared_ptr_MR_ObjectMesh meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.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_std_shared_ptr_MR_ObjectMesh_front().
| meshlib.std_shared_ptr_MR_ObjectMesh meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.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_std_shared_ptr_MR_ObjectMesh_front_mut().
| void meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.insert | ( | long | position, |
| meshlib.std_shared_ptr_MR_ObjectMesh | 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_std_shared_ptr_MR_ObjectMesh_insert().
| void meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.pop_back | ( | ) |
Removes one element from the end.
Calls MR_std_vector_std_shared_ptr_MR_ObjectMesh_pop_back().
| void meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.push_back | ( | meshlib.std_shared_ptr_MR_ObjectMesh | 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_std_shared_ptr_MR_ObjectMesh_push_back().
| void meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.reserve | ( | long | new_capacity | ) |
Reserves memory for a certain number of elements. Never shrinks the memory.
Calls MR_std_vector_std_shared_ptr_MR_ObjectMesh_reserve().
| void meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.resize | ( | long | new_size | ) |
Resizes the container. The new elements if any are zeroed.
Calls MR_std_vector_std_shared_ptr_MR_ObjectMesh_resize().
| long meshlib.std_vector_std_shared_ptr_MR_ObjectMesh.size | ( | ) |
The number of elements.
Calls MR_std_vector_std_shared_ptr_MR_ObjectMesh_size().