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
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.4.0 by doxygen 1.5.8