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

Public Member Functions

 std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture ()
 std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture (meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture other)
void assignFromAnother (meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture other)
long size ()
boolean empty ()
void resize (long new_size)
void clear ()
void reserve (long new_capacity)
meshlib.MeshTexture at (long i)
meshlib.MeshTexture at_mut (long i)
meshlib.MeshTexture front ()
meshlib.MeshTexture front_mut ()
meshlib.MeshTexture back ()
meshlib.MeshTexture back_mut ()
void push_back (meshlib.MeshTexture new_elem)
void pop_back ()
void insert (long position, meshlib.MeshTexture new_elem)
void erase (long position)
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

Generated from C++ container std::vector<MR::MeshTexture, MR::Allocator<MR::MeshTexture>>.

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

Constructor & Destructor Documentation

◆ std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture() [1/3]

meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture ( 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.

◆ std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture() [2/3]

meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture ( )

Constructs an empty (default-constructed) instance.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_DefaultConstruct().

◆ std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture() [3/3]

meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture ( meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture other)

Constructs a copy of another instance. The source remains alive. The reference to the parameter other might be preserved in the constructed object.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

void meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.assignFromAnother ( meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture other)

Assigns the contents from another instance. Both objects remain alive after the call. The reference to the parameter other might be preserved in this object.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_AssignFromAnother().

◆ at()

meshlib.MeshTexture meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.at ( long i)

The element at a specific index, read-only. The reference to this object might be preserved as the return value.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_at().

◆ at_mut()

meshlib.MeshTexture meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.at_mut ( long i)

The element at a specific index, mutable. The reference to this object might be preserved as the return value.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_at_mut().

◆ back()

meshlib.MeshTexture meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.back ( )

The last element or null if empty, read-only. The reference to this object might be preserved as the return value.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_back().

◆ back_mut()

meshlib.MeshTexture meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.back_mut ( )

The last element or null if empty, mutable. The reference to this object might be preserved as the return value.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_back_mut().

◆ clear()

void meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.clear ( )

Removes all elements from the container.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_clear().

◆ empty()

boolean meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.empty ( )

Returns true if the size is zero.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_empty().

◆ erase()

void meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.erase ( long position)

Erases the element at the specified position.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_erase().

◆ front()

meshlib.MeshTexture meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.front ( )

The first element or null if empty, read-only. The reference to this object might be preserved as the return value.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_front().

◆ front_mut()

meshlib.MeshTexture meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.front_mut ( )

The first element or null if empty, mutable. The reference to this object might be preserved as the return value.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_front_mut().

◆ insert()

void meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.insert ( long position,
meshlib.MeshTexture new_elem )

Inserts a new element right before the specified position. The reference to the parameter new_elem might be preserved in this object.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_insert().

◆ pop_back()

void meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.pop_back ( )

Removes one element from the end.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_pop_back().

◆ push_back()

void meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.push_back ( meshlib.MeshTexture new_elem)

Inserts a new element at the end. The reference to the parameter new_elem might be preserved in this object.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_push_back().

◆ reserve()

void meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.reserve ( long new_capacity)

Reserves memory for a certain number of elements. Never shrinks the memory.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_reserve().

◆ resize()

void meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.resize ( long new_size)

Resizes the container. The new elements if any are zeroed.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_resize().

◆ size()

long meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture.size ( )

The number of elements.

Calls MR_std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture_size().


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