Закрытые статические члены | |
static int | IDToIndex (int id) |
static int | IDToMask (int id) |
static array< int > | CreateMaskArray (int size) |
Creates an array which will be able to accomodate 'size' number of unique IDs. | |
static int | GetBitCount (array< int > bit_array) |
Returns number of bits this array can hold. | |
static int | IDToNumOfItems (int id) |
Returns number of INTs required to hold this ID minus 1(ie for 32, the result is 0, for 33, the result is 1) | |
static array< int > | CreateArrayWithID (int id) |
static bool | IsMaskContainID (array< int > bit_array, int id) |
static bool | AddIDToMask (array< int > bit_array, int id) |
См. определение в файле BitArray.c строка 5