C++ Reference: class RevBitSet
Note: This documentation is automatically generated.
This class represents a reversible bitset. This class is useful to maintain supports.Method | |
---|---|
Cardinality | Return type: Returns the number of bits set to one. |
ClearAll | Return type: Arguments: Cleans all bits. |
GetFirstBit | Return type: Arguments: Gets the index of the first bit set starting from start. It returns -1 if the bitset is empty after start. |
IsCardinalityOne | Return type: Does it contains only one bit set? |
IsCardinalityZero | Return type: Is bitset null? |
IsSet | Return type: Arguments: Returns whether the 'index' bit is set. |
RevBitSet | Return type: Arguments: |
~RevBitSet | |
SetToOne | Return type: Arguments: Sets the 'index' bit. |
SetToZero | Return type: Arguments: Erases the 'index' bit. |