![]() |
XII Release 0.1.0
|
#include <IterateBits.h>
Public Member Functions | |
xiiIterateBits (DataType data) | |
xiiBitIterator< DataType, ReturnsIndex, ReturnType > | begin () const |
xiiBitIterator< DataType, ReturnsIndex, ReturnType > | end () const |
Public Attributes | |
DataType | m_Data = {} |
Helper base class to iterate over the bit indices or bit values of an integer.
DataType | The type of data that is being iterated over. |
ReturnsIndex | If set, returns the index of the bit. Otherwise returns the value of the bit, i.e. XII_BIT(value). |
ReturnType | Returned value type of the iterator. |