Public Member Functions | |
| Chunk (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Chunk () | |
| Chunk (long offset, long size) | |
| Chunk (meshlib.Chunk _other) | |
| meshlib.Chunk | assignFromAnother (meshlib.Chunk _other) |
| long | offset () |
| void | setOffset (long value) |
| long | size () |
| void | setSize (long 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) | |
array chunk representation Generated from class MR::Chunk.
Instances created here own their C++ objects, see CppObject.
| meshlib.Chunk.Chunk | ( | 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.
| meshlib.Chunk.Chunk | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Chunk_DefaultConstruct().
| meshlib.Chunk.Chunk | ( | long | offset, |
| long | size ) |
Constructs MR::Chunk elementwise. The reference to the parameter offset might be preserved in the constructed object. The reference to the parameter size might be preserved in the constructed object.
Calls MR_Chunk_ConstructFrom().
| meshlib.Chunk.Chunk | ( | meshlib.Chunk | _other | ) |
Generated from constructor MR::Chunk::Chunk. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Chunk_ConstructFromAnother().
| meshlib.Chunk meshlib.Chunk.assignFromAnother | ( | meshlib.Chunk | _other | ) |
Generated from method MR::Chunk::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Chunk_AssignFromAnother().
| long meshlib.Chunk.offset | ( | ) |
chunk offset Returns a pointer to a member variable of class MR::Chunk named offset. The reference to this object might be preserved as the return value.
Calls MR_Chunk_Get_offset().
| void meshlib.Chunk.setOffset | ( | long | value | ) |
chunk offset Modifies a member variable of class MR::Chunk named offset. The reference to the parameter value might be preserved in this object in element offset.
Calls MR_Chunk_Set_offset().
| void meshlib.Chunk.setSize | ( | long | value | ) |
chunk size; the last chunk's size may be smaller than other chunk's ones Modifies a member variable of class MR::Chunk named size. The reference to the parameter value might be preserved in this object in element size.
Calls MR_Chunk_Set_size().
| long meshlib.Chunk.size | ( | ) |
chunk size; the last chunk's size may be smaller than other chunk's ones Returns a pointer to a member variable of class MR::Chunk named size. The reference to this object might be preserved as the return value.
Calls MR_Chunk_Get_size().