C++ Reference: class SmallRevBitSet
Note: This documentation is automatically generated.
This class represents a small reversible bitset (size <= 64). This class is useful to maintain supports.Method | |
---|---|
Cardinality | Return type: Returns the number of bits set to one. |
GetFirstOne | Return type: Gets the index of the first bit set starting from 0. It returns -1 if the bitset is empty. |
IsCardinalityOne | Return type: Does it contains only one bit set? |
IsCardinalityZero | Return type: Is bitset null? |
SetToOne | Return type: Arguments: Sets the 'pos' bit. |
SetToZero | Return type: Arguments: Erases the 'pos' bit. |
SmallRevBitSet | Return type: Arguments: |