HDK
|
Iterate over bits that are turned on. More...
#include <UT_BitArray.h>
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = exint |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
iterator () | |
~iterator () | |
exint | getBit () const |
Get the current iteration state. More... | |
exint | operator* () const |
void | rewind () |
void | advance () |
bool | operator== (const iterator &i) const |
bool | operator!= (const iterator &i) const |
bool | atEnd () const |
iterator & | operator++ () |
Friends | |
class | UT_BitArray |
Iterate over bits that are turned on.
Definition at line 133 of file UT_BitArray.h.
using UT_BitArray::iterator::difference_type = std::ptrdiff_t |
Definition at line 138 of file UT_BitArray.h.
using UT_BitArray::iterator::iterator_category = std::forward_iterator_tag |
Definition at line 136 of file UT_BitArray.h.
using UT_BitArray::iterator::pointer = value_type* |
Definition at line 139 of file UT_BitArray.h.
Definition at line 140 of file UT_BitArray.h.
Definition at line 137 of file UT_BitArray.h.
|
inline |
Definition at line 142 of file UT_BitArray.h.
|
inline |
Definition at line 147 of file UT_BitArray.h.
|
inline |
Definition at line 182 of file UT_BitArray.h.
|
inline |
Standard iterator interface
Definition at line 166 of file UT_BitArray.h.
|
inline |
Get the current iteration state.
Definition at line 151 of file UT_BitArray.h.
|
inline |
Standard iterator interface
Definition at line 162 of file UT_BitArray.h.
|
inline |
Definition at line 152 of file UT_BitArray.h.
|
inline |
Standard iterator interface
Definition at line 170 of file UT_BitArray.h.
|
inline |
Standard iterator interface
Definition at line 156 of file UT_BitArray.h.
|
inline |
Definition at line 173 of file UT_BitArray.h.
|
friend |
Definition at line 203 of file UT_BitArray.h.