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

Public Member Functions

 Vector_MR_GraphEdgeId_MR_GraphEdgeId (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Vector_MR_GraphEdgeId_MR_GraphEdgeId ()
 Vector_MR_GraphEdgeId_MR_GraphEdgeId (meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId _other)
 Vector_MR_GraphEdgeId_MR_GraphEdgeId (long size)
 Vector_MR_GraphEdgeId_MR_GraphEdgeId (long size, meshlib.GraphEdgeId val)
meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId assignFromAnother (meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId _other)
void assign (long count, meshlib.GraphEdgeId val)
boolean opEqual (meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId b)
boolean opNotEqual (meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId b)
void clear ()
boolean empty ()
long size ()
long max_size ()
void resize (long newSize)
void resize (long newSize, meshlib.GraphEdgeId t)
void resizeNoInit (long targetSize, meshlib.ReserveMode mode)
long capacity ()
void reserve (long capacity)
void shrink_to_fit ()
meshlib.GraphEdgeId index (meshlib.GraphEdgeId i)
meshlib.GraphEdgeId index_mut (meshlib.GraphEdgeId i)
void resizeWithReserve (long newSize)
void resizeWithReserve (long newSize, meshlib.GraphEdgeId value)
void autoResizeSet (meshlib.GraphEdgeId pos, long len, meshlib.GraphEdgeId val)
void autoResizeSet (meshlib.GraphEdgeId i, meshlib.GraphEdgeId val)
meshlib.GraphEdgeId autoResizeAt (meshlib.GraphEdgeId i)
void push_back_const_MR_GraphEdgeId_ref (meshlib.GraphEdgeId t)
void push_back_MR_GraphEdgeId_rvalue_ref (meshlib.GraphEdgeId t)
void pop_back ()
meshlib.GraphEdgeId front ()
meshlib.GraphEdgeId front_mut ()
meshlib.GraphEdgeId back ()
meshlib.GraphEdgeId back_mut ()
meshlib.GraphEdgeId beginId ()
meshlib.GraphEdgeId backId ()
meshlib.GraphEdgeId endId ()
meshlib.GraphEdgeId data_mut ()
meshlib.GraphEdgeId data ()
void swap (meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId b)
long heapBytes ()
meshlib.std_vector_MR_GraphEdgeId_MR_Allocator_MR_GraphEdgeId vec ()
void setVec (meshlib.std_vector_MR_GraphEdgeId_MR_Allocator_MR_GraphEdgeId 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::GraphEdgeId, MR::GraphEdgeId>.

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

Constructor & Destructor Documentation

◆ Vector_MR_GraphEdgeId_MR_GraphEdgeId() [1/5]

meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.Vector_MR_GraphEdgeId_MR_GraphEdgeId ( 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_GraphEdgeId_MR_GraphEdgeId() [2/5]

meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.Vector_MR_GraphEdgeId_MR_GraphEdgeId ( )

creates empty vector

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_DefaultConstruct().

◆ Vector_MR_GraphEdgeId_MR_GraphEdgeId() [3/5]

meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.Vector_MR_GraphEdgeId_MR_GraphEdgeId ( meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId _other)

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_ConstructFromAnother().

◆ Vector_MR_GraphEdgeId_MR_GraphEdgeId() [4/5]

meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.Vector_MR_GraphEdgeId_MR_GraphEdgeId ( long size)

creates a vector with size elements with default value Generated from constructor MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::Vector. The reference to the parameter size might be preserved in the constructed object.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_Construct().

◆ Vector_MR_GraphEdgeId_MR_GraphEdgeId() [5/5]

meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.Vector_MR_GraphEdgeId_MR_GraphEdgeId ( long size,
meshlib.GraphEdgeId val )

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

Member Function Documentation

◆ assign()

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.assign ( long count,
meshlib.GraphEdgeId val )

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_assign().

◆ assignFromAnother()

meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.assignFromAnother ( meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId _other)

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_AssignFromAnother().

◆ autoResizeAt()

meshlib.GraphEdgeId meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.autoResizeAt ( meshlib.GraphEdgeId i)

this accessor automatically adjusts the size of the vector Generated from method MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::autoResizeAt.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.autoResizeSet ( meshlib.GraphEdgeId i,
meshlib.GraphEdgeId 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::GraphEdgeId, MR::GraphEdgeId>::autoResizeSet.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.autoResizeSet ( meshlib.GraphEdgeId pos,
long len,
meshlib.GraphEdgeId 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::GraphEdgeId, MR::GraphEdgeId>::autoResizeSet.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_autoResizeSet_3().

◆ back()

meshlib.GraphEdgeId meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.back ( )

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_back().

◆ back_mut()

meshlib.GraphEdgeId meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.back_mut ( )

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_back_mut().

◆ backId()

meshlib.GraphEdgeId meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.backId ( )

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_backId().

◆ beginId()

meshlib.GraphEdgeId meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.beginId ( )

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_beginId().

◆ capacity()

long meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.capacity ( )

Generated from method MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::capacity.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_capacity().

◆ clear()

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.clear ( )

Generated from method MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::clear.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_clear().

◆ data()

meshlib.GraphEdgeId meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.data ( )

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_data().

◆ data_mut()

meshlib.GraphEdgeId meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.data_mut ( )

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_data_mut().

◆ empty()

boolean meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.empty ( )

Generated from method MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::empty.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_empty().

◆ endId()

meshlib.GraphEdgeId meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.endId ( )

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_endId().

◆ front()

meshlib.GraphEdgeId meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.front ( )

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_front().

◆ front_mut()

meshlib.GraphEdgeId meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.front_mut ( )

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_front_mut().

◆ heapBytes()

long meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.heapBytes ( )

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_heapBytes().

◆ index()

meshlib.GraphEdgeId meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.index ( meshlib.GraphEdgeId i)

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_index().

◆ index_mut()

meshlib.GraphEdgeId meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.index_mut ( meshlib.GraphEdgeId i)

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_index_mut().

◆ max_size()

long meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.max_size ( )

Generated from method MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::max_size.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_max_size().

◆ opEqual()

boolean meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.opEqual ( meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId b)

Generated from method MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::operator==.

Calls MR_equal_MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId().

◆ opNotEqual()

boolean meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.opNotEqual ( meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId b)

Generated from method MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::operator!=.

Calls MR_not_equal_MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId().

◆ pop_back()

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.pop_back ( )

Generated from method MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::pop_back.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_pop_back().

◆ push_back_const_MR_GraphEdgeId_ref()

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.push_back_const_MR_GraphEdgeId_ref ( meshlib.GraphEdgeId t)

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_push_back_const_MR_GraphEdgeId_ref().

◆ push_back_MR_GraphEdgeId_rvalue_ref()

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.push_back_MR_GraphEdgeId_rvalue_ref ( meshlib.GraphEdgeId t)

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_push_back_MR_GraphEdgeId_rvalue_ref().

◆ reserve()

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.reserve ( long capacity)

Generated from method MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::reserve.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_reserve().

◆ resize() [1/2]

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.resize ( long newSize)

Generated from method MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::resize.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_resize_1().

◆ resize() [2/2]

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.resize ( long newSize,
meshlib.GraphEdgeId t )

Generated from method MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::resize.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_resize_2().

◆ resizeNoInit()

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.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::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::resizeNoInit.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_resizeNoInit().

◆ resizeWithReserve() [1/2]

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.resizeWithReserve ( long newSize)

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.resizeWithReserve ( long newSize,
meshlib.GraphEdgeId value )

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_resizeWithReserve_2().

◆ setVec()

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.setVec ( meshlib.std_vector_MR_GraphEdgeId_MR_Allocator_MR_GraphEdgeId value)

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

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_Set_vec().

◆ shrink_to_fit()

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.shrink_to_fit ( )

Generated from method MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::shrink_to_fit.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_shrink_to_fit().

◆ size()

long meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.size ( )

Generated from method MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::size.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_size().

◆ swap()

void meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.swap ( meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId b)

Generated from method MR::Vector<MR::GraphEdgeId, MR::GraphEdgeId>::swap.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_swap().

◆ vec()

meshlib.std_vector_MR_GraphEdgeId_MR_Allocator_MR_GraphEdgeId meshlib.Vector_MR_GraphEdgeId_MR_GraphEdgeId.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::GraphEdgeId, MR::GraphEdgeId> named vec. The reference to this object might be preserved as the return value.

Calls MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId_Get_vec().


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