MeshLib C# Docs
Loading...
Searching...
No Matches

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

Inheritance diagram for MR.NodeBitSet:

Public Member Functions

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

Static Public Member Functions

static unsafe implicit operator MR.BitSet (NodeBitSet self)
Static Public Member Functions inherited from MR.Const_NodeBitSet
static unsafe implicit operator MR.Const_BitSet (Const_NodeBitSet self)
static MR.NodeId beginId ()
 [beginId(), endId()) is the range of all bits in the set Generated from method MR.NodeBitSet.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.NodeBitSet.fromBlocks.
static unsafe MR.NodeBitSet operator& (MR.Const_NodeBitSet a, MR.Const_NodeBitSet b)
 Generated from function MR::operator&amp;.
static unsafe MR.NodeBitSet operator| (MR.Const_NodeBitSet a, MR.Const_NodeBitSet b)
 Generated from function MR::operator|.
static unsafe MR.NodeBitSet operator^ (MR.Const_NodeBitSet a, MR.Const_NodeBitSet b)
 Generated from function MR::operator^.
static unsafe MR.NodeBitSet operator- (MR.Const_NodeBitSet a, MR.Const_NodeBitSet b)
 Generated from function MR::operator-.

Additional Inherited Members

Protected Member Functions inherited from MR.Const_NodeBitSet
virtual unsafe void Dispose (bool disposing)
Static Protected Attributes inherited from MR.Const_NodeBitSet
static unsafe ulong * __ref_storage_BitsPerBlock
static unsafe ulong * __ref_storage_Npos
Properties inherited from MR.Const_NodeBitSet
static unsafe ulong BitsPerBlock [get]
static unsafe ulong Npos [get]

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

Constructor & Destructor Documentation

◆ NodeBitSet() [1/7]

unsafe MR.NodeBitSet.NodeBitSet ( )
inline

Constructs an empty (default-constructed) instance.

◆ NodeBitSet() [2/7]

unsafe MR.NodeBitSet.NodeBitSet ( MR._ByValue_NodeBitSet _other)
inline

Generated from constructor MR.NodeBitSet.NodeBitSet.

◆ NodeBitSet() [3/7]

MR.NodeBitSet.NodeBitSet ( Const_NodeBitSet _other)
inline

Generated from constructor MR.NodeBitSet.NodeBitSet.

◆ NodeBitSet() [4/7]

MR.NodeBitSet.NodeBitSet ( NodeBitSet _other)
inline

Generated from constructor MR.NodeBitSet.NodeBitSet.

◆ NodeBitSet() [5/7]

unsafe MR.NodeBitSet.NodeBitSet ( ulong numBits,
bool? fillValue = null )
inline

creates bitset of given size filled with given value Generated from constructor MR.NodeBitSet.NodeBitSet. Parameter fillValue defaults to false.

◆ NodeBitSet() [6/7]

unsafe MR.NodeBitSet.NodeBitSet ( MR.Const_BitSet src)
inline

copies all bits from another BitSet (or a descending class, e.g. TypedBitSet<U>) Generated from constructor MR.NodeBitSet.NodeBitSet.

◆ NodeBitSet() [7/7]

unsafe MR.NodeBitSet.NodeBitSet ( MR.Misc._Moved< MR.BitSet > src)
inline

moves all bits from another BitSet (or a descending class, e.g. TypedBitSet<U>) Generated from constructor MR.NodeBitSet.NodeBitSet.

Member Function Documentation

◆ assign()

unsafe MR.NodeBitSet MR.NodeBitSet.assign ( MR._ByValue_NodeBitSet _other)
inline

Generated from method MR::NodeBitSet::operator=.

◆ autoResizeSet() [1/2]

unsafe void MR.NodeBitSet.autoResizeSet ( MR.NodeId pos,
bool? val = null )
inline

Generated from method MR.NodeBitSet.autoResizeSet. Parameter val defaults to true.

◆ autoResizeSet() [2/2]

unsafe void MR.NodeBitSet.autoResizeSet ( MR.NodeId pos,
ulong len,
bool? val = null )
inline

Generated from method MR.NodeBitSet.autoResizeSet. Parameter val defaults to true.

◆ autoResizeTestSet()

unsafe bool MR.NodeBitSet.autoResizeTestSet ( MR.NodeId pos,
bool? val = null )
inline

Generated from method MR.NodeBitSet.autoResizeTestSet. Parameter val defaults to true.

◆ bitandAssign()

unsafe MR.NodeBitSet MR.NodeBitSet.bitandAssign ( MR.Const_NodeBitSet b)
inline

Generated from method MR::NodeBitSet::operator&amp;=.

◆ bitorAssign()

unsafe MR.NodeBitSet MR.NodeBitSet.bitorAssign ( MR.Const_NodeBitSet b)
inline

Generated from method MR::NodeBitSet::operator|=.

◆ clear()

unsafe void MR.NodeBitSet.clear ( )
inline

Generated from method MR.NodeBitSet.clear.

◆ flip() [1/3]

unsafe MR.NodeBitSet MR.NodeBitSet.flip ( )
inline

Generated from method MR.NodeBitSet.flip.

◆ flip() [2/3]

unsafe MR.NodeBitSet MR.NodeBitSet.flip ( MR.NodeId n)
inline

Generated from method MR.NodeBitSet.flip.

◆ flip() [3/3]

unsafe MR.NodeBitSet MR.NodeBitSet.flip ( MR.NodeId n,
ulong len )
inline

Generated from method MR.NodeBitSet.flip.

◆ operator MR.BitSet()

unsafe implicit MR.NodeBitSet.operator MR.BitSet ( NodeBitSet self)
inlinestatic

◆ popBack()

unsafe void MR.NodeBitSet.popBack ( )
inline

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

◆ pushBack()

unsafe void MR.NodeBitSet.pushBack ( bool val)
inline

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

◆ reserve()

unsafe void MR.NodeBitSet.reserve ( ulong numBits)
inline

Generated from method MR.NodeBitSet.reserve.

◆ reset() [1/3]

unsafe MR.NodeBitSet MR.NodeBitSet.reset ( )
inline

Generated from method MR.NodeBitSet.reset.

◆ reset() [2/3]

unsafe MR.NodeBitSet MR.NodeBitSet.reset ( MR.NodeId n)
inline

Generated from method MR.NodeBitSet.reset.

◆ reset() [3/3]

unsafe MR.NodeBitSet MR.NodeBitSet.reset ( MR.NodeId n,
ulong len )
inline

Generated from method MR.NodeBitSet.reset.

◆ resize()

unsafe void MR.NodeBitSet.resize ( ulong numBits,
bool? fillValue = null )
inline

Generated from method MR.NodeBitSet.resize. Parameter fillValue defaults to false.

◆ resizeWithReserve()

unsafe void MR.NodeBitSet.resizeWithReserve ( ulong newSize)
inline

doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.NodeBitSet.resizeWithReserve.

◆ reverse()

unsafe void MR.NodeBitSet.reverse ( )
inline

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

◆ set() [1/4]

unsafe MR.NodeBitSet MR.NodeBitSet.set ( )
inline

Generated from method MR.NodeBitSet.set.

◆ set() [2/4]

unsafe MR.NodeBitSet MR.NodeBitSet.set ( MR.NodeId n)
inline

Generated from method MR.NodeBitSet.set.

◆ set() [3/4]

unsafe MR.NodeBitSet MR.NodeBitSet.set ( MR.NodeId n,
bool val )
inline

Generated from method MR.NodeBitSet.set.

◆ set() [4/4]

unsafe MR.NodeBitSet MR.NodeBitSet.set ( MR.NodeId n,
ulong len,
bool val )
inline

Generated from method MR.NodeBitSet.set.

◆ shrinkToFit()

unsafe void MR.NodeBitSet.shrinkToFit ( )
inline

Generated from method MR::NodeBitSet::shrink_to_fit.

◆ subAssign()

unsafe MR.NodeBitSet MR.NodeBitSet.subAssign ( MR.Const_NodeBitSet b)
inline

Generated from method MR::NodeBitSet::operator-=.

◆ subtract()

unsafe MR.NodeBitSet MR.NodeBitSet.subtract ( MR.Const_NodeBitSet b,
int bShiftInBlocks )
inline

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

◆ testSet()

unsafe bool MR.NodeBitSet.testSet ( MR.NodeId n,
bool? val = null )
inline

Generated from method MR::NodeBitSet::test_set. Parameter val defaults to true.

◆ uncheckedTestSet()

unsafe bool MR.NodeBitSet.uncheckedTestSet ( ulong n,
bool? val = null )
inline

Generated from method MR.NodeBitSet.uncheckedTestSet. Parameter val defaults to true.

◆ xorAssign()

unsafe MR.NodeBitSet MR.NodeBitSet.xorAssign ( MR.Const_NodeBitSet b)
inline

Generated from method MR::NodeBitSet::operator^=.


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