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::ObjMap.
Instances created here own their C++ objects, see CppObject.
| meshlib.ObjMap.ObjMap | ( | 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.ObjMap.ObjMap | ( | ) |
creates empty vector
Calls MR_ObjMap_DefaultConstruct().
| meshlib.ObjMap.ObjMap | ( | meshlib.ObjMap | _other | ) |
Generated from constructor MR::ObjMap::ObjMap. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_ObjMap_ConstructFromAnother().
| meshlib.ObjMap.ObjMap | ( | long | size | ) |
creates a vector with size elements with default value Generated from constructor MR::ObjMap::ObjMap. The reference to the parameter size might be preserved in the constructed object.
Calls MR_ObjMap_Construct().
| meshlib.ObjMap.ObjMap | ( | long | size, |
| meshlib.ObjId | val ) |
creates a vector with size elements with the given value Generated from constructor MR::ObjMap::ObjMap. 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_ObjMap_Construct_fill().
| void meshlib.ObjMap.assign | ( | long | count, |
| meshlib.ObjId | val ) |
replaces the contents with count copies of val Generated from method MR::ObjMap::assign. The reference to things referred to by the parameter val (if any) might be preserved in this object.
Calls MR_ObjMap_assign().
| meshlib.ObjMap meshlib.ObjMap.assignFromAnother | ( | meshlib.ObjMap | _other | ) |
Generated from method MR::ObjMap::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_ObjMap_AssignFromAnother().
| meshlib.ObjId meshlib.ObjMap.autoResizeAt | ( | meshlib.ObjId | i | ) |
this accessor automatically adjusts the size of the vector Generated from method MR::ObjMap::autoResizeAt.
Calls MR_ObjMap_autoResizeAt().
| void meshlib.ObjMap.autoResizeSet | ( | meshlib.ObjId | i, |
| meshlib.ObjId | val ) |
sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::ObjMap::autoResizeSet.
Calls MR_ObjMap_autoResizeSet_2().
| void meshlib.ObjMap.autoResizeSet | ( | meshlib.ObjId | pos, |
| long | len, | ||
| meshlib.ObjId | 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::ObjMap::autoResizeSet.
Calls MR_ObjMap_autoResizeSet_3().
| meshlib.ObjId meshlib.ObjMap.back | ( | ) |
Generated from method MR::ObjMap::back. The reference to this object might be preserved in the return value.
Calls MR_ObjMap_back().
| meshlib.ObjId meshlib.ObjMap.back_mut | ( | ) |
Generated from method MR::ObjMap::back. The reference to this object might be preserved in the return value.
Calls MR_ObjMap_back_mut().
| meshlib.ObjId meshlib.ObjMap.backId | ( | ) |
returns the identifier of the back() element Generated from method MR::ObjMap::backId.
Calls MR_ObjMap_backId().
| meshlib.ObjId meshlib.ObjMap.beginId | ( | ) |
returns the identifier of the first element Generated from method MR::ObjMap::beginId.
Calls MR_ObjMap_beginId().
| long meshlib.ObjMap.capacity | ( | ) |
Generated from method MR::ObjMap::capacity.
Calls MR_ObjMap_capacity().
| void meshlib.ObjMap.clear | ( | ) |
Generated from method MR::ObjMap::clear.
Calls MR_ObjMap_clear().
| meshlib.ObjId meshlib.ObjMap.data | ( | ) |
Generated from method MR::ObjMap::data. The reference to this object might be preserved in the return value.
Calls MR_ObjMap_data().
| meshlib.ObjId meshlib.ObjMap.data_mut | ( | ) |
Generated from method MR::ObjMap::data. The reference to this object might be preserved in the return value.
Calls MR_ObjMap_data_mut().
| boolean meshlib.ObjMap.empty | ( | ) |
Generated from method MR::ObjMap::empty.
Calls MR_ObjMap_empty().
| meshlib.ObjId meshlib.ObjMap.endId | ( | ) |
returns backId() + 1 Generated from method MR::ObjMap::endId.
Calls MR_ObjMap_endId().
| meshlib.ObjId meshlib.ObjMap.front | ( | ) |
Generated from method MR::ObjMap::front. The reference to this object might be preserved in the return value.
Calls MR_ObjMap_front().
| meshlib.ObjId meshlib.ObjMap.front_mut | ( | ) |
Generated from method MR::ObjMap::front. The reference to this object might be preserved in the return value.
Calls MR_ObjMap_front_mut().
| long meshlib.ObjMap.heapBytes | ( | ) |
returns the amount of memory this object occupies on heap Generated from method MR::ObjMap::heapBytes.
Calls MR_ObjMap_heapBytes().
| meshlib.ObjId meshlib.ObjMap.index | ( | meshlib.ObjId | i | ) |
Generated from method MR::ObjMap::operator[]. The reference to this object might be preserved in the return value.
Calls MR_ObjMap_index().
| meshlib.ObjId meshlib.ObjMap.index_mut | ( | meshlib.ObjId | i | ) |
Generated from method MR::ObjMap::operator[]. The reference to this object might be preserved in the return value.
Calls MR_ObjMap_index_mut().
| long meshlib.ObjMap.max_size | ( | ) |
Generated from method MR::ObjMap::max_size.
Calls MR_ObjMap_max_size().
| boolean meshlib.ObjMap.opEqual | ( | meshlib.ObjMap | b | ) |
Generated from method MR::ObjMap::operator==.
Calls MR_equal_MR_ObjMap().
| boolean meshlib.ObjMap.opNotEqual | ( | meshlib.ObjMap | b | ) |
Generated from method MR::ObjMap::operator!=.
Calls MR_not_equal_MR_ObjMap().
| void meshlib.ObjMap.pop_back | ( | ) |
Generated from method MR::ObjMap::pop_back.
Calls MR_ObjMap_pop_back().
| void meshlib.ObjMap.push_back_const_MR_ObjId_ref | ( | meshlib.ObjId | t | ) |
Generated from method MR::ObjMap::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.
Calls MR_ObjMap_push_back_const_MR_ObjId_ref().
| void meshlib.ObjMap.push_back_MR_ObjId_rvalue_ref | ( | meshlib.ObjId | t | ) |
Generated from method MR::ObjMap::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.
Calls MR_ObjMap_push_back_MR_ObjId_rvalue_ref().
| void meshlib.ObjMap.reserve | ( | long | capacity | ) |
Generated from method MR::ObjMap::reserve.
Calls MR_ObjMap_reserve().
| void meshlib.ObjMap.resize | ( | long | newSize | ) |
Generated from method MR::ObjMap::resize.
Calls MR_ObjMap_resize_1().
| void meshlib.ObjMap.resize | ( | long | newSize, |
| meshlib.ObjId | t ) |
Generated from method MR::ObjMap::resize.
Calls MR_ObjMap_resize_2().
| void meshlib.ObjMap.resizeNoInit | ( | long | targetSize, |
| meshlib.ReserveMode | mode ) |
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor ) Generated from method MR::ObjMap::resizeNoInit.
Calls MR_ObjMap_resizeNoInit().
| void meshlib.ObjMap.resizeWithReserve | ( | long | newSize | ) |
same as resize(newSize), which already grows the capacity geometrically Generated from method MR::ObjMap::resizeWithReserve.
Calls MR_ObjMap_resizeWithReserve_1().
| void meshlib.ObjMap.resizeWithReserve | ( | long | newSize, |
| meshlib.ObjId | value ) |
same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::ObjMap::resizeWithReserve.
Calls MR_ObjMap_resizeWithReserve_2().
| void meshlib.ObjMap.setVec | ( | meshlib.std_vector_MR_ObjId_MR_Allocator_MR_ObjId | value | ) |
The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::ObjMap named vec. The reference to the parameter value might be preserved in this object in element vec.
Calls MR_ObjMap_Set_vec().
| void meshlib.ObjMap.shrink_to_fit | ( | ) |
Generated from method MR::ObjMap::shrink_to_fit.
Calls MR_ObjMap_shrink_to_fit().
| long meshlib.ObjMap.size | ( | ) |
Generated from method MR::ObjMap::size.
Calls MR_ObjMap_size().
| void meshlib.ObjMap.swap | ( | meshlib.ObjMap | b | ) |
Generated from method MR::ObjMap::swap.
Calls MR_ObjMap_swap().
| meshlib.std_vector_MR_ObjId_MR_Allocator_MR_ObjId meshlib.ObjMap.vec | ( | ) |
The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::ObjMap named vec. The reference to this object might be preserved as the return value.
Calls MR_ObjMap_Get_vec().