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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ Vector_MR_GraphVertId_MR_GraphVertId() [1/5]

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

meshlib.Vector_MR_GraphVertId_MR_GraphVertId.Vector_MR_GraphVertId_MR_GraphVertId ( )

creates empty vector

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_DefaultConstruct().

◆ Vector_MR_GraphVertId_MR_GraphVertId() [3/5]

meshlib.Vector_MR_GraphVertId_MR_GraphVertId.Vector_MR_GraphVertId_MR_GraphVertId ( meshlib.Vector_MR_GraphVertId_MR_GraphVertId _other)

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_ConstructFromAnother().

◆ Vector_MR_GraphVertId_MR_GraphVertId() [4/5]

meshlib.Vector_MR_GraphVertId_MR_GraphVertId.Vector_MR_GraphVertId_MR_GraphVertId ( long size)

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_Construct().

◆ Vector_MR_GraphVertId_MR_GraphVertId() [5/5]

meshlib.Vector_MR_GraphVertId_MR_GraphVertId.Vector_MR_GraphVertId_MR_GraphVertId ( long size,
meshlib.GraphVertId val )

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

Member Function Documentation

◆ assign()

void meshlib.Vector_MR_GraphVertId_MR_GraphVertId.assign ( long count,
meshlib.GraphVertId val )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_assign().

◆ assignFromAnother()

meshlib.Vector_MR_GraphVertId_MR_GraphVertId meshlib.Vector_MR_GraphVertId_MR_GraphVertId.assignFromAnother ( meshlib.Vector_MR_GraphVertId_MR_GraphVertId _other)

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_AssignFromAnother().

◆ autoResizeAt()

meshlib.GraphVertId meshlib.Vector_MR_GraphVertId_MR_GraphVertId.autoResizeAt ( meshlib.GraphVertId i)

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_autoResizeAt().

◆ autoResizeSet() [1/2]

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_autoResizeSet_2().

◆ autoResizeSet() [2/2]

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_autoResizeSet_3().

◆ back()

meshlib.GraphVertId meshlib.Vector_MR_GraphVertId_MR_GraphVertId.back ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_back().

◆ back_mut()

meshlib.GraphVertId meshlib.Vector_MR_GraphVertId_MR_GraphVertId.back_mut ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_back_mut().

◆ backId()

meshlib.GraphVertId meshlib.Vector_MR_GraphVertId_MR_GraphVertId.backId ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_backId().

◆ beginId()

meshlib.GraphVertId meshlib.Vector_MR_GraphVertId_MR_GraphVertId.beginId ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_beginId().

◆ capacity()

long meshlib.Vector_MR_GraphVertId_MR_GraphVertId.capacity ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_capacity().

◆ clear()

void meshlib.Vector_MR_GraphVertId_MR_GraphVertId.clear ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_clear().

◆ data()

meshlib.GraphVertId meshlib.Vector_MR_GraphVertId_MR_GraphVertId.data ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_data().

◆ data_mut()

meshlib.GraphVertId meshlib.Vector_MR_GraphVertId_MR_GraphVertId.data_mut ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_data_mut().

◆ empty()

boolean meshlib.Vector_MR_GraphVertId_MR_GraphVertId.empty ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_empty().

◆ endId()

meshlib.GraphVertId meshlib.Vector_MR_GraphVertId_MR_GraphVertId.endId ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_endId().

◆ front()

meshlib.GraphVertId meshlib.Vector_MR_GraphVertId_MR_GraphVertId.front ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_front().

◆ front_mut()

meshlib.GraphVertId meshlib.Vector_MR_GraphVertId_MR_GraphVertId.front_mut ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_front_mut().

◆ heapBytes()

long meshlib.Vector_MR_GraphVertId_MR_GraphVertId.heapBytes ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_heapBytes().

◆ index()

meshlib.GraphVertId meshlib.Vector_MR_GraphVertId_MR_GraphVertId.index ( meshlib.GraphVertId i)

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_index().

◆ index_mut()

meshlib.GraphVertId meshlib.Vector_MR_GraphVertId_MR_GraphVertId.index_mut ( meshlib.GraphVertId i)

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_index_mut().

◆ max_size()

long meshlib.Vector_MR_GraphVertId_MR_GraphVertId.max_size ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_max_size().

◆ opEqual()

boolean meshlib.Vector_MR_GraphVertId_MR_GraphVertId.opEqual ( meshlib.Vector_MR_GraphVertId_MR_GraphVertId b)

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

Calls MR_equal_MR_Vector_MR_GraphVertId_MR_GraphVertId().

◆ opNotEqual()

boolean meshlib.Vector_MR_GraphVertId_MR_GraphVertId.opNotEqual ( meshlib.Vector_MR_GraphVertId_MR_GraphVertId b)

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

Calls MR_not_equal_MR_Vector_MR_GraphVertId_MR_GraphVertId().

◆ pop_back()

void meshlib.Vector_MR_GraphVertId_MR_GraphVertId.pop_back ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_pop_back().

◆ push_back_const_MR_GraphVertId_ref()

void meshlib.Vector_MR_GraphVertId_MR_GraphVertId.push_back_const_MR_GraphVertId_ref ( meshlib.GraphVertId t)

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_push_back_const_MR_GraphVertId_ref().

◆ push_back_MR_GraphVertId_rvalue_ref()

void meshlib.Vector_MR_GraphVertId_MR_GraphVertId.push_back_MR_GraphVertId_rvalue_ref ( meshlib.GraphVertId t)

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_push_back_MR_GraphVertId_rvalue_ref().

◆ reserve()

void meshlib.Vector_MR_GraphVertId_MR_GraphVertId.reserve ( long capacity)

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_reserve().

◆ resize() [1/2]

void meshlib.Vector_MR_GraphVertId_MR_GraphVertId.resize ( long newSize)

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_resize_1().

◆ resize() [2/2]

void meshlib.Vector_MR_GraphVertId_MR_GraphVertId.resize ( long newSize,
meshlib.GraphVertId t )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_resize_2().

◆ resizeNoInit()

void meshlib.Vector_MR_GraphVertId_MR_GraphVertId.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::GraphVertId, MR::GraphVertId>::resizeNoInit.

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_resizeNoInit().

◆ resizeWithReserve() [1/2]

void meshlib.Vector_MR_GraphVertId_MR_GraphVertId.resizeWithReserve ( long newSize)

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.Vector_MR_GraphVertId_MR_GraphVertId.resizeWithReserve ( long newSize,
meshlib.GraphVertId value )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_resizeWithReserve_2().

◆ setVec()

void meshlib.Vector_MR_GraphVertId_MR_GraphVertId.setVec ( meshlib.std_vector_MR_GraphVertId_MR_Allocator_MR_GraphVertId value)

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_Set_vec().

◆ shrink_to_fit()

void meshlib.Vector_MR_GraphVertId_MR_GraphVertId.shrink_to_fit ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_shrink_to_fit().

◆ size()

long meshlib.Vector_MR_GraphVertId_MR_GraphVertId.size ( )

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_size().

◆ swap()

void meshlib.Vector_MR_GraphVertId_MR_GraphVertId.swap ( meshlib.Vector_MR_GraphVertId_MR_GraphVertId b)

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_swap().

◆ vec()

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

Calls MR_Vector_MR_GraphVertId_MR_GraphVertId_Get_vec().


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