Base class, specialization for a single word. More...
#include <BenzeneBitset.hpp>
Public Types | |
typedef unsigned long | _WordT |
Public Member Functions | |
_Base_bitset (void) | |
_Base_bitset (unsigned long __val) | |
_WordT & | _M_getword (size_t) |
_WordT | _M_getword (size_t) const |
_WordT & | _M_hiword () |
_WordT | _M_hiword () const |
void | _M_do_and (const _Base_bitset< 1 > &__x) |
void | _M_do_or (const _Base_bitset< 1 > &__x) |
void | _M_do_xor (const _Base_bitset< 1 > &__x) |
void | _M_do_left_shift (size_t __shift) |
void | _M_do_right_shift (size_t __shift) |
bool | _M_is_subset_of (const _Base_bitset< 1 > &__x) const |
bool | _M_is_less_than (const _Base_bitset< 1 > &__x) const |
void | _M_do_flip () |
void | _M_do_set () |
void | _M_do_reset () |
bool | _M_is_equal (const _Base_bitset< 1 > &__x) const |
size_t | _M_are_all_aux () const |
bool | _M_is_any () const |
size_t | _M_do_count () const |
size_t | _M_do_find_first (size_t __not_found) const |
size_t | _M_do_find_next (size_t __prev, size_t __not_found) const |
Static Public Member Functions | |
static size_t | _S_whichword (size_t __pos) |
static size_t | _S_whichbyte (size_t __pos) |
static size_t | _S_whichbit (size_t __pos) |
static _WordT | _S_maskbit (size_t __pos) |
Public Attributes | |
_WordT | _M_w |
Base class, specialization for a single word.
See documentation for bitset.
Definition at line 309 of file BenzeneBitset.hpp.
typedef unsigned long _Base_bitset< 1 >::_WordT |
Definition at line 311 of file BenzeneBitset.hpp.
_Base_bitset< 1 >::_Base_bitset | ( | void | ) | [inline] |
Definition at line 314 of file BenzeneBitset.hpp.
_Base_bitset< 1 >::_Base_bitset | ( | unsigned long | __val | ) | [inline] |
Definition at line 318 of file BenzeneBitset.hpp.
size_t _Base_bitset< 1 >::_M_are_all_aux | ( | ) | const [inline] |
Definition at line 404 of file BenzeneBitset.hpp.
References _Base_bitset< _Nw >::_M_w.
void _Base_bitset< 1 >::_M_do_and | ( | const _Base_bitset< 1 > & | __x | ) | [inline] |
Definition at line 355 of file BenzeneBitset.hpp.
References _M_w, and _Base_bitset< _Nw >::_M_w.
size_t _Base_bitset< 1 >::_M_do_count | ( | ) | const [inline] |
Definition at line 412 of file BenzeneBitset.hpp.
References _Base_bitset< _Nw >::_M_w.
size_t _Base_bitset< 1 >::_M_do_find_first | ( | size_t | __not_found | ) | const [inline] |
Definition at line 416 of file BenzeneBitset.hpp.
References _Base_bitset< _Nw >::_M_w.
size_t _Base_bitset< 1 >::_M_do_find_next | ( | size_t | __prev, | |
size_t | __not_found | |||
) | const [inline] |
Definition at line 426 of file BenzeneBitset.hpp.
References _GLIBCXX_BITSET_BITS_PER_WORD, and _Base_bitset< _Nw >::_M_w.
void _Base_bitset< 1 >::_M_do_flip | ( | ) | [inline] |
Definition at line 388 of file BenzeneBitset.hpp.
References _Base_bitset< _Nw >::_M_w.
void _Base_bitset< 1 >::_M_do_left_shift | ( | size_t | __shift | ) | [inline] |
Definition at line 367 of file BenzeneBitset.hpp.
References _Base_bitset< _Nw >::_M_w.
void _Base_bitset< 1 >::_M_do_or | ( | const _Base_bitset< 1 > & | __x | ) | [inline] |
Definition at line 359 of file BenzeneBitset.hpp.
References _M_w, and _Base_bitset< _Nw >::_M_w.
void _Base_bitset< 1 >::_M_do_reset | ( | ) | [inline] |
Definition at line 396 of file BenzeneBitset.hpp.
References _Base_bitset< _Nw >::_M_w.
void _Base_bitset< 1 >::_M_do_right_shift | ( | size_t | __shift | ) | [inline] |
Definition at line 371 of file BenzeneBitset.hpp.
References _Base_bitset< _Nw >::_M_w.
void _Base_bitset< 1 >::_M_do_set | ( | ) | [inline] |
Definition at line 392 of file BenzeneBitset.hpp.
References _Base_bitset< _Nw >::_M_w.
void _Base_bitset< 1 >::_M_do_xor | ( | const _Base_bitset< 1 > & | __x | ) | [inline] |
Definition at line 363 of file BenzeneBitset.hpp.
References _M_w, and _Base_bitset< _Nw >::_M_w.
_WordT _Base_bitset< 1 >::_M_getword | ( | size_t | ) | const [inline] |
Definition at line 343 of file BenzeneBitset.hpp.
References _Base_bitset< _Nw >::_M_w.
_WordT& _Base_bitset< 1 >::_M_getword | ( | size_t | ) | [inline] |
Definition at line 339 of file BenzeneBitset.hpp.
References _Base_bitset< _Nw >::_M_w.
_WordT _Base_bitset< 1 >::_M_hiword | ( | ) | const [inline] |
Definition at line 351 of file BenzeneBitset.hpp.
References _Base_bitset< _Nw >::_M_w.
_WordT& _Base_bitset< 1 >::_M_hiword | ( | ) | [inline] |
Definition at line 347 of file BenzeneBitset.hpp.
References _Base_bitset< _Nw >::_M_w.
bool _Base_bitset< 1 >::_M_is_any | ( | ) | const [inline] |
Definition at line 408 of file BenzeneBitset.hpp.
References _Base_bitset< _Nw >::_M_w.
bool _Base_bitset< 1 >::_M_is_equal | ( | const _Base_bitset< 1 > & | __x | ) | const [inline] |
Definition at line 400 of file BenzeneBitset.hpp.
References _M_w, and _Base_bitset< _Nw >::_M_w.
bool _Base_bitset< 1 >::_M_is_less_than | ( | const _Base_bitset< 1 > & | __x | ) | const [inline] |
Definition at line 382 of file BenzeneBitset.hpp.
References _M_w, and _Base_bitset< _Nw >::_M_w.
bool _Base_bitset< 1 >::_M_is_subset_of | ( | const _Base_bitset< 1 > & | __x | ) | const [inline] |
Definition at line 378 of file BenzeneBitset.hpp.
References _M_w, and _Base_bitset< _Nw >::_M_w.
static _WordT _Base_bitset< 1 >::_S_maskbit | ( | size_t | __pos | ) | [inline, static] |
Definition at line 335 of file BenzeneBitset.hpp.
References _Base_bitset< _Nw >::_S_whichbit().
static size_t _Base_bitset< 1 >::_S_whichbit | ( | size_t | __pos | ) | [inline, static] |
Definition at line 331 of file BenzeneBitset.hpp.
References _GLIBCXX_BITSET_BITS_PER_WORD.
static size_t _Base_bitset< 1 >::_S_whichbyte | ( | size_t | __pos | ) | [inline, static] |
Definition at line 327 of file BenzeneBitset.hpp.
References _GLIBCXX_BITSET_BITS_PER_WORD.
static size_t _Base_bitset< 1 >::_S_whichword | ( | size_t | __pos | ) | [inline, static] |
Definition at line 323 of file BenzeneBitset.hpp.
References _GLIBCXX_BITSET_BITS_PER_WORD.
_WordT _Base_bitset< 1 >::_M_w |
Definition at line 312 of file BenzeneBitset.hpp.
Referenced by _M_do_and(), _M_do_or(), _M_do_xor(), _M_is_equal(), _M_is_less_than(), and _M_is_subset_of().