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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ Vector_MR_Nesting_NestingResult_MR_ObjId() [1/5]

meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.Vector_MR_Nesting_NestingResult_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_Nesting_NestingResult_MR_ObjId() [2/5]

meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.Vector_MR_Nesting_NestingResult_MR_ObjId ( )

creates empty vector

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_DefaultConstruct().

◆ Vector_MR_Nesting_NestingResult_MR_ObjId() [3/5]

meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.Vector_MR_Nesting_NestingResult_MR_ObjId ( meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId _other)

Generated from constructor MR::Vector<MR::Nesting::NestingResult, 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_Nesting_NestingResult_MR_ObjId_ConstructFromAnother().

◆ Vector_MR_Nesting_NestingResult_MR_ObjId() [4/5]

meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.Vector_MR_Nesting_NestingResult_MR_ObjId ( long size)

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_Construct().

◆ Vector_MR_Nesting_NestingResult_MR_ObjId() [5/5]

meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.Vector_MR_Nesting_NestingResult_MR_ObjId ( long size,
meshlib.nesting.NestingResult val )

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

Member Function Documentation

◆ assign()

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.assign ( long count,
meshlib.nesting.NestingResult val )

replaces the contents with count copies of val Generated from method MR::Vector<MR::Nesting::NestingResult, 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_Nesting_NestingResult_MR_ObjId_assign().

◆ assignFromAnother()

meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.assignFromAnother ( meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId _other)

Generated from method MR::Vector<MR::Nesting::NestingResult, 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_Nesting_NestingResult_MR_ObjId_AssignFromAnother().

◆ autoResizeAt()

meshlib.nesting.NestingResult meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.autoResizeAt ( meshlib.ObjId i)

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.autoResizeSet ( meshlib.ObjId i,
meshlib.nesting.NestingResult 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::Nesting::NestingResult, MR::ObjId>::autoResizeSet.

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.autoResizeSet ( meshlib.ObjId pos,
long len,
meshlib.nesting.NestingResult 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::Nesting::NestingResult, MR::ObjId>::autoResizeSet.

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_autoResizeSet_3().

◆ back()

meshlib.nesting.NestingResult meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.back ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_back().

◆ back_mut()

meshlib.nesting.NestingResult meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.back_mut ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_back_mut().

◆ backId()

meshlib.ObjId meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.backId ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_backId().

◆ beginId()

meshlib.ObjId meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.beginId ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_beginId().

◆ capacity()

long meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.capacity ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_capacity().

◆ clear()

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.clear ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_clear().

◆ data()

meshlib.nesting.NestingResult meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.data ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_data().

◆ data_mut()

meshlib.nesting.NestingResult meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.data_mut ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_data_mut().

◆ empty()

boolean meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.empty ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_empty().

◆ endId()

meshlib.ObjId meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.endId ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_endId().

◆ front()

meshlib.nesting.NestingResult meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.front ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_front().

◆ front_mut()

meshlib.nesting.NestingResult meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.front_mut ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_front_mut().

◆ heapBytes()

long meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.heapBytes ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_heapBytes().

◆ index()

meshlib.nesting.NestingResult meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.index ( meshlib.ObjId i)

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_index().

◆ index_mut()

meshlib.nesting.NestingResult meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.index_mut ( meshlib.ObjId i)

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_index_mut().

◆ max_size()

long meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.max_size ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_max_size().

◆ pop_back()

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.pop_back ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_pop_back().

◆ push_back_const_MR_Nesting_NestingResult_ref()

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.push_back_const_MR_Nesting_NestingResult_ref ( meshlib.nesting.NestingResult t)

Generated from method MR::Vector<MR::Nesting::NestingResult, 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_Nesting_NestingResult_MR_ObjId_push_back_const_MR_Nesting_NestingResult_ref().

◆ push_back_MR_Nesting_NestingResult_rvalue_ref()

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.push_back_MR_Nesting_NestingResult_rvalue_ref ( meshlib.nesting.NestingResult t)

Generated from method MR::Vector<MR::Nesting::NestingResult, 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_Nesting_NestingResult_MR_ObjId_push_back_MR_Nesting_NestingResult_rvalue_ref().

◆ reserve()

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.reserve ( long capacity)

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_reserve().

◆ resize() [1/2]

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.resize ( long newSize)

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_resize_1().

◆ resize() [2/2]

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.resize ( long newSize,
meshlib.nesting.NestingResult t )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_resize_2().

◆ resizeWithReserve() [1/2]

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.resizeWithReserve ( long newSize)

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.resizeWithReserve ( long newSize,
meshlib.nesting.NestingResult value )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_resizeWithReserve_2().

◆ setVec()

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.setVec ( meshlib.std_vector_MR_Nesting_NestingResult_MR_Allocator_MR_Nesting_NestingResult value)

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_Set_vec().

◆ shrink_to_fit()

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.shrink_to_fit ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_shrink_to_fit().

◆ size()

long meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.size ( )

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_size().

◆ swap()

void meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId.swap ( meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId b)

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_swap().

◆ vec()

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

Calls MR_Vector_MR_Nesting_NestingResult_MR_ObjId_Get_vec().


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