#include <mi32/bitsetd.h>
Public Member Functions | |
| ITERATOR | Begin (bool value=true) const |
| BITSET_DEQUE (const BITSET_DEQUE &rhs) | |
| BITSET_DEQUE () | |
| void | Clear (UINT32 posn) |
| void | ClearAll () |
| void | ClearRange (UINT32 min, UINT32 max) |
| void | CopyBit (UINT32 DestPosn, UINT32 SourcePosn) |
| INT32 | CountValues (bool value=true) const |
| ITERATOR | End () const |
| void | Free () |
| bool | GetBit (UINT32 posn) const |
| INT32 | GetBitArray (UINT8 *&array) const |
| UINT32 | GetNumEntries () const |
| bool | GetRange (UINT32 StartPosn, UINT32 MaxEnd, UINT32 &EndPosn) const |
| bool | HasEntries () const |
| bool | HasMultiple (bool value) const |
| bool | HasValue (bool value) const |
| void | Invert (UINT32 posn) |
| void | InvertAll () |
| void | InvertRange (UINT32 min, UINT32 max) |
| BITSET_DEQUE & | operator= (const BITSET_DEQUE &rhs) |
| ERRVALUE | Resize (UINT32 NumEntries) |
| void | Set (UINT32 posn) |
| void | SetAll () |
| void | SetBit (UINT32 posn, bool value) |
| void | SetRange (UINT32 min, UINT32 max) |
| ~BITSET_DEQUE () | |
|
|
|
|
|
|
|
|
|
|
|
Initialize iterator with first set or unset item in the bit set. Returns iterator to first set entry, otherwise the last+1 item if no matching item.
|
|
|
Clear value at specified position.
|
|
|
Clear bit array with false. Makes all the entries in the bit set 'false'. |
|
||||||||||||
|
Set range of entries to "false".
|
|
||||||||||||
|
Transfer value from source to dest entry. Replaces putbit(set, DestPosn, getbit(set, SourcePosn)).
|
|
|
Count the values in the set. Iterates through the set, so should not be used in time-critical code. |
|
|
Initialize iterator with last+1 item in the bit set. Returns iterator to last+1 item |
|
|
Erase BITSET_DEQUE internals, same as calling destructor.
|
|
|
Retrieve value at the requested position, true or false. Returns 'false' if the position given is outside the range of the BITSET
|
|
|
Retrieve legacy bit array from 'this' Returns number of items in the array.
|
|
|
Return the number of valid entries.
|
|
||||||||||||||||
|
Get a range of entries that are set continuously in the bitset.
|
|
|
Does bit set have any entries?
|
|
|
Determine if has multiple entries with specified value.
|
|
|
Determine if has at least one entry with specified value;.
|
|
|
Invert value at specified position.
|
|
|
Invert all entries in bit set.
|
|
||||||||||||
|
Set range of entries to inverse.
|
|
|
|
|
|
Resize BITSET to a new number of entries.
|
|
|
Set a value at the requested position to "true". Does nothing if the position given is outside range.
|
|
|
Set all entries to true, opposite of ClearAll(). Turn all bit positions to true. |
|
||||||||||||
|
Set a value at the requested position, true or false. Does nothing if the position given is outside range.
|
|
||||||||||||
|
Set range of entries to "true".
|
1.3.8-20040913