MeshLib C# Docs
Loading...
Searching...
No Matches
MR.ObjBitSet Class Reference

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 This is the non-const half of the class. More...

+ Inheritance diagram for MR.ObjBitSet:

Public Member Functions

unsafe ObjBitSet ()
 Constructs an empty (default-constructed) instance.
 
unsafe ObjBitSet (MR._ByValue_ObjBitSet _other)
 Generated from constructor MR.ObjBitSet.ObjBitSet.
 
unsafe ObjBitSet (ulong numBits, bool? fillValue=null)
 creates bitset of given size filled with given value Generated from constructor MR.ObjBitSet.ObjBitSet. Parameter fillValue defaults to false.
 
unsafe ObjBitSet (MR.Const_BitSet src)
 copies all bits from another BitSet (or a descending class, e.g. TypedBitSet) Generated from constructor MR.ObjBitSet.ObjBitSet.
 
unsafe ObjBitSet (MR.Misc._Moved< MR.BitSet > src)
 moves all bits from another BitSet (or a descending class, e.g. TypedBitSet) Generated from constructor MR.ObjBitSet.ObjBitSet.
 
unsafe MR.ObjBitSet assign (MR._ByValue_ObjBitSet _other)
 Generated from method MR.ObjBitSet.operator=.
 
unsafe MR.ObjBitSet set (MR.ObjId n, ulong len, bool val)
 Generated from method MR.ObjBitSet.set.
 
unsafe MR.ObjBitSet set (MR.ObjId n, bool val)
 Generated from method MR.ObjBitSet.set.
 
unsafe MR.ObjBitSet set (MR.ObjId n)
 Generated from method MR.ObjBitSet.set.
 
unsafe MR.ObjBitSet set ()
 Generated from method MR.ObjBitSet.set.
 
unsafe MR.ObjBitSet reset (MR.ObjId n, ulong len)
 Generated from method MR.ObjBitSet.reset.
 
unsafe MR.ObjBitSet reset (MR.ObjId n)
 Generated from method MR.ObjBitSet.reset.
 
unsafe MR.ObjBitSet reset ()
 Generated from method MR.ObjBitSet.reset.
 
unsafe MR.ObjBitSet flip (MR.ObjId n, ulong len)
 Generated from method MR.ObjBitSet.flip.
 
unsafe MR.ObjBitSet flip (MR.ObjId n)
 Generated from method MR.ObjBitSet.flip.
 
unsafe MR.ObjBitSet flip ()
 Generated from method MR.ObjBitSet.flip.
 
unsafe bool testSet (MR.ObjId n, bool? val=null)
 Generated from method MR.ObjBitSet.test_set. Parameter val defaults to true.
 
unsafe MR.ObjBitSet bitandAssign (MR.Const_ObjBitSet b)
 Generated from method MR.ObjBitSet.operator&=.
 
unsafe MR.ObjBitSet bitorAssign (MR.Const_ObjBitSet b)
 Generated from method MR.ObjBitSet.operator|=.
 
unsafe MR.ObjBitSet xorAssign (MR.Const_ObjBitSet b)
 Generated from method MR.ObjBitSet.operator^=.
 
unsafe MR.ObjBitSet subAssign (MR.Const_ObjBitSet b)
 Generated from method MR.ObjBitSet.operator-=.
 
unsafe MR.ObjBitSet subtract (MR.Const_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.
 
unsafe void autoResizeSet (MR.ObjId pos, ulong len, bool? val=null)
 Generated from method MR.ObjBitSet.autoResizeSet. Parameter val defaults to true.
 
unsafe void autoResizeSet (MR.ObjId pos, bool? val=null)
 Generated from method MR.ObjBitSet.autoResizeSet. Parameter val defaults to true.
 
unsafe bool autoResizeTestSet (MR.ObjId pos, bool? val=null)
 Generated from method MR.ObjBitSet.autoResizeTestSet. Parameter val defaults to true.
 
unsafe void reserve (ulong numBits)
 Generated from method MR.ObjBitSet.reserve.
 
unsafe void resize (ulong numBits, bool? fillValue=null)
 Generated from method MR.ObjBitSet.resize. Parameter fillValue defaults to false.
 
unsafe void clear ()
 Generated from method MR.ObjBitSet.clear.
 
unsafe void shrinkToFit ()
 Generated from method MR.ObjBitSet.shrink_to_fit.
 
unsafe bool uncheckedTestSet (ulong n, bool? val=null)
 Generated from method MR.ObjBitSet.uncheckedTestSet. Parameter val defaults to true.
 
unsafe void reverse ()
 changes the order of bits on the opposite Generated from method MR.ObjBitSet.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.ObjBitSet.push_back.
 
unsafe void popBack ()
 removes last bit from the container, decreasing its size on 1 Generated from method MR.ObjBitSet.pop_back.
 
unsafe void resizeWithReserve (ulong newSize)
 doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.ObjBitSet.resizeWithReserve.
 
- Public Member Functions inherited from MR.Const_ObjBitSet
virtual void Dispose ()
 
unsafe Const_ObjBitSet ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_ObjBitSet (MR._ByValue_ObjBitSet _other)
 Generated from constructor MR.ObjBitSet.ObjBitSet.
 
unsafe Const_ObjBitSet (ulong numBits, bool? fillValue=null)
 creates bitset of given size filled with given value Generated from constructor MR.ObjBitSet.ObjBitSet. Parameter fillValue defaults to false.
 
unsafe Const_ObjBitSet (MR.Const_BitSet src)
 copies all bits from another BitSet (or a descending class, e.g. TypedBitSet) Generated from constructor MR.ObjBitSet.ObjBitSet.
 
unsafe Const_ObjBitSet (MR.Misc._Moved< MR.BitSet > src)
 moves all bits from another BitSet (or a descending class, e.g. TypedBitSet) Generated from constructor MR.ObjBitSet.ObjBitSet.
 
unsafe bool test (MR.ObjId n)
 Generated from method MR.ObjBitSet.test.
 
unsafe MR.ObjId findFirst ()
 Generated from method MR.ObjBitSet.find_first.
 
unsafe MR.ObjId findNext (MR.ObjId pos)
 Generated from method MR.ObjBitSet.find_next.
 
unsafe MR.ObjId findLast ()
 Generated from method MR.ObjBitSet.find_last.
 
unsafe MR.ObjId nthSetBit (ulong 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.
 
unsafe bool isSubsetOf (MR.Const_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.
 
unsafe bool intersects (MR.Const_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.
 
unsafe MR.ObjBitSet getMapping (MR.Const_ObjMap map)
 Generated from method MR.ObjBitSet.getMapping.
 
unsafe MR.ObjBitSet getMapping (MR.Const_BMap_MRObjId_MRObjId map)
 Generated from method MR.ObjBitSet.getMapping.
 
unsafe MR.ObjBitSet getMapping (MR.Phmap.Const_FlatHashMap_MRObjId_MRObjId map)
 Generated from method MR.ObjBitSet.getMapping.
 
unsafe MR.ObjBitSet getMapping (MR.Const_ObjMap map, ulong resSize)
 Generated from method MR.ObjBitSet.getMapping.
 
unsafe MR.ObjBitSet getMapping (MR.Phmap.Const_FlatHashMap_MRObjId_MRObjId map, ulong resSize)
 Generated from method MR.ObjBitSet.getMapping.
 
unsafe MR.ObjId backId ()
 returns the identifier of the back() element Generated from method MR.ObjBitSet.backId.
 
unsafe MR.ObjId endId ()
 Generated from method MR.ObjBitSet.endId.
 
unsafe bool empty ()
 Generated from method MR.ObjBitSet.empty.
 
unsafe ulong size ()
 Generated from method MR.ObjBitSet.size.
 
unsafe ulong numBlocks ()
 Generated from method MR.ObjBitSet.num_blocks.
 
unsafe ulong capacity ()
 Generated from method MR.ObjBitSet.capacity.
 
unsafe bool uncheckedTest (ulong n)
 Generated from method MR.ObjBitSet.uncheckedTest.
 
unsafe MR.Std.Const_Vector_MRUint64T bits ()
 read-only access to all bits stored as a vector of uint64 blocks Generated from method MR.ObjBitSet.bits.
 
unsafe bool all ()
 returns true if all bits in this container are set Generated from method MR.ObjBitSet.all.
 
unsafe bool any ()
 returns true if at least one bits in this container is set Generated from method MR.ObjBitSet.any.
 
unsafe bool none ()
 returns true if all bits in this container are reset Generated from method MR.ObjBitSet.none.
 
unsafe ulong count ()
 computes the number of set bits in the whole set Generated from method MR.ObjBitSet.count.
 
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.ObjBitSet.heapBytes.
 

Static Public Member Functions

static unsafe implicit operator MR.BitSet (ObjBitSet self)
 
- Static Public Member Functions inherited from MR.Const_ObjBitSet
static unsafe implicit operator MR.Const_BitSet (Const_ObjBitSet self)
 
static MR.ObjId beginId ()
 [beginId(), endId()) is the range of all bits in the set Generated from method MR.ObjBitSet.beginId.
 
static unsafe MR.BitSet fromBlocks (MR.Misc._Moved< MR.Std.Vector_MRUint64T > blocks)
 creates bitset from the given blocks of bits Generated from method MR.ObjBitSet.fromBlocks.
 
static unsafe MR.ObjBitSet operator& (MR.Const_ObjBitSet a, MR.Const_ObjBitSet b)
 Generated from function MR.operator&.
 
static unsafe MR.ObjBitSet operator| (MR.Const_ObjBitSet a, MR.Const_ObjBitSet b)
 Generated from function MR.operator|.
 
static unsafe MR.ObjBitSet operator^ (MR.Const_ObjBitSet a, MR.Const_ObjBitSet b)
 Generated from function MR.operator^.
 
static unsafe MR.ObjBitSet operator- (MR.Const_ObjBitSet a, MR.Const_ObjBitSet b)
 Generated from function MR.operator-.
 

Additional Inherited Members

- Protected Member Functions inherited from MR.Const_ObjBitSet
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_ObjBitSet >
bool _IsOwningVal
 
- Properties inherited from MR.Const_ObjBitSet
static unsafe ulong BitsPerBlock [get]
 
static unsafe ulong Npos [get]
 
- Properties inherited from MR.Misc.Object< Const_ObjBitSet >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

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 This is the non-const half of the class.


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