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

Public Member Functions

 ObjBitSet (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ObjBitSet ()
 ObjBitSet (meshlib.ObjBitSet _other)
 ObjBitSet (long numBits, java.lang.Boolean fillValue)
meshlib.ObjBitSet assignFromAnother (meshlib.ObjBitSet _other)
meshlib.ObjBitSet set (meshlib.ObjId n, long len, boolean val)
meshlib.ObjBitSet set (meshlib.ObjId n, boolean val)
meshlib.ObjBitSet set (meshlib.ObjId n)
meshlib.ObjBitSet set ()
boolean atomicTestSet (meshlib.ObjId n)
meshlib.ObjBitSet reset (meshlib.ObjId n, long len)
meshlib.ObjBitSet reset (meshlib.ObjId n)
meshlib.ObjBitSet reset ()
meshlib.ObjBitSet flip (meshlib.ObjId n, long len)
meshlib.ObjBitSet flip (meshlib.ObjId n)
meshlib.ObjBitSet flip ()
boolean test (meshlib.ObjId n)
boolean test_set (meshlib.ObjId n, java.lang.Boolean val)
meshlib.ObjId find_first ()
meshlib.ObjId find_next (meshlib.ObjId pos)
meshlib.ObjId find_last ()
meshlib.ObjId find_first_not_set ()
meshlib.ObjId find_next_not_set (meshlib.ObjId pos)
meshlib.ObjId find_last_not_set ()
meshlib.ObjId nthSetBit (long n)
meshlib.ObjBitSet bitand_assign (meshlib.ObjBitSet b)
meshlib.ObjBitSet bitor_assign (meshlib.ObjBitSet b)
meshlib.ObjBitSet xor_assign (meshlib.ObjBitSet b)
meshlib.ObjBitSet sub_assign (meshlib.ObjBitSet b)
meshlib.ObjBitSet subtract (meshlib.ObjBitSet b, int bShiftInBlocks)
boolean is_subset_of (meshlib.ObjBitSet a)
boolean intersects (meshlib.ObjBitSet a)
void autoResizeSet (meshlib.ObjId pos, long len, java.lang.Boolean val)
void autoResizeSet (meshlib.ObjId pos, java.lang.Boolean val)
boolean autoResizeTestSet (meshlib.ObjId pos, java.lang.Boolean val)
meshlib.ObjBitSet getMapping (meshlib.ObjMap map)
meshlib.ObjBitSet getMapping (meshlib.BMap_MR_ObjId_MR_ObjId map)
meshlib.ObjBitSet getMapping (meshlib.phmap.phmap_flat_hash_map_MR_ObjId_MR_ObjId_phmap_Hash_MR_ObjId_phmap_EqualTo_MR_ObjId_MR_Allocator_std_pa__8b8b51c7 map)
meshlib.ObjBitSet getMapping (meshlib.ObjMap map, long resSize)
meshlib.ObjBitSet getMapping (meshlib.phmap.phmap_flat_hash_map_MR_ObjId_MR_ObjId_phmap_Hash_MR_ObjId_phmap_EqualTo_MR_ObjId_MR_Allocator_std_pa__8b8b51c7 map, long resSize)
meshlib.ObjId backId ()
meshlib.ObjId 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.ObjBitSet construct_1_const_MR_BitSet_ref (meshlib.BitSet src)
static meshlib.ObjBitSet construct_1_MR_BitSet_rvalue_ref (meshlib.BitSet src)
static meshlib.ObjId 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.ObjBitSet 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::ObjBitSet. Base classes: Direct: (non-virtual) MR::BitSet

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

Constructor & Destructor Documentation

◆ ObjBitSet() [1/4]

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

◆ ObjBitSet() [2/4]

meshlib.ObjBitSet.ObjBitSet ( )

Constructs an empty (default-constructed) instance.

Calls MR_ObjBitSet_DefaultConstruct().

◆ ObjBitSet() [3/4]

meshlib.ObjBitSet.ObjBitSet ( meshlib.ObjBitSet _other)

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

Calls MR_ObjBitSet_ConstructFromAnother().

◆ ObjBitSet() [4/4]

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

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

Calls MR_ObjBitSet_Construct_2().

Member Function Documentation

◆ all()

boolean meshlib.ObjBitSet.all ( )

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

Calls MR_ObjBitSet_all().

◆ any()

boolean meshlib.ObjBitSet.any ( )

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

Calls MR_ObjBitSet_any().

◆ assignFromAnother()

meshlib.ObjBitSet meshlib.ObjBitSet.assignFromAnother ( meshlib.ObjBitSet _other)

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

Calls MR_ObjBitSet_AssignFromAnother().

◆ atomicTestSet()

boolean meshlib.ObjBitSet.atomicTestSet ( meshlib.ObjId n)

Generated from method MR::ObjBitSet::atomicTestSet.

Calls MR_ObjBitSet_atomicTestSet().

◆ autoResizeSet() [1/2]

void meshlib.ObjBitSet.autoResizeSet ( meshlib.ObjId pos,
java.lang.Boolean val )

Generated from method MR::ObjBitSet::autoResizeSet.

Calls MR_ObjBitSet_autoResizeSet().

◆ autoResizeSet() [2/2]

void meshlib.ObjBitSet.autoResizeSet ( meshlib.ObjId pos,
long len,
java.lang.Boolean val )

Generated from method MR::ObjBitSet::autoResizeSet.

Calls MR_ObjBitSet_autoResizeSet_range().

◆ autoResizeTestSet()

boolean meshlib.ObjBitSet.autoResizeTestSet ( meshlib.ObjId pos,
java.lang.Boolean val )

Generated from method MR::ObjBitSet::autoResizeTestSet.

Calls MR_ObjBitSet_autoResizeTestSet().

◆ backId()

meshlib.ObjId meshlib.ObjBitSet.backId ( )

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

Calls MR_ObjBitSet_backId().

◆ beginId()

meshlib.ObjId meshlib.ObjBitSet.beginId ( )
static

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

Calls MR_ObjBitSet_beginId().

◆ bitand_assign()

meshlib.ObjBitSet meshlib.ObjBitSet.bitand_assign ( meshlib.ObjBitSet b)

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

Calls MR_ObjBitSet_bitand_assign().

◆ bitor_assign()

meshlib.ObjBitSet meshlib.ObjBitSet.bitor_assign ( meshlib.ObjBitSet b)

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

Calls MR_ObjBitSet_bitor_assign().

◆ bits()

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

Calls MR_ObjBitSet_bits().

◆ bits_per_block()

long meshlib.ObjBitSet.bits_per_block ( )
static

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

Calls MR_ObjBitSet_Get_bits_per_block().

◆ capacity()

long meshlib.ObjBitSet.capacity ( )

Generated from method MR::ObjBitSet::capacity.

Calls MR_ObjBitSet_capacity().

◆ clear()

void meshlib.ObjBitSet.clear ( )

Generated from method MR::ObjBitSet::clear.

Calls MR_ObjBitSet_clear().

◆ construct_1_const_MR_BitSet_ref()

meshlib.ObjBitSet meshlib.ObjBitSet.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::ObjBitSet::ObjBitSet. The reference to the parameter src might be preserved in the constructed object.

Calls MR_ObjBitSet_Construct_1_const_MR_BitSet_ref().

◆ construct_1_MR_BitSet_rvalue_ref()

meshlib.ObjBitSet meshlib.ObjBitSet.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::ObjBitSet::ObjBitSet. The reference to the parameter src might be preserved in the constructed object.

Calls MR_ObjBitSet_Construct_1_MR_BitSet_rvalue_ref().

◆ count()

long meshlib.ObjBitSet.count ( )

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

Calls MR_ObjBitSet_count().

◆ countBitsAndBlocks()

meshlib.BitSet_Counts meshlib.ObjBitSet.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::ObjBitSet::countBitsAndBlocks.

Calls MR_ObjBitSet_countBitsAndBlocks().

◆ empty()

boolean meshlib.ObjBitSet.empty ( )

Generated from method MR::ObjBitSet::empty.

Calls MR_ObjBitSet_empty().

◆ endId()

meshlib.ObjId meshlib.ObjBitSet.endId ( )

Generated from method MR::ObjBitSet::endId.

Calls MR_ObjBitSet_endId().

◆ find_first()

meshlib.ObjId meshlib.ObjBitSet.find_first ( )

Generated from method MR::ObjBitSet::find_first.

Calls MR_ObjBitSet_find_first().

◆ find_first_not_set()

meshlib.ObjId meshlib.ObjBitSet.find_first_not_set ( )

Generated from method MR::ObjBitSet::find_first_not_set.

Calls MR_ObjBitSet_find_first_not_set().

◆ find_last()

meshlib.ObjId meshlib.ObjBitSet.find_last ( )

Generated from method MR::ObjBitSet::find_last.

Calls MR_ObjBitSet_find_last().

◆ find_last_not_set()

meshlib.ObjId meshlib.ObjBitSet.find_last_not_set ( )

Generated from method MR::ObjBitSet::find_last_not_set.

Calls MR_ObjBitSet_find_last_not_set().

◆ find_next()

meshlib.ObjId meshlib.ObjBitSet.find_next ( meshlib.ObjId pos)

Generated from method MR::ObjBitSet::find_next.

Calls MR_ObjBitSet_find_next().

◆ find_next_not_set()

meshlib.ObjId meshlib.ObjBitSet.find_next_not_set ( meshlib.ObjId pos)

Generated from method MR::ObjBitSet::find_next_not_set.

Calls MR_ObjBitSet_find_next_not_set().

◆ flip() [1/3]

meshlib.ObjBitSet meshlib.ObjBitSet.flip ( )

Generated from method MR::ObjBitSet::flip.

Calls MR_ObjBitSet_flip_0().

◆ flip() [2/3]

meshlib.ObjBitSet meshlib.ObjBitSet.flip ( meshlib.ObjId n)

Generated from method MR::ObjBitSet::flip.

Calls MR_ObjBitSet_flip_1().

◆ flip() [3/3]

meshlib.ObjBitSet meshlib.ObjBitSet.flip ( meshlib.ObjId n,
long len )

Generated from method MR::ObjBitSet::flip.

Calls MR_ObjBitSet_flip_2().

◆ fromBlocks()

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

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

Calls MR_ObjBitSet_fromBlocks().

◆ getMapping() [1/5]

meshlib.ObjBitSet meshlib.ObjBitSet.getMapping ( meshlib.BMap_MR_ObjId_MR_ObjId map)

Generated from method MR::ObjBitSet::getMapping.

Calls MR_ObjBitSet_getMapping_1_MR_BMap_MR_ObjId_MR_ObjId().

◆ getMapping() [2/5]

meshlib.ObjBitSet meshlib.ObjBitSet.getMapping ( meshlib.ObjMap map)

Generated from method MR::ObjBitSet::getMapping.

Calls MR_ObjBitSet_getMapping_1_MR_ObjMap().

◆ getMapping() [3/5]

meshlib.ObjBitSet meshlib.ObjBitSet.getMapping ( meshlib.ObjMap map,
long resSize )

Generated from method MR::ObjBitSet::getMapping.

Calls MR_ObjBitSet_getMapping_2_MR_ObjMap().

◆ getMapping() [4/5]

Generated from method MR::ObjBitSet::getMapping.

Calls MR_ObjBitSet_getMapping_1_phmap_flat_hash_map_MR_ObjId_MR_ObjId_phmap_Hash_MR_ObjId_phmap_EqualTo_MR_ObjId_MR_Allocator_std_pair_const_MR_ObjId_MR_ObjId().

◆ getMapping() [5/5]

Generated from method MR::ObjBitSet::getMapping.

Calls MR_ObjBitSet_getMapping_2_phmap_flat_hash_map_MR_ObjId_MR_ObjId_phmap_Hash_MR_ObjId_phmap_EqualTo_MR_ObjId_MR_Allocator_std_pair_const_MR_ObjId_MR_ObjId().

◆ heapBytes()

long meshlib.ObjBitSet.heapBytes ( )

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

Calls MR_ObjBitSet_heapBytes().

◆ intersects()

boolean meshlib.ObjBitSet.intersects ( meshlib.ObjBitSet 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::ObjBitSet::intersects.

Calls MR_ObjBitSet_intersects().

◆ is_subset_of()

boolean meshlib.ObjBitSet.is_subset_of ( meshlib.ObjBitSet 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::ObjBitSet::is_subset_of.

Calls MR_ObjBitSet_is_subset_of().

◆ none()

boolean meshlib.ObjBitSet.none ( )

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

Calls MR_ObjBitSet_none().

◆ npos()

long meshlib.ObjBitSet.npos ( )
static

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

Calls MR_ObjBitSet_Get_npos().

◆ nthSetBit()

meshlib.ObjId meshlib.ObjBitSet.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::ObjBitSet::nthSetBit.

Calls MR_ObjBitSet_nthSetBit().

◆ num_blocks()

long meshlib.ObjBitSet.num_blocks ( )

Generated from method MR::ObjBitSet::num_blocks.

Calls MR_ObjBitSet_num_blocks().

◆ pop_back()

void meshlib.ObjBitSet.pop_back ( )

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

Calls MR_ObjBitSet_pop_back().

◆ push_back()

void meshlib.ObjBitSet.push_back ( boolean val)

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

Calls MR_ObjBitSet_push_back().

◆ reserve()

void meshlib.ObjBitSet.reserve ( long numBits)

Generated from method MR::ObjBitSet::reserve.

Calls MR_ObjBitSet_reserve().

◆ reset() [1/3]

meshlib.ObjBitSet meshlib.ObjBitSet.reset ( )

Generated from method MR::ObjBitSet::reset.

Calls MR_ObjBitSet_reset_0().

◆ reset() [2/3]

meshlib.ObjBitSet meshlib.ObjBitSet.reset ( meshlib.ObjId n)

Generated from method MR::ObjBitSet::reset.

Calls MR_ObjBitSet_reset_1().

◆ reset() [3/3]

meshlib.ObjBitSet meshlib.ObjBitSet.reset ( meshlib.ObjId n,
long len )

Generated from method MR::ObjBitSet::reset.

Calls MR_ObjBitSet_reset_2().

◆ resize()

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

Generated from method MR::ObjBitSet::resize.

Calls MR_ObjBitSet_resize().

◆ resizeWithReserve()

void meshlib.ObjBitSet.resizeWithReserve ( long newSize)

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

Calls MR_ObjBitSet_resizeWithReserve().

◆ reverse()

void meshlib.ObjBitSet.reverse ( )

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

Calls MR_ObjBitSet_reverse().

◆ set() [1/4]

meshlib.ObjBitSet meshlib.ObjBitSet.set ( )

Generated from method MR::ObjBitSet::set.

Calls MR_ObjBitSet_set_all().

◆ set() [2/4]

meshlib.ObjBitSet meshlib.ObjBitSet.set ( meshlib.ObjId n)

Generated from method MR::ObjBitSet::set.

Calls MR_ObjBitSet_set_bit().

◆ set() [3/4]

meshlib.ObjBitSet meshlib.ObjBitSet.set ( meshlib.ObjId n,
boolean val )

Generated from method MR::ObjBitSet::set.

Calls MR_ObjBitSet_set().

◆ set() [4/4]

meshlib.ObjBitSet meshlib.ObjBitSet.set ( meshlib.ObjId n,
long len,
boolean val )

Generated from method MR::ObjBitSet::set.

Calls MR_ObjBitSet_set_range().

◆ shrink_to_fit()

void meshlib.ObjBitSet.shrink_to_fit ( )

Generated from method MR::ObjBitSet::shrink_to_fit.

Calls MR_ObjBitSet_shrink_to_fit().

◆ size()

long meshlib.ObjBitSet.size ( )

Generated from method MR::ObjBitSet::size.

Calls MR_ObjBitSet_size().

◆ staticDowncastFromBitSet()

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

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

Calls MR_ObjBitSet_MutableStaticDowncastFrom_MR_BitSet().

◆ sub_assign()

meshlib.ObjBitSet meshlib.ObjBitSet.sub_assign ( meshlib.ObjBitSet b)

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

Calls MR_ObjBitSet_sub_assign().

◆ subtract()

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

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

Calls MR_ObjBitSet_subtract().

◆ test()

boolean meshlib.ObjBitSet.test ( meshlib.ObjId n)

Generated from method MR::ObjBitSet::test.

Calls MR_ObjBitSet_test().

◆ test_set()

boolean meshlib.ObjBitSet.test_set ( meshlib.ObjId n,
java.lang.Boolean val )

Generated from method MR::ObjBitSet::test_set.

Calls MR_ObjBitSet_test_set().

◆ uncheckedTest()

boolean meshlib.ObjBitSet.uncheckedTest ( long n)

Generated from method MR::ObjBitSet::uncheckedTest.

Calls MR_ObjBitSet_uncheckedTest().

◆ uncheckedTestSet()

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

Generated from method MR::ObjBitSet::uncheckedTestSet.

Calls MR_ObjBitSet_uncheckedTestSet().

◆ upcastToBitSet()

meshlib.BitSet meshlib.ObjBitSet.upcastToBitSet ( )

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

Calls MR_ObjBitSet_MutableUpcastTo_MR_BitSet().

◆ xor_assign()

meshlib.ObjBitSet meshlib.ObjBitSet.xor_assign ( meshlib.ObjBitSet b)

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

Calls MR_ObjBitSet_xor_assign().


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