#include <mi32/bitset.h>
Inheritance diagram for BITSET_UNOWNED:

Public Member Functions | |
| virtual ERRVALUE | Assign (UINT8 *set, UINT32 NumEntries) |
| ITERATOR | Begin (bool value=true) const |
| BITSET_UNOWNED (UINT8 *set, UINT32 NumEntries) | |
| BITSET_UNOWNED () | |
| 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 |
| bool | GetBit (UINT32 posn) 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_UNOWNED & | operator &= (const BITSET_UNOWNED &rhs) |
| operator const UINT8 * () const | |
| operator UINT8 * () | |
| BITSET_UNOWNED & | operator^= (const BITSET_UNOWNED &rhs) |
| BITSET_UNOWNED & | operator|= (const BITSET_UNOWNED &rhs) |
| void | Set (UINT32 posn) |
| void | SetAll () |
| void | SetBit (UINT32 posn, bool value) |
| void | SetRange (UINT32 min, UINT32 max) |
| virtual | ~BITSET_UNOWNED () |
Protected Attributes | |
| UINT8 * | m_Array |
| UINT32 | m_ArraySize |
| UINT32 | m_NumEntries |
Classes | |
| class | ITERATOR |
| Iterator to step forward through all selected items in a BITSET. More... | |
Definition at line 190 of file bitset.h.
| BITSET_UNOWNED::BITSET_UNOWNED | ( | ) |
Default constructor.
Constructor to convert old bit-array's into BITSET_UNOWNEDs.
| set | Old bit array set |
| NumEntries | Number of items in old bit array, not size in bytes |
| virtual BITSET_UNOWNED::~BITSET_UNOWNED | ( | ) | [virtual] |
Destructor.
Assign from old type bit arrays.
| set | Pointer to old bit-array |
| NumEntries | Number of items in old bit array |
Reimplemented in BITSET, and BITSET_SHARED.
| ITERATOR BITSET_UNOWNED::Begin | ( | bool | value = true |
) | const [inline] |
| void BITSET_UNOWNED::Clear | ( | UINT32 | posn | ) | [inline] |
| void BITSET_UNOWNED::ClearAll | ( | ) | [inline] |
Transfer value from source to dest entry.
Replaces putbit(set, DestPosn, getbit(set, SourcePosn)).
| DestPosn | where setting goes to |
| SourcePosn | where setting comes from |
| INT32 BITSET_UNOWNED::CountValues | ( | bool | value = true |
) | const |
Count the values in the set.
Iterates through the set, so should not be used in time-critical code.
| ITERATOR BITSET_UNOWNED::End | ( | ) | const [inline] |
| bool BITSET_UNOWNED::GetBit | ( | UINT32 | posn | ) | const [inline] |
| UINT32 BITSET_UNOWNED::GetNumEntries | ( | ) | const [inline] |
Get a range of entries that are set continuously in the bitset.
| StartPosn | Staring position |
| MaxEnd | Maximum ending position |
| EndPosn | Ending position (inclusive) RETURNED |
| bool BITSET_UNOWNED::HasEntries | ( | ) | const [inline] |
| bool BITSET_UNOWNED::HasMultiple | ( | bool | value | ) | const |
Determine if has multiple entries with specified value.
| bool BITSET_UNOWNED::HasValue | ( | bool | value | ) | const [inline] |
| void BITSET_UNOWNED::Invert | ( | UINT32 | posn | ) | [inline] |
| void BITSET_UNOWNED::InvertAll | ( | ) |
Invert all entries in bit set.
| BITSET_UNOWNED& BITSET_UNOWNED::operator &= | ( | const BITSET_UNOWNED & | rhs | ) |
Bitwise AND.
If the bit sets are not the same size the set will be unaltered.
| BITSET_UNOWNED::operator const UINT8 * | ( | ) | const [inline] |
| BITSET_UNOWNED::operator UINT8 * | ( | ) | [inline] |
| BITSET_UNOWNED& BITSET_UNOWNED::operator^= | ( | const BITSET_UNOWNED & | rhs | ) |
Bitwise XOR.
If the bit sets are not the same size the set will be unaltered.
| BITSET_UNOWNED& BITSET_UNOWNED::operator|= | ( | const BITSET_UNOWNED & | rhs | ) |
Bitwise OR.
If the bit sets are not the same size the set will be unaltered.
| void BITSET_UNOWNED::Set | ( | UINT32 | posn | ) | [inline] |
| void BITSET_UNOWNED::SetAll | ( | ) |
Set all entries to true, opposite of ClearAll().
Turn all bit positions to true.
| void BITSET_UNOWNED::SetBit | ( | UINT32 | posn, | |
| bool | value | |||
| ) | [inline] |
UINT8* BITSET_UNOWNED::m_Array [protected] |
UINT32 BITSET_UNOWNED::m_ArraySize [protected] |
UINT32 BITSET_UNOWNED::m_NumEntries [protected] |
1.5.2