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, unsigned long &index) |
Compute index of first bit set, scanned from LSB to MSB. | |
bool | ScanBitReverse (uint32 value, unsigned long &index) |
Compute index of first bit set, scanned from MSB to LSB. |
Detailed Description
Bit operations.
Function Documentation
uint32 CS::Utility::BitOps::ComputeBitsSet | ( | uint32 | v | ) |
bool CS::Utility::BitOps::ScanBitForward | ( | uint32 | value, | |
unsigned long & | index | |||
) |
Generated for Crystal Space 2.0 by doxygen 1.6.1