BitMagic-C++
|
Template class implements memory saving set functionality. More...
#include <bmvmin.h>
Public Member Functions | |
miniset () | |
miniset (const miniset &mset) | |
~miniset () | |
More... | |
unsigned | test (bm::id_t n) const |
Checks if bit pos 1 or 0. Returns 0 if 0 and non zero otherwise. More... | |
void | set (bm::id_t n, bool val=true) |
More... | |
unsigned | mem_used () const |
More... | |
void | swap (miniset &mset) |
Template class implements memory saving set functionality.
|
inline |
Definition at line 134 of file bmvmin.h.
References BM_MINISET_ARRSIZE, and BM_MINISET_GAPLEN.
|
inline |
Definition at line 100 of file bmvmin.h.
References BM_MINISET_GAPLEN, bm::gap_set_value(), bm::set_word_mask, and bm::set_word_shift.
|
inline |
Checks if bit pos 1 or 0. Returns 0 if 0 and non zero otherwise.
Definition at line 89 of file bmvmin.h.
References bm::gap_test(), bm::set_word_mask, and bm::set_word_shift.