Non-modifying enumerator of elements of a bit set.
More...
#include <base/collection/BitSet.h>
Inherits BitSet::BitSetEnumerator< ReadEnumeratorTraits >.
Non-modifying enumerator of elements of a bit set.
Enumerator of elements of a bit set.
- Version
- 1.0
- Examples
- testsuite/BitSet.cpp.
◆ BitSetReadEnumerator() [1/2]
BitSet::BitSetReadEnumerator::BitSetReadEnumerator |
( |
const unsigned long * |
_word, |
|
|
MemorySize |
_count |
|
) |
| |
|
inlineexplicitprotectednoexcept |
Initializes an enumeration of all the elements of a bit set.
- Parameters
-
word | Specifies the beginning of the enumeration. |
count | The number of bits in the set. |
◆ BitSetReadEnumerator() [2/2]
Initializes enumeration from other enumeration.
◆ hasNext()
bool BitSet::BitSetReadEnumerator::hasNext |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ next()
EnumReference BitSet::BitSetReadEnumerator::next |
( |
| ) |
|
|
inlinevirtual |
◆ operator!=()
Returns true if the enumerations aren't pointing to the same position.
◆ operator==()
Returns true if the enumerations are pointing to the same position.
◆ count
MemorySize BitSet::BitSetReadEnumerator::count = 0 |
|
protected |
◆ current
EnumReference BitSet::BitSetReadEnumerator::current |
|
protected |
◆ word
const unsigned long* BitSet::BitSetReadEnumerator::word = nullptr |
|
protected |
The current position in the enumeration.