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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId() [1/5]

meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.Vector_std_vector_MR_GraphEdgeId_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_std_vector_MR_GraphEdgeId_MR_GraphVertId() [2/5]

meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId ( )

creates empty vector

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_DefaultConstruct().

◆ Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId() [3/5]

meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId ( meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId _other)

Generated from constructor MR::Vector<std::vector<MR::GraphEdgeId>, 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_std_vector_MR_GraphEdgeId_MR_GraphVertId_ConstructFromAnother().

◆ Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId() [4/5]

meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId ( long size)

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_Construct().

◆ Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId() [5/5]

meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId ( long size,
meshlib.std_vector_MR_GraphEdgeId val )

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

Member Function Documentation

◆ assign()

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.assign ( long count,
meshlib.std_vector_MR_GraphEdgeId val )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_assign().

◆ assignFromAnother()

meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.assignFromAnother ( meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId _other)

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_AssignFromAnother().

◆ autoResizeAt()

meshlib.std_vector_MR_GraphEdgeId meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.autoResizeAt ( meshlib.GraphVertId i)

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.autoResizeSet ( meshlib.GraphVertId i,
meshlib.std_vector_MR_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<std::vector<MR::GraphEdgeId>, MR::GraphVertId>::autoResizeSet.

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.autoResizeSet ( meshlib.GraphVertId pos,
long len,
meshlib.std_vector_MR_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<std::vector<MR::GraphEdgeId>, MR::GraphVertId>::autoResizeSet.

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_autoResizeSet_3().

◆ back()

meshlib.std_vector_MR_GraphEdgeId meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.back ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_back().

◆ back_mut()

meshlib.std_vector_MR_GraphEdgeId meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.back_mut ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_back_mut().

◆ backId()

meshlib.GraphVertId meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.backId ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_backId().

◆ beginId()

meshlib.GraphVertId meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.beginId ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_beginId().

◆ capacity()

long meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.capacity ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_capacity().

◆ clear()

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.clear ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_clear().

◆ data()

meshlib.std_vector_MR_GraphEdgeId meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.data ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_data().

◆ data_mut()

meshlib.std_vector_MR_GraphEdgeId meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.data_mut ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_data_mut().

◆ empty()

boolean meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.empty ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_empty().

◆ endId()

meshlib.GraphVertId meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.endId ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_endId().

◆ front()

meshlib.std_vector_MR_GraphEdgeId meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.front ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_front().

◆ front_mut()

meshlib.std_vector_MR_GraphEdgeId meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.front_mut ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_front_mut().

◆ heapBytes()

long meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.heapBytes ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_heapBytes().

◆ index()

meshlib.std_vector_MR_GraphEdgeId meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.index ( meshlib.GraphVertId i)

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_index().

◆ index_mut()

meshlib.std_vector_MR_GraphEdgeId meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.index_mut ( meshlib.GraphVertId i)

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_index_mut().

◆ max_size()

long meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.max_size ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_max_size().

◆ opEqual()

boolean meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.opEqual ( meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId b)

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

Calls MR_equal_MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId().

◆ opNotEqual()

boolean meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.opNotEqual ( meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId b)

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

Calls MR_not_equal_MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId().

◆ pop_back()

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.pop_back ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_pop_back().

◆ push_back_const_std_vector_MR_GraphEdgeId_ref()

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.push_back_const_std_vector_MR_GraphEdgeId_ref ( meshlib.std_vector_MR_GraphEdgeId t)

Generated from method MR::Vector<std::vector<MR::GraphEdgeId>, 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_std_vector_MR_GraphEdgeId_MR_GraphVertId_push_back_const_std_vector_MR_GraphEdgeId_ref().

◆ push_back_std_vector_MR_GraphEdgeId_rvalue_ref()

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.push_back_std_vector_MR_GraphEdgeId_rvalue_ref ( meshlib.std_vector_MR_GraphEdgeId t)

Generated from method MR::Vector<std::vector<MR::GraphEdgeId>, 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_std_vector_MR_GraphEdgeId_MR_GraphVertId_push_back_std_vector_MR_GraphEdgeId_rvalue_ref().

◆ reserve()

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.reserve ( long capacity)

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_reserve().

◆ resize() [1/2]

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.resize ( long newSize)

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_resize_1().

◆ resize() [2/2]

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.resize ( long newSize,
meshlib.std_vector_MR_GraphEdgeId t )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_resize_2().

◆ resizeWithReserve() [1/2]

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.resizeWithReserve ( long newSize)

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.resizeWithReserve ( long newSize,
meshlib.std_vector_MR_GraphEdgeId value )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_resizeWithReserve_2().

◆ setVec()

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.setVec ( meshlib.std_vector_std_vector_MR_GraphEdgeId_MR_Allocator_std_vector_MR_GraphEdgeId value)

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_Set_vec().

◆ shrink_to_fit()

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.shrink_to_fit ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_shrink_to_fit().

◆ size()

long meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.size ( )

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_size().

◆ swap()

void meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId.swap ( meshlib.Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId b)

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_swap().

◆ vec()

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

Calls MR_Vector_std_vector_MR_GraphEdgeId_MR_GraphVertId_Get_vec().


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