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

Public Member Functions

 LocaleDomainId (java.lang.foreign.MemorySegment segment, java.lang.Object owner)
LocaleDomainId copy ()
void set (LocaleDomainId other)
int id_ ()
void setId_ (int value)
 LocaleDomainId ()
 LocaleDomainId (meshlib.NoInit _1)
 LocaleDomainId (int i)
int convertTo_int ()
boolean convertTo_bool ()
boolean valid ()
java.lang.foreign.MemorySegment get ()
boolean opEqual (meshlib.LocaleDomainId b)
boolean opNotEqual (meshlib.LocaleDomainId b)
boolean opLess (meshlib.LocaleDomainId b)
meshlib.LocaleDomainId opDecr ()
meshlib.LocaleDomainId opIncr ()
meshlib.LocaleDomainId opPostDecr ()
meshlib.LocaleDomainId opPostIncr ()
meshlib.LocaleDomainId sub_assign (int a)
meshlib.LocaleDomainId add_assign (int a)
Public Member Functions inherited from meshlib.CppStruct
final java.lang.foreign.MemorySegment rawPointer ()

Static Public Attributes

static final java.lang.foreign.StructLayout LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"id_"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.ValueLayout.JAVA_INT})
static final long OFF_id_ = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("id_"))

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppStruct
 CppStruct (java.lang.foreign.MemorySegment segment, java.lang.Object owner)
Protected Attributes inherited from meshlib.CppStruct
final java.lang.foreign.MemorySegment segment

Detailed Description

stores index of some element, it is made as template class to avoid mixing faces, edges and vertices Generated from class MR::LocaleDomainId.

Has the same layout as the C++ struct, the fields are accessed in place in native memory.

Constructor & Destructor Documentation

◆ LocaleDomainId() [1/4]

meshlib.LocaleDomainId.LocaleDomainId ( java.lang.foreign.MemorySegment segment,
java.lang.Object owner )

Wraps a segment holding the struct. owner is kept alive as long as this wrapper is. Not for normal use.

◆ LocaleDomainId() [2/4]

meshlib.LocaleDomainId.LocaleDomainId ( )

Constructs an empty (default-constructed) instance.

Calls MR_LocaleDomainId_DefaultConstruct().

◆ LocaleDomainId() [3/4]

meshlib.LocaleDomainId.LocaleDomainId ( meshlib.NoInit _1)

Generated from constructor MR::LocaleDomainId::LocaleDomainId. The reference to the parameter _1 might be preserved in the constructed object.

Calls MR_LocaleDomainId_Construct_MR_NoInit().

◆ LocaleDomainId() [4/4]

meshlib.LocaleDomainId.LocaleDomainId ( int i)

For the parser, pretend it's not templated. Instantiating the template above in the parser is difficult. Generated from constructor MR::LocaleDomainId::LocaleDomainId.

Calls MR_LocaleDomainId_Construct_int().

Member Function Documentation

◆ add_assign()

meshlib.LocaleDomainId meshlib.LocaleDomainId.add_assign ( int a)

Generated from method MR::LocaleDomainId::operator+=. The reference to this object might be preserved in the return value.

Calls MR_LocaleDomainId_add_assign().

◆ convertTo_bool()

boolean meshlib.LocaleDomainId.convertTo_bool ( )

Generated from conversion operator MR::LocaleDomainId::operator bool.

Calls MR_LocaleDomainId_ConvertTo_bool().

◆ convertTo_int()

int meshlib.LocaleDomainId.convertTo_int ( )

Generated from conversion operator MR::LocaleDomainId::operator int.

Calls MR_LocaleDomainId_ConvertTo_int().

◆ copy()

LocaleDomainId meshlib.LocaleDomainId.copy ( )

A copy of the struct, in its own memory.

◆ get()

java.lang.foreign.MemorySegment meshlib.LocaleDomainId.get ( )

Generated from method MR::LocaleDomainId::get.

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

◆ id_()

int meshlib.LocaleDomainId.id_ ( )

◆ opDecr()

meshlib.LocaleDomainId meshlib.LocaleDomainId.opDecr ( )

Generated from method MR::LocaleDomainId::operator--.

Calls MR_decr_MR_LocaleDomainId().

◆ opEqual()

boolean meshlib.LocaleDomainId.opEqual ( meshlib.LocaleDomainId b)

Generated from method MR::LocaleDomainId::operator==.

Calls MR_equal_MR_LocaleDomainId().

◆ opIncr()

meshlib.LocaleDomainId meshlib.LocaleDomainId.opIncr ( )

Generated from method MR::LocaleDomainId::operator++.

Calls MR_incr_MR_LocaleDomainId().

◆ opLess()

boolean meshlib.LocaleDomainId.opLess ( meshlib.LocaleDomainId b)

Generated from method MR::LocaleDomainId::operator<.

Calls MR_less_MR_LocaleDomainId().

◆ opNotEqual()

boolean meshlib.LocaleDomainId.opNotEqual ( meshlib.LocaleDomainId b)

Generated from method MR::LocaleDomainId::operator!=.

Calls MR_not_equal_MR_LocaleDomainId().

◆ opPostDecr()

meshlib.LocaleDomainId meshlib.LocaleDomainId.opPostDecr ( )

Generated from method MR::LocaleDomainId::operator--.

Calls MR_post_decr_MR_LocaleDomainId().

◆ opPostIncr()

meshlib.LocaleDomainId meshlib.LocaleDomainId.opPostIncr ( )

Generated from method MR::LocaleDomainId::operator++.

Calls MR_post_incr_MR_LocaleDomainId().

◆ set()

void meshlib.LocaleDomainId.set ( LocaleDomainId other)

Overwrites the contents with those of another struct.

◆ setId_()

void meshlib.LocaleDomainId.setId_ ( int value)

◆ sub_assign()

meshlib.LocaleDomainId meshlib.LocaleDomainId.sub_assign ( int a)

Generated from method MR::LocaleDomainId::operator-=. The reference to this object might be preserved in the return value.

Calls MR_LocaleDomainId_sub_assign().

◆ valid()

boolean meshlib.LocaleDomainId.valid ( )

Generated from method MR::LocaleDomainId::valid.

Calls MR_LocaleDomainId_valid().

Member Data Documentation

◆ LAYOUT

final java.lang.foreign.StructLayout meshlib.LocaleDomainId.LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"id_"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.ValueLayout.JAVA_INT})
static

The native layout of the struct.

◆ OFF_id_

final long meshlib.LocaleDomainId.OFF_id_ = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("id_"))
static

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