MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId Class Reference
Inheritance diagram for meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId:

Public Member Functions

 Vector_MR_MeshOrPointsXf_MR_ObjId (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Vector_MR_MeshOrPointsXf_MR_ObjId ()
 Vector_MR_MeshOrPointsXf_MR_ObjId (meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId _other)
 Vector_MR_MeshOrPointsXf_MR_ObjId (long size, meshlib.MeshOrPointsXf val)
meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId assignFromAnother (meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId _other)
void assign (long count, meshlib.MeshOrPointsXf val)
void clear ()
boolean empty ()
long size ()
long max_size ()
void resize (long newSize, meshlib.MeshOrPointsXf t)
long capacity ()
void reserve (long capacity)
void shrink_to_fit ()
meshlib.MeshOrPointsXf index (meshlib.ObjId i)
meshlib.MeshOrPointsXf index_mut (meshlib.ObjId i)
void resizeWithReserve (long newSize, meshlib.MeshOrPointsXf value)
void autoResizeSet (meshlib.ObjId pos, long len, meshlib.MeshOrPointsXf val)
void autoResizeSet (meshlib.ObjId i, meshlib.MeshOrPointsXf val)
void push_back_const_MR_MeshOrPointsXf_ref (meshlib.MeshOrPointsXf t)
void push_back_MR_MeshOrPointsXf_rvalue_ref (meshlib.MeshOrPointsXf t)
void pop_back ()
meshlib.MeshOrPointsXf front ()
meshlib.MeshOrPointsXf front_mut ()
meshlib.MeshOrPointsXf back ()
meshlib.MeshOrPointsXf back_mut ()
meshlib.ObjId beginId ()
meshlib.ObjId backId ()
meshlib.ObjId endId ()
meshlib.MeshOrPointsXf data_mut ()
meshlib.MeshOrPointsXf data ()
void swap (meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId b)
long heapBytes ()
meshlib.std_vector_MR_MeshOrPointsXf_MR_Allocator_MR_MeshOrPointsXf vec ()
void setVec (meshlib.std_vector_MR_MeshOrPointsXf_MR_Allocator_MR_MeshOrPointsXf 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)

Detailed Description

Vector<T> is indexed by size_t Generated from class MR::Vector<MR::MeshOrPointsXf, MR::ObjId>.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ Vector_MR_MeshOrPointsXf_MR_ObjId() [1/4]

meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.Vector_MR_MeshOrPointsXf_MR_ObjId ( 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.

◆ Vector_MR_MeshOrPointsXf_MR_ObjId() [2/4]

meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.Vector_MR_MeshOrPointsXf_MR_ObjId ( )

creates empty vector

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_DefaultConstruct().

◆ Vector_MR_MeshOrPointsXf_MR_ObjId() [3/4]

meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.Vector_MR_MeshOrPointsXf_MR_ObjId ( meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId _other)

Generated from constructor MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::Vector. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_ConstructFromAnother().

◆ Vector_MR_MeshOrPointsXf_MR_ObjId() [4/4]

meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.Vector_MR_MeshOrPointsXf_MR_ObjId ( long size,
meshlib.MeshOrPointsXf val )

creates a vector with size elements with the given value Generated from constructor MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::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_MR_MeshOrPointsXf_MR_ObjId_Construct_fill().

Member Function Documentation

◆ assign()

void meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.assign ( long count,
meshlib.MeshOrPointsXf val )

replaces the contents with count copies of val Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::assign. The reference to things referred to by the parameter val (if any) might be preserved in this object.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_assign().

◆ assignFromAnother()

meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.assignFromAnother ( meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId _other)

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_AssignFromAnother().

◆ autoResizeSet() [1/2]

void meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.autoResizeSet ( meshlib.ObjId i,
meshlib.MeshOrPointsXf val )

sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::autoResizeSet.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.autoResizeSet ( meshlib.ObjId pos,
long len,
meshlib.MeshOrPointsXf 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<MR::MeshOrPointsXf, MR::ObjId>::autoResizeSet.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_autoResizeSet_3().

◆ back()

meshlib.MeshOrPointsXf meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.back ( )

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::back. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_back().

◆ back_mut()

meshlib.MeshOrPointsXf meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.back_mut ( )

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::back. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_back_mut().

◆ backId()

meshlib.ObjId meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.backId ( )

returns the identifier of the back() element Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::backId.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_backId().

◆ beginId()

meshlib.ObjId meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.beginId ( )

returns the identifier of the first element Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::beginId.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_beginId().

◆ capacity()

long meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.capacity ( )

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::capacity.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_capacity().

◆ clear()

void meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.clear ( )

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::clear.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_clear().

◆ data()

meshlib.MeshOrPointsXf meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.data ( )

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::data. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_data().

◆ data_mut()

meshlib.MeshOrPointsXf meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.data_mut ( )

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::data. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_data_mut().

◆ empty()

boolean meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.empty ( )

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::empty.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_empty().

◆ endId()

meshlib.ObjId meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.endId ( )

returns backId() + 1 Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::endId.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_endId().

◆ front()

meshlib.MeshOrPointsXf meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.front ( )

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::front. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_front().

◆ front_mut()

meshlib.MeshOrPointsXf meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.front_mut ( )

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::front. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_front_mut().

◆ heapBytes()

long meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.heapBytes ( )

returns the amount of memory this object occupies on heap Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::heapBytes.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_heapBytes().

◆ index()

meshlib.MeshOrPointsXf meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.index ( meshlib.ObjId i)

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::operator[]. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_index().

◆ index_mut()

meshlib.MeshOrPointsXf meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.index_mut ( meshlib.ObjId i)

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::operator[]. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_index_mut().

◆ max_size()

long meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.max_size ( )

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::max_size.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_max_size().

◆ pop_back()

void meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.pop_back ( )

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::pop_back.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_pop_back().

◆ push_back_const_MR_MeshOrPointsXf_ref()

void meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.push_back_const_MR_MeshOrPointsXf_ref ( meshlib.MeshOrPointsXf t)

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_push_back_const_MR_MeshOrPointsXf_ref().

◆ push_back_MR_MeshOrPointsXf_rvalue_ref()

void meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.push_back_MR_MeshOrPointsXf_rvalue_ref ( meshlib.MeshOrPointsXf t)

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_push_back_MR_MeshOrPointsXf_rvalue_ref().

◆ reserve()

void meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.reserve ( long capacity)

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::reserve.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_reserve().

◆ resize()

void meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.resize ( long newSize,
meshlib.MeshOrPointsXf t )

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::resize.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_resize().

◆ resizeWithReserve()

void meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.resizeWithReserve ( long newSize,
meshlib.MeshOrPointsXf value )

same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::resizeWithReserve.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_resizeWithReserve().

◆ setVec()

void meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.setVec ( meshlib.std_vector_MR_MeshOrPointsXf_MR_Allocator_MR_MeshOrPointsXf value)

The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::Vector<MR::MeshOrPointsXf, MR::ObjId> named vec. The reference to the parameter value might be preserved in this object in element vec.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_Set_vec().

◆ shrink_to_fit()

void meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.shrink_to_fit ( )

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::shrink_to_fit.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_shrink_to_fit().

◆ size()

long meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.size ( )

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::size.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_size().

◆ swap()

void meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.swap ( meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId b)

Generated from method MR::Vector<MR::MeshOrPointsXf, MR::ObjId>::swap.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_swap().

◆ vec()

meshlib.std_vector_MR_MeshOrPointsXf_MR_Allocator_MR_MeshOrPointsXf meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId.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<MR::MeshOrPointsXf, MR::ObjId> named vec. The reference to this object might be preserved as the return value.

Calls MR_Vector_MR_MeshOrPointsXf_MR_ObjId_Get_vec().


The documentation for this class was generated from the following file: