Public Types | |
typedef unsigned long | _WordT |
Public Member Functions | |
_Base_bitset () | |
_Base_bitset (unsigned long __val) | |
_WordT & | _M_getword (size_t __pos) |
_WordT | _M_getword (size_t __pos) const |
_WordT & | _M_hiword () |
_WordT | _M_hiword () const |
void | _M_do_and (const _Base_bitset< _Nw > &__x) |
void | _M_do_or (const _Base_bitset< _Nw > &__x) |
void | _M_do_xor (const _Base_bitset< _Nw > &__x) |
void | _M_do_left_shift (size_t __shift) |
void | _M_do_right_shift (size_t __shift) |
void | _M_do_flip () |
void | _M_do_set () |
void | _M_do_reset () |
bool | _M_is_equal (const _Base_bitset< _Nw > &__x) const |
bool | _M_is_any () const |
size_t | _M_do_count () const |
unsigned long | _M_do_to_ulong () 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 [_Nw] |
0 is the least significant word. |
Definition at line 77 of file bitset.
typedef unsigned long _GLIBCXX_STD::_Base_bitset< _Nw >::_WordT |
_GLIBCXX_STD::_Base_bitset< _Nw >::_Base_bitset | ( | ) | [inline] |
_GLIBCXX_STD::_Base_bitset< _Nw >::_Base_bitset | ( | unsigned long | __val | ) | [inline] |
void _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_and | ( | const _Base_bitset< _Nw > & | __x | ) | [inline] |
size_t _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_count | ( | ) | const [inline] |
size_t _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_find_first | ( | size_t | __not_found | ) | const |
Definition at line 279 of file bitset.
References _GLIBCXX_BITSET_BITS_PER_WORD, and _GLIBCXX_STD::_Base_bitset< _Nw >::_M_w.
size_t _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_find_next | ( | size_t | __prev, | |
size_t | __not_found | |||
) | const |
Definition at line 294 of file bitset.
References _GLIBCXX_BITSET_BITS_PER_WORD, _GLIBCXX_STD::_Base_bitset< _Nw >::_M_w, _GLIBCXX_STD::_Base_bitset< _Nw >::_S_whichbit(), and _GLIBCXX_STD::_Base_bitset< _Nw >::_S_whichword().
void _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_flip | ( | ) | [inline] |
void _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_left_shift | ( | size_t | __shift | ) |
Definition at line 216 of file bitset.
References _GLIBCXX_BITSET_BITS_PER_WORD, _GLIBCXX_STD::_Base_bitset< _Nw >::_M_w, and std::fill().
void _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_or | ( | const _Base_bitset< _Nw > & | __x | ) | [inline] |
void _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_reset | ( | ) | [inline] |
Definition at line 167 of file bitset.
Referenced by _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_Base_bitset().
void _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_right_shift | ( | size_t | __shift | ) |
Definition at line 242 of file bitset.
References _GLIBCXX_BITSET_BITS_PER_WORD, _GLIBCXX_STD::_Base_bitset< _Nw >::_M_w, and std::fill().
void _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_set | ( | ) | [inline] |
unsigned long _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_to_ulong | ( | ) | const |
Definition at line 269 of file bitset.
References __N, std::__throw_overflow_error(), and _GLIBCXX_STD::_Base_bitset< _Nw >::_M_w.
void _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_xor | ( | const _Base_bitset< _Nw > & | __x | ) | [inline] |
_WordT _GLIBCXX_STD::_Base_bitset< _Nw >::_M_getword | ( | size_t | __pos | ) | const [inline] |
_WordT& _GLIBCXX_STD::_Base_bitset< _Nw >::_M_getword | ( | size_t | __pos | ) | [inline] |
Definition at line 110 of file bitset.
Referenced by _GLIBCXX_STD::bitset< _Nb >::reference::reference().
_WordT _GLIBCXX_STD::_Base_bitset< _Nw >::_M_hiword | ( | ) | const [inline] |
_WordT& _GLIBCXX_STD::_Base_bitset< _Nw >::_M_hiword | ( | ) | [inline] |
bool _GLIBCXX_STD::_Base_bitset< _Nw >::_M_is_any | ( | ) | const [inline] |
bool _GLIBCXX_STD::_Base_bitset< _Nw >::_M_is_equal | ( | const _Base_bitset< _Nw > & | __x | ) | const [inline] |
static _WordT _GLIBCXX_STD::_Base_bitset< _Nw >::_S_maskbit | ( | size_t | __pos | ) | [inline, static] |
static size_t _GLIBCXX_STD::_Base_bitset< _Nw >::_S_whichbit | ( | size_t | __pos | ) | [inline, static] |
Definition at line 102 of file bitset.
Referenced by _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_find_next(), _GLIBCXX_STD::_Base_bitset< 0 >::_S_maskbit(), _GLIBCXX_STD::_Base_bitset< 1 >::_S_maskbit(), and _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_S_maskbit().
static size_t _GLIBCXX_STD::_Base_bitset< _Nw >::_S_whichbyte | ( | size_t | __pos | ) | [inline, static] |
static size_t _GLIBCXX_STD::_Base_bitset< _Nw >::_S_whichword | ( | size_t | __pos | ) | [inline, static] |
Definition at line 94 of file bitset.
Referenced by _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_find_next(), and _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_M_getword().
_WordT _GLIBCXX_STD::_Base_bitset< _Nw >::_M_w[_Nw] |
0 is the least significant word.
Definition at line 82 of file bitset.
Referenced by _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_Base_bitset(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_do_and(), _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_M_do_and(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_do_count(), _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_M_do_count(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_do_find_first(), _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_find_first(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_do_find_next(), _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_find_next(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_do_flip(), _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_M_do_flip(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_do_left_shift(), _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_left_shift(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_do_or(), _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_M_do_or(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_do_reset(), _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_M_do_reset(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_do_right_shift(), _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_right_shift(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_do_set(), _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_M_do_set(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_do_to_ulong(), _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_to_ulong(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_do_xor(), _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_M_do_xor(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_getword(), _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_M_getword(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_hiword(), _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_M_hiword(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_is_any(), _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_M_is_any(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_is_equal(), and _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_M_is_equal().