_GLIBCXX_STD::_Base_bitset< _Nw > Struct Template Reference

List of all members.

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.

Detailed Description

template<size_t _Nw>
struct _GLIBCXX_STD::_Base_bitset< _Nw >

Definition at line 77 of file bitset.


Member Typedef Documentation

template<size_t _Nw>
typedef unsigned long _GLIBCXX_STD::_Base_bitset< _Nw >::_WordT

Reimplemented in _GLIBCXX_STD::bitset< _Nb >.

Definition at line 79 of file bitset.


Constructor & Destructor Documentation

template<size_t _Nw>
_GLIBCXX_STD::_Base_bitset< _Nw >::_Base_bitset (  )  [inline]

Definition at line 84 of file bitset.

template<size_t _Nw>
_GLIBCXX_STD::_Base_bitset< _Nw >::_Base_bitset ( unsigned long  __val  )  [inline]

Definition at line 87 of file bitset.


Member Function Documentation

template<size_t _Nw>
void _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_and ( const _Base_bitset< _Nw > &  __x  )  [inline]

Definition at line 126 of file bitset.

template<size_t _Nw>
size_t _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_count (  )  const [inline]

Definition at line 193 of file bitset.

template<size_t _Nw>
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.

template<size_t _Nw>
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().

template<size_t _Nw>
void _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_flip (  )  [inline]

Definition at line 153 of file bitset.

template<size_t _Nw>
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().

template<size_t _Nw>
void _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_or ( const _Base_bitset< _Nw > &  __x  )  [inline]

Definition at line 133 of file bitset.

template<size_t _Nw>
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().

template<size_t _Nw>
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().

template<size_t _Nw>
void _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_set (  )  [inline]

Definition at line 160 of file bitset.

template<size_t _Nw>
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.

template<size_t _Nw>
void _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_xor ( const _Base_bitset< _Nw > &  __x  )  [inline]

Definition at line 140 of file bitset.

template<size_t _Nw>
_WordT _GLIBCXX_STD::_Base_bitset< _Nw >::_M_getword ( size_t  __pos  )  const [inline]

Definition at line 114 of file bitset.

template<size_t _Nw>
_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().

template<size_t _Nw>
_WordT _GLIBCXX_STD::_Base_bitset< _Nw >::_M_hiword (  )  const [inline]

Definition at line 122 of file bitset.

template<size_t _Nw>
_WordT& _GLIBCXX_STD::_Base_bitset< _Nw >::_M_hiword (  )  [inline]

Definition at line 118 of file bitset.

template<size_t _Nw>
bool _GLIBCXX_STD::_Base_bitset< _Nw >::_M_is_any (  )  const [inline]

Definition at line 182 of file bitset.

template<size_t _Nw>
bool _GLIBCXX_STD::_Base_bitset< _Nw >::_M_is_equal ( const _Base_bitset< _Nw > &  __x  )  const [inline]

Definition at line 171 of file bitset.

template<size_t _Nw>
static _WordT _GLIBCXX_STD::_Base_bitset< _Nw >::_S_maskbit ( size_t  __pos  )  [inline, static]

Definition at line 106 of file bitset.

template<size_t _Nw>
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().

template<size_t _Nw>
static size_t _GLIBCXX_STD::_Base_bitset< _Nw >::_S_whichbyte ( size_t  __pos  )  [inline, static]

Definition at line 98 of file bitset.

template<size_t _Nw>
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().


Member Data Documentation

template<size_t _Nw>
_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().


The documentation for this struct was generated from the following file:
Generated on Tue Feb 2 16:58:23 2010 for GNU C++ STL by  doxygen 1.4.7