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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ EdgeBitSet() [1/4]

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

◆ EdgeBitSet() [2/4]

meshlib.EdgeBitSet.EdgeBitSet ( )

Constructs an empty (default-constructed) instance.

Calls MR_EdgeBitSet_DefaultConstruct().

◆ EdgeBitSet() [3/4]

meshlib.EdgeBitSet.EdgeBitSet ( meshlib.EdgeBitSet _other)

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

Calls MR_EdgeBitSet_ConstructFromAnother().

◆ EdgeBitSet() [4/4]

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

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

Calls MR_EdgeBitSet_Construct_2().

Member Function Documentation

◆ all()

boolean meshlib.EdgeBitSet.all ( )

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

Calls MR_EdgeBitSet_all().

◆ any()

boolean meshlib.EdgeBitSet.any ( )

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

Calls MR_EdgeBitSet_any().

◆ assignFromAnother()

meshlib.EdgeBitSet meshlib.EdgeBitSet.assignFromAnother ( meshlib.EdgeBitSet _other)

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

Calls MR_EdgeBitSet_AssignFromAnother().

◆ atomicTestSet()

boolean meshlib.EdgeBitSet.atomicTestSet ( meshlib.EdgeId n)

Generated from method MR::EdgeBitSet::atomicTestSet.

Calls MR_EdgeBitSet_atomicTestSet().

◆ autoResizeSet() [1/2]

void meshlib.EdgeBitSet.autoResizeSet ( meshlib.EdgeId pos,
java.lang.Boolean val )

Generated from method MR::EdgeBitSet::autoResizeSet.

Calls MR_EdgeBitSet_autoResizeSet().

◆ autoResizeSet() [2/2]

void meshlib.EdgeBitSet.autoResizeSet ( meshlib.EdgeId pos,
long len,
java.lang.Boolean val )

Generated from method MR::EdgeBitSet::autoResizeSet.

Calls MR_EdgeBitSet_autoResizeSet_range().

◆ autoResizeTestSet()

boolean meshlib.EdgeBitSet.autoResizeTestSet ( meshlib.EdgeId pos,
java.lang.Boolean val )

Generated from method MR::EdgeBitSet::autoResizeTestSet.

Calls MR_EdgeBitSet_autoResizeTestSet().

◆ backId()

meshlib.EdgeId meshlib.EdgeBitSet.backId ( )

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

Calls MR_EdgeBitSet_backId().

◆ beginId()

meshlib.EdgeId meshlib.EdgeBitSet.beginId ( )
static

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

Calls MR_EdgeBitSet_beginId().

◆ bitand_assign()

meshlib.EdgeBitSet meshlib.EdgeBitSet.bitand_assign ( meshlib.EdgeBitSet b)

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

Calls MR_EdgeBitSet_bitand_assign().

◆ bitor_assign()

meshlib.EdgeBitSet meshlib.EdgeBitSet.bitor_assign ( meshlib.EdgeBitSet b)

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

Calls MR_EdgeBitSet_bitor_assign().

◆ bits()

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

Calls MR_EdgeBitSet_bits().

◆ bits_per_block()

long meshlib.EdgeBitSet.bits_per_block ( )
static

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

Calls MR_EdgeBitSet_Get_bits_per_block().

◆ capacity()

long meshlib.EdgeBitSet.capacity ( )

Generated from method MR::EdgeBitSet::capacity.

Calls MR_EdgeBitSet_capacity().

◆ clear()

void meshlib.EdgeBitSet.clear ( )

Generated from method MR::EdgeBitSet::clear.

Calls MR_EdgeBitSet_clear().

◆ construct_1_const_MR_BitSet_ref()

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

Calls MR_EdgeBitSet_Construct_1_const_MR_BitSet_ref().

◆ construct_1_MR_BitSet_rvalue_ref()

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

Calls MR_EdgeBitSet_Construct_1_MR_BitSet_rvalue_ref().

◆ count()

long meshlib.EdgeBitSet.count ( )

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

Calls MR_EdgeBitSet_count().

◆ countBitsAndBlocks()

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

Calls MR_EdgeBitSet_countBitsAndBlocks().

◆ empty()

boolean meshlib.EdgeBitSet.empty ( )

Generated from method MR::EdgeBitSet::empty.

Calls MR_EdgeBitSet_empty().

◆ endId()

meshlib.EdgeId meshlib.EdgeBitSet.endId ( )

Generated from method MR::EdgeBitSet::endId.

Calls MR_EdgeBitSet_endId().

◆ find_first()

meshlib.EdgeId meshlib.EdgeBitSet.find_first ( )

Generated from method MR::EdgeBitSet::find_first.

Calls MR_EdgeBitSet_find_first().

◆ find_first_not_set()

meshlib.EdgeId meshlib.EdgeBitSet.find_first_not_set ( )

Generated from method MR::EdgeBitSet::find_first_not_set.

Calls MR_EdgeBitSet_find_first_not_set().

◆ find_last()

meshlib.EdgeId meshlib.EdgeBitSet.find_last ( )

Generated from method MR::EdgeBitSet::find_last.

Calls MR_EdgeBitSet_find_last().

◆ find_last_not_set()

meshlib.EdgeId meshlib.EdgeBitSet.find_last_not_set ( )

Generated from method MR::EdgeBitSet::find_last_not_set.

Calls MR_EdgeBitSet_find_last_not_set().

◆ find_next()

meshlib.EdgeId meshlib.EdgeBitSet.find_next ( meshlib.EdgeId pos)

Generated from method MR::EdgeBitSet::find_next.

Calls MR_EdgeBitSet_find_next().

◆ find_next_not_set()

meshlib.EdgeId meshlib.EdgeBitSet.find_next_not_set ( meshlib.EdgeId pos)

Generated from method MR::EdgeBitSet::find_next_not_set.

Calls MR_EdgeBitSet_find_next_not_set().

◆ flip() [1/3]

meshlib.EdgeBitSet meshlib.EdgeBitSet.flip ( )

Generated from method MR::EdgeBitSet::flip.

Calls MR_EdgeBitSet_flip_0().

◆ flip() [2/3]

meshlib.EdgeBitSet meshlib.EdgeBitSet.flip ( meshlib.EdgeId n)

Generated from method MR::EdgeBitSet::flip.

Calls MR_EdgeBitSet_flip_1().

◆ flip() [3/3]

meshlib.EdgeBitSet meshlib.EdgeBitSet.flip ( meshlib.EdgeId n,
long len )

Generated from method MR::EdgeBitSet::flip.

Calls MR_EdgeBitSet_flip_2().

◆ fromBlocks()

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

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

Calls MR_EdgeBitSet_fromBlocks().

◆ getMapping() [1/5]

meshlib.EdgeBitSet meshlib.EdgeBitSet.getMapping ( meshlib.EdgeBMap map)

Generated from method MR::EdgeBitSet::getMapping.

Calls MR_EdgeBitSet_getMapping_1_MR_EdgeBMap().

◆ getMapping() [2/5]

meshlib.EdgeBitSet meshlib.EdgeBitSet.getMapping ( meshlib.EdgeMap map)

Generated from method MR::EdgeBitSet::getMapping.

Calls MR_EdgeBitSet_getMapping_1_MR_EdgeMap().

◆ getMapping() [3/5]

meshlib.EdgeBitSet meshlib.EdgeBitSet.getMapping ( meshlib.EdgeMap map,
long resSize )

Generated from method MR::EdgeBitSet::getMapping.

Calls MR_EdgeBitSet_getMapping_2_MR_EdgeMap().

◆ getMapping() [4/5]

Generated from method MR::EdgeBitSet::getMapping.

Calls MR_EdgeBitSet_getMapping_1_phmap_flat_hash_map_MR_EdgeId_MR_EdgeId_phmap_Hash_MR_EdgeId_phmap_EqualTo_MR_EdgeId_MR_Allocator_std_pair_const_MR_EdgeId_MR_EdgeId().

◆ getMapping() [5/5]

Generated from method MR::EdgeBitSet::getMapping.

Calls MR_EdgeBitSet_getMapping_2_phmap_flat_hash_map_MR_EdgeId_MR_EdgeId_phmap_Hash_MR_EdgeId_phmap_EqualTo_MR_EdgeId_MR_Allocator_std_pair_const_MR_EdgeId_MR_EdgeId().

◆ heapBytes()

long meshlib.EdgeBitSet.heapBytes ( )

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

Calls MR_EdgeBitSet_heapBytes().

◆ intersects()

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

Calls MR_EdgeBitSet_intersects().

◆ is_subset_of()

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

Calls MR_EdgeBitSet_is_subset_of().

◆ none()

boolean meshlib.EdgeBitSet.none ( )

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

Calls MR_EdgeBitSet_none().

◆ npos()

long meshlib.EdgeBitSet.npos ( )
static

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

Calls MR_EdgeBitSet_Get_npos().

◆ nthSetBit()

meshlib.EdgeId meshlib.EdgeBitSet.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::EdgeBitSet::nthSetBit.

Calls MR_EdgeBitSet_nthSetBit().

◆ num_blocks()

long meshlib.EdgeBitSet.num_blocks ( )

Generated from method MR::EdgeBitSet::num_blocks.

Calls MR_EdgeBitSet_num_blocks().

◆ pop_back()

void meshlib.EdgeBitSet.pop_back ( )

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

Calls MR_EdgeBitSet_pop_back().

◆ push_back()

void meshlib.EdgeBitSet.push_back ( boolean val)

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

Calls MR_EdgeBitSet_push_back().

◆ reserve()

void meshlib.EdgeBitSet.reserve ( long numBits)

Generated from method MR::EdgeBitSet::reserve.

Calls MR_EdgeBitSet_reserve().

◆ reset() [1/3]

meshlib.EdgeBitSet meshlib.EdgeBitSet.reset ( )

Generated from method MR::EdgeBitSet::reset.

Calls MR_EdgeBitSet_reset_0().

◆ reset() [2/3]

meshlib.EdgeBitSet meshlib.EdgeBitSet.reset ( meshlib.EdgeId n)

Generated from method MR::EdgeBitSet::reset.

Calls MR_EdgeBitSet_reset_1().

◆ reset() [3/3]

meshlib.EdgeBitSet meshlib.EdgeBitSet.reset ( meshlib.EdgeId n,
long len )

Generated from method MR::EdgeBitSet::reset.

Calls MR_EdgeBitSet_reset_2().

◆ resize()

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

Generated from method MR::EdgeBitSet::resize.

Calls MR_EdgeBitSet_resize().

◆ resizeWithReserve()

void meshlib.EdgeBitSet.resizeWithReserve ( long newSize)

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

Calls MR_EdgeBitSet_resizeWithReserve().

◆ reverse()

void meshlib.EdgeBitSet.reverse ( )

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

Calls MR_EdgeBitSet_reverse().

◆ set() [1/4]

meshlib.EdgeBitSet meshlib.EdgeBitSet.set ( )

Generated from method MR::EdgeBitSet::set.

Calls MR_EdgeBitSet_set_all().

◆ set() [2/4]

meshlib.EdgeBitSet meshlib.EdgeBitSet.set ( meshlib.EdgeId n)

Generated from method MR::EdgeBitSet::set.

Calls MR_EdgeBitSet_set_bit().

◆ set() [3/4]

meshlib.EdgeBitSet meshlib.EdgeBitSet.set ( meshlib.EdgeId n,
boolean val )

Generated from method MR::EdgeBitSet::set.

Calls MR_EdgeBitSet_set().

◆ set() [4/4]

meshlib.EdgeBitSet meshlib.EdgeBitSet.set ( meshlib.EdgeId n,
long len,
boolean val )

Generated from method MR::EdgeBitSet::set.

Calls MR_EdgeBitSet_set_range().

◆ shrink_to_fit()

void meshlib.EdgeBitSet.shrink_to_fit ( )

Generated from method MR::EdgeBitSet::shrink_to_fit.

Calls MR_EdgeBitSet_shrink_to_fit().

◆ size()

long meshlib.EdgeBitSet.size ( )

Generated from method MR::EdgeBitSet::size.

Calls MR_EdgeBitSet_size().

◆ staticDowncastFromBitSet()

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

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

Calls MR_EdgeBitSet_MutableStaticDowncastFrom_MR_BitSet().

◆ sub_assign()

meshlib.EdgeBitSet meshlib.EdgeBitSet.sub_assign ( meshlib.EdgeBitSet b)

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

Calls MR_EdgeBitSet_sub_assign().

◆ subtract()

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

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

Calls MR_EdgeBitSet_subtract().

◆ test()

boolean meshlib.EdgeBitSet.test ( meshlib.EdgeId n)

Generated from method MR::EdgeBitSet::test.

Calls MR_EdgeBitSet_test().

◆ test_set()

boolean meshlib.EdgeBitSet.test_set ( meshlib.EdgeId n,
java.lang.Boolean val )

Generated from method MR::EdgeBitSet::test_set.

Calls MR_EdgeBitSet_test_set().

◆ uncheckedTest()

boolean meshlib.EdgeBitSet.uncheckedTest ( long n)

Generated from method MR::EdgeBitSet::uncheckedTest.

Calls MR_EdgeBitSet_uncheckedTest().

◆ uncheckedTestSet()

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

Generated from method MR::EdgeBitSet::uncheckedTestSet.

Calls MR_EdgeBitSet_uncheckedTestSet().

◆ upcastToBitSet()

meshlib.BitSet meshlib.EdgeBitSet.upcastToBitSet ( )

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

Calls MR_EdgeBitSet_MutableUpcastTo_MR_BitSet().

◆ xor_assign()

meshlib.EdgeBitSet meshlib.EdgeBitSet.xor_assign ( meshlib.EdgeBitSet b)

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

Calls MR_EdgeBitSet_xor_assign().


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