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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ Vector_double_MR_RegionId() [1/5]

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

meshlib.Vector_double_MR_RegionId.Vector_double_MR_RegionId ( )

creates empty vector

Calls MR_Vector_double_MR_RegionId_DefaultConstruct().

◆ Vector_double_MR_RegionId() [3/5]

meshlib.Vector_double_MR_RegionId.Vector_double_MR_RegionId ( meshlib.Vector_double_MR_RegionId _other)

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

Calls MR_Vector_double_MR_RegionId_ConstructFromAnother().

◆ Vector_double_MR_RegionId() [4/5]

meshlib.Vector_double_MR_RegionId.Vector_double_MR_RegionId ( long size)

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

Calls MR_Vector_double_MR_RegionId_Construct().

◆ Vector_double_MR_RegionId() [5/5]

meshlib.Vector_double_MR_RegionId.Vector_double_MR_RegionId ( long size,
double val )

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

Member Function Documentation

◆ assign()

void meshlib.Vector_double_MR_RegionId.assign ( long count,
double val )

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

Calls MR_Vector_double_MR_RegionId_assign().

◆ assignFromAnother()

meshlib.Vector_double_MR_RegionId meshlib.Vector_double_MR_RegionId.assignFromAnother ( meshlib.Vector_double_MR_RegionId _other)

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

Calls MR_Vector_double_MR_RegionId_AssignFromAnother().

◆ autoResizeAt()

java.lang.foreign.MemorySegment meshlib.Vector_double_MR_RegionId.autoResizeAt ( meshlib.RegionId i)

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

Calls MR_Vector_double_MR_RegionId_autoResizeAt(). Some types are raw C types, see the C bindings for the details.

◆ autoResizeSet() [1/2]

void meshlib.Vector_double_MR_RegionId.autoResizeSet ( meshlib.RegionId i,
double val )

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

Calls MR_Vector_double_MR_RegionId_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.Vector_double_MR_RegionId.autoResizeSet ( meshlib.RegionId pos,
long len,
double 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<double, MR::RegionId>::autoResizeSet.

Calls MR_Vector_double_MR_RegionId_autoResizeSet_3().

◆ back()

double meshlib.Vector_double_MR_RegionId.back ( )

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

Calls MR_Vector_double_MR_RegionId_back().

◆ back_mut()

java.lang.foreign.MemorySegment meshlib.Vector_double_MR_RegionId.back_mut ( )

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

Calls MR_Vector_double_MR_RegionId_back_mut(). Some types are raw C types, see the C bindings for the details.

◆ backId()

meshlib.RegionId meshlib.Vector_double_MR_RegionId.backId ( )

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

Calls MR_Vector_double_MR_RegionId_backId().

◆ beginId()

meshlib.RegionId meshlib.Vector_double_MR_RegionId.beginId ( )

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

Calls MR_Vector_double_MR_RegionId_beginId().

◆ capacity()

long meshlib.Vector_double_MR_RegionId.capacity ( )

Generated from method MR::Vector<double, MR::RegionId>::capacity.

Calls MR_Vector_double_MR_RegionId_capacity().

◆ clear()

void meshlib.Vector_double_MR_RegionId.clear ( )

Generated from method MR::Vector<double, MR::RegionId>::clear.

Calls MR_Vector_double_MR_RegionId_clear().

◆ data()

java.lang.Double meshlib.Vector_double_MR_RegionId.data ( )

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

Calls MR_Vector_double_MR_RegionId_data().

◆ data_mut()

java.lang.foreign.MemorySegment meshlib.Vector_double_MR_RegionId.data_mut ( )

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

Calls MR_Vector_double_MR_RegionId_data_mut(). Some types are raw C types, see the C bindings for the details.

◆ empty()

boolean meshlib.Vector_double_MR_RegionId.empty ( )

Generated from method MR::Vector<double, MR::RegionId>::empty.

Calls MR_Vector_double_MR_RegionId_empty().

◆ endId()

meshlib.RegionId meshlib.Vector_double_MR_RegionId.endId ( )

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

Calls MR_Vector_double_MR_RegionId_endId().

◆ front()

double meshlib.Vector_double_MR_RegionId.front ( )

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

Calls MR_Vector_double_MR_RegionId_front().

◆ front_mut()

java.lang.foreign.MemorySegment meshlib.Vector_double_MR_RegionId.front_mut ( )

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

Calls MR_Vector_double_MR_RegionId_front_mut(). Some types are raw C types, see the C bindings for the details.

◆ heapBytes()

long meshlib.Vector_double_MR_RegionId.heapBytes ( )

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

Calls MR_Vector_double_MR_RegionId_heapBytes().

◆ index()

double meshlib.Vector_double_MR_RegionId.index ( meshlib.RegionId i)

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

Calls MR_Vector_double_MR_RegionId_index().

◆ index_mut()

java.lang.foreign.MemorySegment meshlib.Vector_double_MR_RegionId.index_mut ( meshlib.RegionId i)

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

Calls MR_Vector_double_MR_RegionId_index_mut(). Some types are raw C types, see the C bindings for the details.

◆ max_size()

long meshlib.Vector_double_MR_RegionId.max_size ( )

Generated from method MR::Vector<double, MR::RegionId>::max_size.

Calls MR_Vector_double_MR_RegionId_max_size().

◆ opEqual()

boolean meshlib.Vector_double_MR_RegionId.opEqual ( meshlib.Vector_double_MR_RegionId b)

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

Calls MR_equal_MR_Vector_double_MR_RegionId().

◆ opNotEqual()

boolean meshlib.Vector_double_MR_RegionId.opNotEqual ( meshlib.Vector_double_MR_RegionId b)

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

Calls MR_not_equal_MR_Vector_double_MR_RegionId().

◆ pop_back()

void meshlib.Vector_double_MR_RegionId.pop_back ( )

Generated from method MR::Vector<double, MR::RegionId>::pop_back.

Calls MR_Vector_double_MR_RegionId_pop_back().

◆ push_back_const_double_ref()

void meshlib.Vector_double_MR_RegionId.push_back_const_double_ref ( double t)

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

Calls MR_Vector_double_MR_RegionId_push_back_const_double_ref().

◆ push_back_double_rvalue_ref()

void meshlib.Vector_double_MR_RegionId.push_back_double_rvalue_ref ( double t)

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

Calls MR_Vector_double_MR_RegionId_push_back_double_rvalue_ref().

◆ reserve()

void meshlib.Vector_double_MR_RegionId.reserve ( long capacity)

Generated from method MR::Vector<double, MR::RegionId>::reserve.

Calls MR_Vector_double_MR_RegionId_reserve().

◆ resize() [1/2]

void meshlib.Vector_double_MR_RegionId.resize ( long newSize)

Generated from method MR::Vector<double, MR::RegionId>::resize.

Calls MR_Vector_double_MR_RegionId_resize_1().

◆ resize() [2/2]

void meshlib.Vector_double_MR_RegionId.resize ( long newSize,
double t )

Generated from method MR::Vector<double, MR::RegionId>::resize.

Calls MR_Vector_double_MR_RegionId_resize_2().

◆ resizeWithReserve() [1/2]

void meshlib.Vector_double_MR_RegionId.resizeWithReserve ( long newSize)

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

Calls MR_Vector_double_MR_RegionId_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.Vector_double_MR_RegionId.resizeWithReserve ( long newSize,
double value )

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

Calls MR_Vector_double_MR_RegionId_resizeWithReserve_2().

◆ setVec()

void meshlib.Vector_double_MR_RegionId.setVec ( meshlib.std_vector_double_MR_Allocator_double value)

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

Calls MR_Vector_double_MR_RegionId_Set_vec().

◆ shrink_to_fit()

void meshlib.Vector_double_MR_RegionId.shrink_to_fit ( )

Generated from method MR::Vector<double, MR::RegionId>::shrink_to_fit.

Calls MR_Vector_double_MR_RegionId_shrink_to_fit().

◆ size()

long meshlib.Vector_double_MR_RegionId.size ( )

Generated from method MR::Vector<double, MR::RegionId>::size.

Calls MR_Vector_double_MR_RegionId_size().

◆ swap()

void meshlib.Vector_double_MR_RegionId.swap ( meshlib.Vector_double_MR_RegionId b)

Generated from method MR::Vector<double, MR::RegionId>::swap.

Calls MR_Vector_double_MR_RegionId_swap().

◆ vec()

meshlib.std_vector_double_MR_Allocator_double meshlib.Vector_double_MR_RegionId.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<double, MR::RegionId> named vec. The reference to this object might be preserved as the return value.

Calls MR_Vector_double_MR_RegionId_Get_vec().


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