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

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&lt;MR::Id&lt;MR::ICPElemtTag&gt;&gt; MR.UndirectedEdgeBitSet MR.VertBitSet MR.VoxelBitSet This is the const half of the class. More...

Inheritance diagram for MR.Const_BitSet:

Classes

class  _Enumerator
struct  _Underlying

Public Member Functions

virtual void Dispose ()
IEnumerator< ulong > GetEnumerator ()
unsafe Const_BitSet ()
 Constructs an empty (default-constructed) instance.
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 (ulong 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 ulong size ()
 Generated from method MR.BitSet.size.
unsafe ulong numBlocks ()
 Generated from method MR::BitSet::num_blocks.
unsafe ulong capacity ()
 Generated from method MR.BitSet.capacity.
unsafe bool uncheckedTest (ulong n)
 Generated from method MR.BitSet.uncheckedTest.
unsafe bool test (ulong n)
 Generated from method MR.BitSet.test.
unsafe MR.Std.Const_Vector_MRUint64T 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 ulong count ()
 computes the number of set bits in the whole set Generated from method MR.BitSet.count.
unsafe ulong 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 ulong findNext (ulong 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 ulong 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 ulong 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 ulong findNextNotSet (ulong 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 ulong 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 ulong nthSetBit (ulong 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 ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.BitSet.heapBytes.
unsafe ulong backId ()
 returns the identifier of the back() element Generated from method MR.BitSet.backId.
unsafe ulong endId ()
 Generated from method MR.BitSet.endId.
bool Equals (MR.Const_BitSet? b)
override bool Equals (object? other)

Static Public Member Functions

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.BitSet.fromBlocks.
static ulong beginId ()
 [beginId(), endId()) is the range of all bits in the set Generated from method MR.BitSet.beginId.
static unsafe bool operator== (MR.Const_BitSet a, MR.Const_BitSet b)
 compare that two bit sets have the same set bits (they can be equal even if sizes are distinct but last bits are off) Generated from function MR::operator==.
static unsafe bool operator!= (MR.Const_BitSet a, MR.Const_BitSet b)
static unsafe MR.BitSet operator& (MR.Const_BitSet a, MR.Const_BitSet b)
 Generated from function MR::operator&amp;.
static unsafe MR.BitSet operator| (MR.Const_BitSet a, MR.Const_BitSet b)
 Generated from function MR::operator|.
static unsafe MR.BitSet operator^ (MR.Const_BitSet a, MR.Const_BitSet b)
 Generated from function MR::operator^.
static unsafe MR.BitSet operator- (MR.Const_BitSet a, MR.Const_BitSet b)
 Generated from function MR::operator-.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Static Protected Attributes

static unsafe ulong * __ref_storage_BitsPerBlock
static unsafe ulong * __ref_storage_Npos

Properties

static unsafe ulong BitsPerBlock [get]
static unsafe ulong Npos [get]

Detailed Description

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&lt;MR::Id&lt;MR::ICPElemtTag&gt;&gt; MR.UndirectedEdgeBitSet MR.VertBitSet MR.VoxelBitSet This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_BitSet() [1/5]

unsafe MR.Const_BitSet.Const_BitSet ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_BitSet() [2/5]

unsafe MR.Const_BitSet.Const_BitSet ( MR._ByValue_BitSet _other)
inline

Generated from constructor MR.BitSet.BitSet.

◆ Const_BitSet() [3/5]

MR.Const_BitSet.Const_BitSet ( Const_BitSet _other)
inline

Generated from constructor MR.BitSet.BitSet.

◆ Const_BitSet() [4/5]

MR.Const_BitSet.Const_BitSet ( BitSet _other)
inline

Generated from constructor MR.BitSet.BitSet.

◆ Const_BitSet() [5/5]

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

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

Member Function Documentation

◆ all()

unsafe bool MR.Const_BitSet.all ( )
inline

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

◆ any()

unsafe bool MR.Const_BitSet.any ( )
inline

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

◆ backId()

unsafe ulong MR.Const_BitSet.backId ( )
inline

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

◆ beginId()

ulong MR.Const_BitSet.beginId ( )
inlinestatic

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

◆ bits()

unsafe MR.Std.Const_Vector_MRUint64T MR.Const_BitSet.bits ( )
inline

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

◆ capacity()

unsafe ulong MR.Const_BitSet.capacity ( )
inline

Generated from method MR.BitSet.capacity.

◆ count()

unsafe ulong MR.Const_BitSet.count ( )
inline

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

◆ Dispose() [1/2]

virtual void MR.Const_BitSet.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_BitSet.Dispose ( bool disposing)
inlineprotectedvirtual

◆ empty()

unsafe bool MR.Const_BitSet.empty ( )
inline

Generated from method MR.BitSet.empty.

◆ endId()

unsafe ulong MR.Const_BitSet.endId ( )
inline

Generated from method MR.BitSet.endId.

◆ Equals() [1/2]

bool MR.Const_BitSet.Equals ( MR.Const_BitSet? b)
inline

◆ Equals() [2/2]

override bool MR.Const_BitSet.Equals ( object? other)
inline

◆ findFirst()

unsafe ulong MR.Const_BitSet.findFirst ( )
inline

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.

◆ findFirstNotSet()

unsafe ulong MR.Const_BitSet.findFirstNotSet ( )
inline

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.

◆ findLast()

unsafe ulong MR.Const_BitSet.findLast ( )
inline

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.

◆ findLastNotSet()

unsafe ulong MR.Const_BitSet.findLastNotSet ( )
inline

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.

◆ findNext()

unsafe ulong MR.Const_BitSet.findNext ( ulong n)
inline

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.

◆ findNextNotSet()

unsafe ulong MR.Const_BitSet.findNextNotSet ( ulong n)
inline

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.

◆ fromBlocks()

unsafe MR.BitSet MR.Const_BitSet.fromBlocks ( MR.Misc._Moved< MR.Std.Vector_MRUint64T > blocks)
inlinestatic

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

◆ GetEnumerator()

IEnumerator< ulong > MR.Const_BitSet.GetEnumerator ( )
inline

◆ heapBytes()

unsafe ulong MR.Const_BitSet.heapBytes ( )
inline

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

◆ intersects()

unsafe bool MR.Const_BitSet.intersects ( MR.Const_BitSet a)
inline

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.

◆ isSubsetOf()

unsafe bool MR.Const_BitSet.isSubsetOf ( MR.Const_BitSet a)
inline

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.

◆ none()

unsafe bool MR.Const_BitSet.none ( )
inline

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

◆ nthSetBit()

unsafe ulong MR.Const_BitSet.nthSetBit ( ulong n)
inline

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.

◆ numBlocks()

unsafe ulong MR.Const_BitSet.numBlocks ( )
inline

Generated from method MR::BitSet::num_blocks.

◆ operator!=()

unsafe bool MR.Const_BitSet.operator!= ( MR.Const_BitSet a,
MR.Const_BitSet b )
inlinestatic

◆ operator&()

unsafe MR.BitSet MR.Const_BitSet.operator& ( MR.Const_BitSet a,
MR.Const_BitSet b )
inlinestatic

Generated from function MR::operator&amp;.

◆ operator-()

unsafe MR.BitSet MR.Const_BitSet.operator- ( MR.Const_BitSet a,
MR.Const_BitSet b )
inlinestatic

Generated from function MR::operator-.

◆ operator==()

unsafe bool MR.Const_BitSet.operator== ( MR.Const_BitSet a,
MR.Const_BitSet b )
inlinestatic

compare that two bit sets have the same set bits (they can be equal even if sizes are distinct but last bits are off) Generated from function MR::operator==.

◆ operator^()

unsafe MR.BitSet MR.Const_BitSet.operator^ ( MR.Const_BitSet a,
MR.Const_BitSet b )
inlinestatic

Generated from function MR::operator^.

◆ operator|()

unsafe MR.BitSet MR.Const_BitSet.operator| ( MR.Const_BitSet a,
MR.Const_BitSet b )
inlinestatic

Generated from function MR::operator|.

◆ size()

unsafe ulong MR.Const_BitSet.size ( )
inline

Generated from method MR.BitSet.size.

◆ test()

unsafe bool MR.Const_BitSet.test ( ulong n)
inline

Generated from method MR.BitSet.test.

◆ uncheckedTest()

unsafe bool MR.Const_BitSet.uncheckedTest ( ulong n)
inline

Generated from method MR.BitSet.uncheckedTest.

Member Data Documentation

◆ __ref_storage_BitsPerBlock

unsafe ulong* MR.Const_BitSet.__ref_storage_BitsPerBlock
staticprotected

◆ __ref_storage_Npos

unsafe ulong* MR.Const_BitSet.__ref_storage_Npos
staticprotected

Property Documentation

◆ BitsPerBlock

unsafe ulong MR.Const_BitSet.BitsPerBlock
staticget

◆ Npos

unsafe ulong MR.Const_BitSet.Npos
staticget

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