|
| unsafe | BitSet () |
| | creates empty bitset
|
| unsafe | BitSet (MR._ByValue_BitSet _other) |
| | Generated from constructor MR.BitSet.BitSet.
|
| | BitSet (Const_BitSet _other) |
| | Generated from constructor MR.BitSet.BitSet.
|
| | BitSet (BitSet _other) |
| | Generated from constructor MR.BitSet.BitSet.
|
| unsafe | BitSet (nuint numBits, bool? fillValue=null) |
| | creates bitset of given size filled with given value Generated from constructor MR.BitSet.BitSet. Parameter fillValue defaults to false.
|
| unsafe MR.BitSet | assign (MR._ByValue_BitSet _other) |
| | Generated from method MR::BitSet::operator=.
|
| unsafe void | reserve (nuint numBits) |
| | Generated from method MR.BitSet.reserve.
|
| unsafe void | resize (nuint numBits, bool? fillValue=null) |
| | Generated from method MR.BitSet.resize. Parameter fillValue defaults to false.
|
| unsafe void | clear () |
| | Generated from method MR.BitSet.clear.
|
| unsafe void | shrinkToFit () |
| | Generated from method MR::BitSet::shrink_to_fit.
|
| unsafe bool | uncheckedTestSet (nuint n, bool? val=null) |
| | Generated from method MR.BitSet.uncheckedTestSet. Parameter val defaults to true.
|
| unsafe bool | testSet (nuint n, bool? val=null) |
| | Generated from method MR::BitSet::test_set. Parameter val defaults to true.
|
| unsafe MR.BitSet | set (nuint n, nuint len, bool val) |
| | Generated from method MR.BitSet.set.
|
| unsafe MR.BitSet | set (nuint n, bool val) |
| | Generated from method MR.BitSet.set.
|
| unsafe MR.BitSet | set (nuint n) |
| | Generated from method MR.BitSet.set.
|
| unsafe MR.BitSet | set () |
| | Generated from method MR.BitSet.set.
|
| unsafe bool | atomicTestSet (nuint n) |
| | sets n-th bit and returns its previous value; it is safe to call simultaneously from several threads for any bits of the same bitset, provided no other modification of the bitset (including resizing) is performed in parallel Generated from method MR.BitSet.atomicTestSet.
|
| unsafe MR.BitSet | reset (nuint n, nuint len) |
| | Generated from method MR.BitSet.reset.
|
| unsafe MR.BitSet | reset (nuint n) |
| | Generated from method MR.BitSet.reset.
|
| unsafe MR.BitSet | reset () |
| | Generated from method MR.BitSet.reset.
|
| unsafe MR.BitSet | flip (nuint n, nuint len) |
| | Generated from method MR.BitSet.flip.
|
| unsafe MR.BitSet | flip (nuint n) |
| | Generated from method MR.BitSet.flip.
|
| unsafe MR.BitSet | flip () |
| | Generated from method MR.BitSet.flip.
|
| unsafe void | reverse () |
| | changes the order of bits on the opposite Generated from method MR.BitSet.reverse.
|
| unsafe void | pushBack (bool val) |
| | adds one more bit with the given value in the container, increasing its size on 1 Generated from method MR::BitSet::push_back.
|
| unsafe void | popBack () |
| | removes last bit from the container, decreasing its size on 1 Generated from method MR::BitSet::pop_back.
|
| unsafe MR.BitSet | bitandAssign (MR.Const_BitSet b) |
| | Generated from method MR::BitSet::operator&=.
|
| unsafe MR.BitSet | bitorAssign (MR.Const_BitSet b) |
| | Generated from method MR::BitSet::operator|=.
|
| unsafe MR.BitSet | xorAssign (MR.Const_BitSet b) |
| | Generated from method MR::BitSet::operator^=.
|
| unsafe MR.BitSet | subAssign (MR.Const_BitSet b) |
| | Generated from method MR::BitSet::operator-=.
|
| unsafe MR.BitSet | subtract (MR.Const_BitSet b, int bShiftInBlocks) |
| | subtracts b from this, considering that bits in b are shifted right on bShiftInBlocks*bits_per_block Generated from method MR.BitSet.subtract.
|
| unsafe void | resizeWithReserve (nuint newSize) |
| | same as resize(newSize), which already grows the capacity geometrically Generated from method MR.BitSet.resizeWithReserve.
|
| unsafe void | autoResizeSet (nuint pos, nuint len, bool? val=null) |
| | sets elements [pos, pos+len) to given value, adjusting the size of the set to include new elements Generated from method MR.BitSet.autoResizeSet. Parameter val defaults to true.
|
| unsafe void | autoResizeSet (nuint pos, bool? val=null) |
| | Generated from method MR.BitSet.autoResizeSet. Parameter val defaults to true.
|
| unsafe bool | autoResizeTestSet (nuint pos, bool? val=null) |
| | same as autoResizeSet and returns previous value of pos-bit Generated from method MR.BitSet.autoResizeTestSet. Parameter val defaults to true.
|
| virtual void | Dispose () |
| IEnumerator< nuint > | GetEnumerator () |
| unsafe | Const_BitSet () |
| | creates empty bitset
|
| unsafe | Const_BitSet (MR._ByValue_BitSet _other) |
| | Generated from constructor MR.BitSet.BitSet.
|
| | Const_BitSet (Const_BitSet _other) |
| | Generated from constructor MR.BitSet.BitSet.
|
| | Const_BitSet (BitSet _other) |
| | Generated from constructor MR.BitSet.BitSet.
|
| unsafe | Const_BitSet (nuint numBits, bool? fillValue=null) |
| | creates bitset of given size filled with given value Generated from constructor MR.BitSet.BitSet. Parameter fillValue defaults to false.
|
| unsafe bool | empty () |
| | Generated from method MR.BitSet.empty.
|
| unsafe nuint | size () |
| | Generated from method MR.BitSet.size.
|
| unsafe nuint | numBlocks () |
| | Generated from method MR::BitSet::num_blocks.
|
| unsafe nuint | capacity () |
| | Generated from method MR.BitSet.capacity.
|
| unsafe bool | uncheckedTest (nuint n) |
| | Generated from method MR.BitSet.uncheckedTest.
|
| unsafe bool | test (nuint n) |
| | Generated from method MR.BitSet.test.
|
| unsafe MR.Std.Const_Vector_Uint64T_MRAllocatorUint64T | bits () |
| | read-only access to all bits stored as a vector of uint64 blocks Generated from method MR.BitSet.bits.
|
| unsafe bool | all () |
| | returns true if all bits in this container are set Generated from method MR.BitSet.all.
|
| unsafe bool | any () |
| | returns true if at least one bits in this container is set Generated from method MR.BitSet.any.
|
| unsafe bool | none () |
| | returns true if all bits in this container are reset Generated from method MR.BitSet.none.
|
| unsafe nuint | count () |
| | computes the number of set bits in the whole set Generated from method MR.BitSet.count.
|
| unsafe MR.BitSet.Counts | countBitsAndBlocks (nuint? maxBits=null) |
| | 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.BitSet.countBitsAndBlocks. Parameter maxBits defaults to ~MR::BitSet::size_type{}.
|
| unsafe nuint | findFirst () |
| | return the smallest index i such that bit i is set, or npos if *this has no on bits. Generated from method MR::BitSet::find_first.
|
| unsafe nuint | findNext (nuint n) |
| | return the smallest index i>n such that bit i is set, or npos if *this has no on bits. Generated from method MR::BitSet::find_next.
|
| unsafe nuint | findLast () |
| | return the highest index i such that bit i is set, or npos if *this has no on bits. Generated from method MR::BitSet::find_last.
|
| unsafe nuint | findFirstNotSet () |
| | return the smallest index i such that bit i is NOT set, or npos if *this has no off bits. Generated from method MR::BitSet::find_first_not_set.
|
| unsafe nuint | findNextNotSet (nuint n) |
| | return the smallest index i>n such that bit i is NOT set, or npos if *this has no off bits. Generated from method MR::BitSet::find_next_not_set.
|
| unsafe nuint | findLastNotSet () |
| | return the highest index i such that bit i is NOT set, or npos if *this has no off bits. Generated from method MR::BitSet::find_last_not_set.
|
| unsafe nuint | nthSetBit (nuint n) |
| | returns the location of nth set bit (where the first bit corresponds to n=0) or npos if there are less bit set Generated from method MR.BitSet.nthSetBit.
|
| unsafe bool | isSubsetOf (MR.Const_BitSet 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::BitSet::is_subset_of.
|
| unsafe bool | intersects (MR.Const_BitSet 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.BitSet.intersects.
|
| unsafe nuint | heapBytes () |
| | returns the amount of memory this object occupies on heap Generated from method MR.BitSet.heapBytes.
|
| unsafe nuint | backId () |
| | returns the identifier of the back() element Generated from method MR.BitSet.backId.
|
| unsafe nuint | endId () |
| | Generated from method MR.BitSet.endId.
|
| bool | Equals (MR.Const_BitSet? b) |
| override bool | Equals (object? other) |
std::vector<bool> like container (random-access, size_t - index type, bool - value type) with all bits after size() considered off during testing Generated from class MR.BitSet. Derived classes: Direct: (non-virtual) MR.EdgeBitSet MR.FaceBitSet MR.GraphEdgeBitSet MR.GraphVertBitSet MR.NodeBitSet MR.ObjBitSet MR.PixelBitSet MR.RegionBitSet MR.TextureBitSet MR::TypedBitSet<MR::Id<MR::ICPElemtTag>> MR::TypedBitSet<MR::Id<MR::SurfaceDistanceStartTag>> MR.UndirectedEdgeBitSet MR.VertBitSet MR.VoxelBitSet This is the non-const half of the class.