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

Public Member Functions

 BitSet_Counts (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 BitSet_Counts ()
 BitSet_Counts (long bits, long blocks)
 BitSet_Counts (meshlib.BitSet_Counts _other)
meshlib.BitSet_Counts assignFromAnother (meshlib.BitSet_Counts _other)
long bits ()
void setBits (long value)
long blocks ()
void setBlocks (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)

Detailed Description

the numbers of set bits and of non-empty blocks Generated from class MR::BitSet::Counts.

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

Constructor & Destructor Documentation

◆ BitSet_Counts() [1/4]

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

◆ BitSet_Counts() [2/4]

meshlib.BitSet_Counts.BitSet_Counts ( )

Constructs an empty (default-constructed) instance.

Calls MR_BitSet_Counts_DefaultConstruct().

◆ BitSet_Counts() [3/4]

meshlib.BitSet_Counts.BitSet_Counts ( long bits,
long blocks )

Constructs MR::BitSet::Counts elementwise. The reference to the parameter bits might be preserved in the constructed object. The reference to the parameter blocks might be preserved in the constructed object.

Calls MR_BitSet_Counts_ConstructFrom().

◆ BitSet_Counts() [4/4]

meshlib.BitSet_Counts.BitSet_Counts ( meshlib.BitSet_Counts _other)

Generated from constructor MR::BitSet::Counts::Counts. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_BitSet_Counts_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.BitSet_Counts meshlib.BitSet_Counts.assignFromAnother ( meshlib.BitSet_Counts _other)

Generated from method MR::BitSet::Counts::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_BitSet_Counts_AssignFromAnother().

◆ bits()

long meshlib.BitSet_Counts.bits ( )

Returns a pointer to a member variable of class MR::BitSet::Counts named bits. The reference to this object might be preserved as the return value.

Calls MR_BitSet_Counts_Get_bits().

◆ blocks()

long meshlib.BitSet_Counts.blocks ( )

Returns a pointer to a member variable of class MR::BitSet::Counts named blocks. The reference to this object might be preserved as the return value.

Calls MR_BitSet_Counts_Get_blocks().

◆ setBits()

void meshlib.BitSet_Counts.setBits ( long value)

Modifies a member variable of class MR::BitSet::Counts named bits. The reference to the parameter value might be preserved in this object in element bits.

Calls MR_BitSet_Counts_Set_bits().

◆ setBlocks()

void meshlib.BitSet_Counts.setBlocks ( long value)

Modifies a member variable of class MR::BitSet::Counts named blocks. The reference to the parameter value might be preserved in this object in element blocks.

Calls MR_BitSet_Counts_Set_blocks().


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