MeshLib Java Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib.NodeBitSet:

Public Member Functions

 NodeBitSet (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 NodeBitSet ()
 NodeBitSet (meshlib.NodeBitSet _other)
 NodeBitSet (long numBits, java.lang.Boolean fillValue)
meshlib.NodeBitSet assignFromAnother (meshlib.NodeBitSet _other)
meshlib.NodeBitSet set (meshlib.NodeId n, long len, boolean val)
meshlib.NodeBitSet set (meshlib.NodeId n, boolean val)
meshlib.NodeBitSet set (meshlib.NodeId n)
meshlib.NodeBitSet set ()
boolean atomicTestSet (meshlib.NodeId n)
meshlib.NodeBitSet reset (meshlib.NodeId n, long len)
meshlib.NodeBitSet reset (meshlib.NodeId n)
meshlib.NodeBitSet reset ()
meshlib.NodeBitSet flip (meshlib.NodeId n, long len)
meshlib.NodeBitSet flip (meshlib.NodeId n)
meshlib.NodeBitSet flip ()
boolean test (meshlib.NodeId n)
boolean test_set (meshlib.NodeId n, java.lang.Boolean val)
meshlib.NodeId find_first ()
meshlib.NodeId find_next (meshlib.NodeId pos)
meshlib.NodeId find_last ()
meshlib.NodeId find_first_not_set ()
meshlib.NodeId find_next_not_set (meshlib.NodeId pos)
meshlib.NodeId find_last_not_set ()
meshlib.NodeId nthSetBit (long n)
meshlib.NodeBitSet bitand_assign (meshlib.NodeBitSet b)
meshlib.NodeBitSet bitor_assign (meshlib.NodeBitSet b)
meshlib.NodeBitSet xor_assign (meshlib.NodeBitSet b)
meshlib.NodeBitSet sub_assign (meshlib.NodeBitSet b)
meshlib.NodeBitSet subtract (meshlib.NodeBitSet b, int bShiftInBlocks)
boolean is_subset_of (meshlib.NodeBitSet a)
boolean intersects (meshlib.NodeBitSet a)
void autoResizeSet (meshlib.NodeId pos, long len, java.lang.Boolean val)
void autoResizeSet (meshlib.NodeId pos, java.lang.Boolean val)
boolean autoResizeTestSet (meshlib.NodeId pos, java.lang.Boolean val)
meshlib.NodeBitSet getMapping (meshlib.Vector_MR_NodeId_MR_NodeId map)
meshlib.NodeBitSet getMapping (meshlib.BMap_MR_NodeId_MR_NodeId map)
meshlib.NodeBitSet getMapping (meshlib.phmap.phmap_flat_hash_map_MR_NodeId_MR_NodeId_phmap_Hash_MR_NodeId_phmap_EqualTo_MR_NodeId_MR_Allocator_st__4eb2ca24 map)
meshlib.NodeBitSet getMapping (meshlib.Vector_MR_NodeId_MR_NodeId map, long resSize)
meshlib.NodeBitSet getMapping (meshlib.phmap.phmap_flat_hash_map_MR_NodeId_MR_NodeId_phmap_Hash_MR_NodeId_phmap_EqualTo_MR_NodeId_MR_Allocator_st__4eb2ca24 map, long resSize)
meshlib.NodeId backId ()
meshlib.NodeId endId ()
void reserve (long numBits)
void resize (long numBits, java.lang.Boolean fillValue)
void clear ()
void shrink_to_fit ()
boolean empty ()
long size ()
long num_blocks ()
long capacity ()
boolean uncheckedTest (long n)
boolean uncheckedTestSet (long n, java.lang.Boolean val)
void reverse ()
void push_back (boolean val)
void pop_back ()
meshlib.std_vector_uint64_t_MR_Allocator_uint64_t bits ()
boolean all ()
boolean any ()
boolean none ()
long count ()
meshlib.BitSet_Counts countBitsAndBlocks (java.lang.Long maxBits)
void resizeWithReserve (long newSize)
long heapBytes ()
meshlib.BitSet upcastToBitSet ()
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 ()

Static Public Member Functions

static meshlib.NodeBitSet construct_1_const_MR_BitSet_ref (meshlib.BitSet src)
static meshlib.NodeBitSet construct_1_MR_BitSet_rvalue_ref (meshlib.BitSet src)
static meshlib.NodeId beginId ()
static meshlib.BitSet fromBlocks (meshlib.std_vector_uint64_t_MR_Allocator_uint64_t blocks)
static long bits_per_block ()
static long npos ()
static meshlib.NodeBitSet staticDowncastFromBitSet (meshlib.BitSet object)

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<bool, I> like container (random-access, I - index type, bool - value type) with all bits after size() considered off during testing Generated from class MR::NodeBitSet. Base classes: Direct: (non-virtual) MR::BitSet

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

Constructor & Destructor Documentation

◆ NodeBitSet() [1/4]

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

◆ NodeBitSet() [2/4]

meshlib.NodeBitSet.NodeBitSet ( )

Constructs an empty (default-constructed) instance.

Calls MR_NodeBitSet_DefaultConstruct().

◆ NodeBitSet() [3/4]

meshlib.NodeBitSet.NodeBitSet ( meshlib.NodeBitSet _other)

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

Calls MR_NodeBitSet_ConstructFromAnother().

◆ NodeBitSet() [4/4]

meshlib.NodeBitSet.NodeBitSet ( long numBits,
java.lang.Boolean fillValue )

creates bitset of given size filled with given value Generated from constructor MR::NodeBitSet::NodeBitSet. The reference to the parameter numBits might be preserved in the constructed object.

Calls MR_NodeBitSet_Construct_2().

Member Function Documentation

◆ all()

boolean meshlib.NodeBitSet.all ( )

returns true if all bits in this container are set Generated from method MR::NodeBitSet::all.

Calls MR_NodeBitSet_all().

◆ any()

boolean meshlib.NodeBitSet.any ( )

returns true if at least one bits in this container is set Generated from method MR::NodeBitSet::any.

Calls MR_NodeBitSet_any().

◆ assignFromAnother()

meshlib.NodeBitSet meshlib.NodeBitSet.assignFromAnother ( meshlib.NodeBitSet _other)

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

Calls MR_NodeBitSet_AssignFromAnother().

◆ atomicTestSet()

boolean meshlib.NodeBitSet.atomicTestSet ( meshlib.NodeId n)

Generated from method MR::NodeBitSet::atomicTestSet.

Calls MR_NodeBitSet_atomicTestSet().

◆ autoResizeSet() [1/2]

void meshlib.NodeBitSet.autoResizeSet ( meshlib.NodeId pos,
java.lang.Boolean val )

Generated from method MR::NodeBitSet::autoResizeSet.

Calls MR_NodeBitSet_autoResizeSet().

◆ autoResizeSet() [2/2]

void meshlib.NodeBitSet.autoResizeSet ( meshlib.NodeId pos,
long len,
java.lang.Boolean val )

Generated from method MR::NodeBitSet::autoResizeSet.

Calls MR_NodeBitSet_autoResizeSet_range().

◆ autoResizeTestSet()

boolean meshlib.NodeBitSet.autoResizeTestSet ( meshlib.NodeId pos,
java.lang.Boolean val )

Generated from method MR::NodeBitSet::autoResizeTestSet.

Calls MR_NodeBitSet_autoResizeTestSet().

◆ backId()

meshlib.NodeId meshlib.NodeBitSet.backId ( )

returns the identifier of the back() element Generated from method MR::NodeBitSet::backId.

Calls MR_NodeBitSet_backId().

◆ beginId()

meshlib.NodeId meshlib.NodeBitSet.beginId ( )
static

[beginId(), endId()) is the range of all bits in the set Generated from method MR::NodeBitSet::beginId.

Calls MR_NodeBitSet_beginId().

◆ bitand_assign()

meshlib.NodeBitSet meshlib.NodeBitSet.bitand_assign ( meshlib.NodeBitSet b)

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

Calls MR_NodeBitSet_bitand_assign().

◆ bitor_assign()

meshlib.NodeBitSet meshlib.NodeBitSet.bitor_assign ( meshlib.NodeBitSet b)

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

Calls MR_NodeBitSet_bitor_assign().

◆ bits()

read-only access to all bits stored as a vector of uint64 blocks Generated from method MR::NodeBitSet::bits.

Calls MR_NodeBitSet_bits().

◆ bits_per_block()

long meshlib.NodeBitSet.bits_per_block ( )
static

Returns a pointer to a member variable of class MR::NodeBitSet named bits_per_block.

Calls MR_NodeBitSet_Get_bits_per_block().

◆ capacity()

long meshlib.NodeBitSet.capacity ( )

Generated from method MR::NodeBitSet::capacity.

Calls MR_NodeBitSet_capacity().

◆ clear()

void meshlib.NodeBitSet.clear ( )

Generated from method MR::NodeBitSet::clear.

Calls MR_NodeBitSet_clear().

◆ construct_1_const_MR_BitSet_ref()

meshlib.NodeBitSet meshlib.NodeBitSet.construct_1_const_MR_BitSet_ref ( meshlib.BitSet src)
static

copies all bits from another BitSet (or a descending class, e.g. TypedBitSet<U>) Generated from constructor MR::NodeBitSet::NodeBitSet. The reference to the parameter src might be preserved in the constructed object.

Calls MR_NodeBitSet_Construct_1_const_MR_BitSet_ref().

◆ construct_1_MR_BitSet_rvalue_ref()

meshlib.NodeBitSet meshlib.NodeBitSet.construct_1_MR_BitSet_rvalue_ref ( meshlib.BitSet src)
static

moves all bits from another BitSet (or a descending class, e.g. TypedBitSet<U>) Generated from constructor MR::NodeBitSet::NodeBitSet. The reference to the parameter src might be preserved in the constructed object.

Calls MR_NodeBitSet_Construct_1_MR_BitSet_rvalue_ref().

◆ count()

long meshlib.NodeBitSet.count ( )

computes the number of set bits in the whole set Generated from method MR::NodeBitSet::count.

Calls MR_NodeBitSet_count().

◆ countBitsAndBlocks()

meshlib.BitSet_Counts meshlib.NodeBitSet.countBitsAndBlocks ( java.lang.Long maxBits)

computes the numbers of set bits and of non-empty blocks, stopping as soon as the set bits exceed maxBits; both numbers are then partial, which makes a size test of a large set cheap Generated from method MR::NodeBitSet::countBitsAndBlocks.

Calls MR_NodeBitSet_countBitsAndBlocks().

◆ empty()

boolean meshlib.NodeBitSet.empty ( )

Generated from method MR::NodeBitSet::empty.

Calls MR_NodeBitSet_empty().

◆ endId()

meshlib.NodeId meshlib.NodeBitSet.endId ( )

Generated from method MR::NodeBitSet::endId.

Calls MR_NodeBitSet_endId().

◆ find_first()

meshlib.NodeId meshlib.NodeBitSet.find_first ( )

Generated from method MR::NodeBitSet::find_first.

Calls MR_NodeBitSet_find_first().

◆ find_first_not_set()

meshlib.NodeId meshlib.NodeBitSet.find_first_not_set ( )

Generated from method MR::NodeBitSet::find_first_not_set.

Calls MR_NodeBitSet_find_first_not_set().

◆ find_last()

meshlib.NodeId meshlib.NodeBitSet.find_last ( )

Generated from method MR::NodeBitSet::find_last.

Calls MR_NodeBitSet_find_last().

◆ find_last_not_set()

meshlib.NodeId meshlib.NodeBitSet.find_last_not_set ( )

Generated from method MR::NodeBitSet::find_last_not_set.

Calls MR_NodeBitSet_find_last_not_set().

◆ find_next()

meshlib.NodeId meshlib.NodeBitSet.find_next ( meshlib.NodeId pos)

Generated from method MR::NodeBitSet::find_next.

Calls MR_NodeBitSet_find_next().

◆ find_next_not_set()

meshlib.NodeId meshlib.NodeBitSet.find_next_not_set ( meshlib.NodeId pos)

Generated from method MR::NodeBitSet::find_next_not_set.

Calls MR_NodeBitSet_find_next_not_set().

◆ flip() [1/3]

meshlib.NodeBitSet meshlib.NodeBitSet.flip ( )

Generated from method MR::NodeBitSet::flip.

Calls MR_NodeBitSet_flip_0().

◆ flip() [2/3]

meshlib.NodeBitSet meshlib.NodeBitSet.flip ( meshlib.NodeId n)

Generated from method MR::NodeBitSet::flip.

Calls MR_NodeBitSet_flip_1().

◆ flip() [3/3]

meshlib.NodeBitSet meshlib.NodeBitSet.flip ( meshlib.NodeId n,
long len )

Generated from method MR::NodeBitSet::flip.

Calls MR_NodeBitSet_flip_2().

◆ fromBlocks()

meshlib.BitSet meshlib.NodeBitSet.fromBlocks ( meshlib.std_vector_uint64_t_MR_Allocator_uint64_t blocks)
static

creates bitset from the given blocks of bits Generated from method MR::NodeBitSet::fromBlocks.

Calls MR_NodeBitSet_fromBlocks().

◆ getMapping() [1/5]

meshlib.NodeBitSet meshlib.NodeBitSet.getMapping ( meshlib.BMap_MR_NodeId_MR_NodeId map)

Generated from method MR::NodeBitSet::getMapping.

Calls MR_NodeBitSet_getMapping_1_MR_BMap_MR_NodeId_MR_NodeId().

◆ getMapping() [2/5]

Generated from method MR::NodeBitSet::getMapping.

Calls MR_NodeBitSet_getMapping_1_phmap_flat_hash_map_MR_NodeId_MR_NodeId_phmap_Hash_MR_NodeId_phmap_EqualTo_MR_NodeId_MR_Allocator_std_pair_const_MR_NodeId_MR_NodeId().

◆ getMapping() [3/5]

Generated from method MR::NodeBitSet::getMapping.

Calls MR_NodeBitSet_getMapping_2_phmap_flat_hash_map_MR_NodeId_MR_NodeId_phmap_Hash_MR_NodeId_phmap_EqualTo_MR_NodeId_MR_Allocator_std_pair_const_MR_NodeId_MR_NodeId().

◆ getMapping() [4/5]

meshlib.NodeBitSet meshlib.NodeBitSet.getMapping ( meshlib.Vector_MR_NodeId_MR_NodeId map)

Generated from method MR::NodeBitSet::getMapping.

Calls MR_NodeBitSet_getMapping_1_MR_Vector_MR_NodeId_MR_NodeId().

◆ getMapping() [5/5]

meshlib.NodeBitSet meshlib.NodeBitSet.getMapping ( meshlib.Vector_MR_NodeId_MR_NodeId map,
long resSize )

Generated from method MR::NodeBitSet::getMapping.

Calls MR_NodeBitSet_getMapping_2_MR_Vector_MR_NodeId_MR_NodeId().

◆ heapBytes()

long meshlib.NodeBitSet.heapBytes ( )

returns the amount of memory this object occupies on heap Generated from method MR::NodeBitSet::heapBytes.

Calls MR_NodeBitSet_heapBytes().

◆ intersects()

boolean meshlib.NodeBitSet.intersects ( meshlib.NodeBitSet a)

returns true if, there is a bit which is set in this bitset, such that the corresponding bit in bitset a is also set. Otherwise this function returns false. Generated from method MR::NodeBitSet::intersects.

Calls MR_NodeBitSet_intersects().

◆ is_subset_of()

boolean meshlib.NodeBitSet.is_subset_of ( meshlib.NodeBitSet a)

returns true if, for every bit that is set in this bitset, the corresponding bit in bitset a is also set. Otherwise this function returns false. Generated from method MR::NodeBitSet::is_subset_of.

Calls MR_NodeBitSet_is_subset_of().

◆ none()

boolean meshlib.NodeBitSet.none ( )

returns true if all bits in this container are reset Generated from method MR::NodeBitSet::none.

Calls MR_NodeBitSet_none().

◆ npos()

long meshlib.NodeBitSet.npos ( )
static

Returns a pointer to a member variable of class MR::NodeBitSet named npos.

Calls MR_NodeBitSet_Get_npos().

◆ nthSetBit()

meshlib.NodeId meshlib.NodeBitSet.nthSetBit ( long n)

returns the location of nth set bit (where the first bit corresponds to n=0) or IndexType(npos) if there are less bit set Generated from method MR::NodeBitSet::nthSetBit.

Calls MR_NodeBitSet_nthSetBit().

◆ num_blocks()

long meshlib.NodeBitSet.num_blocks ( )

Generated from method MR::NodeBitSet::num_blocks.

Calls MR_NodeBitSet_num_blocks().

◆ pop_back()

void meshlib.NodeBitSet.pop_back ( )

removes last bit from the container, decreasing its size on 1 Generated from method MR::NodeBitSet::pop_back.

Calls MR_NodeBitSet_pop_back().

◆ push_back()

void meshlib.NodeBitSet.push_back ( boolean val)

adds one more bit with the given value in the container, increasing its size on 1 Generated from method MR::NodeBitSet::push_back.

Calls MR_NodeBitSet_push_back().

◆ reserve()

void meshlib.NodeBitSet.reserve ( long numBits)

Generated from method MR::NodeBitSet::reserve.

Calls MR_NodeBitSet_reserve().

◆ reset() [1/3]

meshlib.NodeBitSet meshlib.NodeBitSet.reset ( )

Generated from method MR::NodeBitSet::reset.

Calls MR_NodeBitSet_reset_0().

◆ reset() [2/3]

meshlib.NodeBitSet meshlib.NodeBitSet.reset ( meshlib.NodeId n)

Generated from method MR::NodeBitSet::reset.

Calls MR_NodeBitSet_reset_1().

◆ reset() [3/3]

meshlib.NodeBitSet meshlib.NodeBitSet.reset ( meshlib.NodeId n,
long len )

Generated from method MR::NodeBitSet::reset.

Calls MR_NodeBitSet_reset_2().

◆ resize()

void meshlib.NodeBitSet.resize ( long numBits,
java.lang.Boolean fillValue )

Generated from method MR::NodeBitSet::resize.

Calls MR_NodeBitSet_resize().

◆ resizeWithReserve()

void meshlib.NodeBitSet.resizeWithReserve ( long newSize)

same as resize(newSize), which already grows the capacity geometrically Generated from method MR::NodeBitSet::resizeWithReserve.

Calls MR_NodeBitSet_resizeWithReserve().

◆ reverse()

void meshlib.NodeBitSet.reverse ( )

changes the order of bits on the opposite Generated from method MR::NodeBitSet::reverse.

Calls MR_NodeBitSet_reverse().

◆ set() [1/4]

meshlib.NodeBitSet meshlib.NodeBitSet.set ( )

Generated from method MR::NodeBitSet::set.

Calls MR_NodeBitSet_set_all().

◆ set() [2/4]

meshlib.NodeBitSet meshlib.NodeBitSet.set ( meshlib.NodeId n)

Generated from method MR::NodeBitSet::set.

Calls MR_NodeBitSet_set_bit().

◆ set() [3/4]

meshlib.NodeBitSet meshlib.NodeBitSet.set ( meshlib.NodeId n,
boolean val )

Generated from method MR::NodeBitSet::set.

Calls MR_NodeBitSet_set().

◆ set() [4/4]

meshlib.NodeBitSet meshlib.NodeBitSet.set ( meshlib.NodeId n,
long len,
boolean val )

Generated from method MR::NodeBitSet::set.

Calls MR_NodeBitSet_set_range().

◆ shrink_to_fit()

void meshlib.NodeBitSet.shrink_to_fit ( )

Generated from method MR::NodeBitSet::shrink_to_fit.

Calls MR_NodeBitSet_shrink_to_fit().

◆ size()

long meshlib.NodeBitSet.size ( )

Generated from method MR::NodeBitSet::size.

Calls MR_NodeBitSet_size().

◆ staticDowncastFromBitSet()

meshlib.NodeBitSet meshlib.NodeBitSet.staticDowncastFromBitSet ( meshlib.BitSet object)
static

Static downcast from the base class MR::BitSet. Undefined behavior if the object isn't actually a NodeBitSet. The result refers to object.

Calls MR_NodeBitSet_MutableStaticDowncastFrom_MR_BitSet().

◆ sub_assign()

meshlib.NodeBitSet meshlib.NodeBitSet.sub_assign ( meshlib.NodeBitSet b)

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

Calls MR_NodeBitSet_sub_assign().

◆ subtract()

meshlib.NodeBitSet meshlib.NodeBitSet.subtract ( meshlib.NodeBitSet b,
int bShiftInBlocks )

subtracts b from this, considering that bits in b are shifted right on bShiftInBlocks*bits_per_block Generated from method MR::NodeBitSet::subtract.

Calls MR_NodeBitSet_subtract().

◆ test()

boolean meshlib.NodeBitSet.test ( meshlib.NodeId n)

Generated from method MR::NodeBitSet::test.

Calls MR_NodeBitSet_test().

◆ test_set()

boolean meshlib.NodeBitSet.test_set ( meshlib.NodeId n,
java.lang.Boolean val )

Generated from method MR::NodeBitSet::test_set.

Calls MR_NodeBitSet_test_set().

◆ uncheckedTest()

boolean meshlib.NodeBitSet.uncheckedTest ( long n)

Generated from method MR::NodeBitSet::uncheckedTest.

Calls MR_NodeBitSet_uncheckedTest().

◆ uncheckedTestSet()

boolean meshlib.NodeBitSet.uncheckedTestSet ( long n,
java.lang.Boolean val )

Generated from method MR::NodeBitSet::uncheckedTestSet.

Calls MR_NodeBitSet_uncheckedTestSet().

◆ upcastToBitSet()

meshlib.BitSet meshlib.NodeBitSet.upcastToBitSet ( )

Upcasts to the base class MR::BitSet. The result refers to this object.

Calls MR_NodeBitSet_MutableUpcastTo_MR_BitSet().

◆ xor_assign()

meshlib.NodeBitSet meshlib.NodeBitSet.xor_assign ( meshlib.NodeBitSet b)

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

Calls MR_NodeBitSet_xor_assign().


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