HL::BitIndex Class Reference
#include <bitindex.h>
List of all members.
Public Member Functions |
| BitIndex (void) |
| ~BitIndex (void) |
Static Public Member Functions |
static void | set (unsigned long &b, int index) |
static void | reset (unsigned long &b, int index) |
static int | lsb (unsigned long b) |
static int | msb (unsigned long b) |
Private Types |
enum | { debruijn32 = 0x077CB531UL
} |
Private Member Functions |
void | setup (void) |
Static Private Attributes |
static int | index32 [32] |
static unsigned long | lgtable [16] |
static unsigned long | on [32] |
static unsigned long | off [32] |
Member Enumeration Documentation
Constructor & Destructor Documentation
HL::BitIndex::BitIndex |
( |
void |
|
) |
|
HL::BitIndex::~BitIndex |
( |
void |
|
) |
[inline] |
Member Function Documentation
static int HL::BitIndex::lsb |
( |
unsigned long |
b |
) |
[inline, static] |
static int HL::BitIndex::msb |
( |
unsigned long |
b |
) |
[inline, static] |
static void HL::BitIndex::reset |
( |
unsigned long & |
b, |
|
|
int |
index | |
|
) |
| | [inline, static] |
static void HL::BitIndex::set |
( |
unsigned long & |
b, |
|
|
int |
index | |
|
) |
| | [inline, static] |
void HL::BitIndex::setup |
( |
void |
|
) |
[private] |
Member Data Documentation
The documentation for this class was generated from the following file: