![]() |
Plasma Engine
2.0
|
#include <IterateBits.h>
Public Member Functions | |
| plIterateBits (DataType data) | |
| plBitIterator< DataType, ReturnsIndex, ReturnType > | begin () const |
| plBitIterator< 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. PL_BIT(value). |
| ReturnType | Returned value type of the iterator. |