#include <bitvector.h>
Public Methods | |
ibitvector () | |
bool | test (size_t pos) const |
bool | set (size_t pos, FTAllocator &) |
void | clear () |
size_t | get_count () const |
size_t | get_size () const |
Private Attributes | |
size_t | count |
size_t | size |
block | first_block |
Static Private Attributes | |
const unsigned int | block_size = 16 |
const unsigned int | block_shift = 4 |
const unsigned int | block_mask = block_size - 1 |
const unsigned int | index_size = 16 |
const unsigned int | index_shift = 4 |
const unsigned int | index_mask = index_size - 1 |
Friends | |
class | bitvector |
This bit vector is implemented by a multi-index structure.