CS::Utility::BitOps Namespace Reference
Bit operations. More...
Functions | |
uint32 | ComputeBitsSet (uint32 v) |
Compute number of bits set in given number. | |
bool | ScanBitForward (uint32 value, size_t &index) |
Compute index of first bit set, scanned from LSB to MSB. | |
bool | ScanBitReverse (uint32 value, size_t &index) |
Compute index of first bit set, scanned from MSB to LSB. |
Detailed Description
Bit operations.Function Documentation
Compute number of bits set in given number.
Definition at line 90 of file bitops.h.
Referenced by csBitArrayTweakable< >::NumBitsSet().
bool CS::Utility::BitOps::ScanBitForward | ( | uint32 | value, | |
size_t & | index | |||
) |
bool CS::Utility::BitOps::ScanBitReverse | ( | uint32 | value, | |
size_t & | index | |||
) |
Generated for Crystal Space 1.2 by doxygen 1.4.7