_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

size_t _S_whichword (size_t __pos)
size_t _S_whichbyte (size_t __pos)
size_t _S_whichbit (size_t __pos)
_WordT _S_maskbit (size_t __pos)

Public Attributes

_WordT _M_w [_Nw]
 0 is the least significant word.

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


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.

Referenced by _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_find_first(), and _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_find_next().


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 85 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 122 of file bitset.

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

Definition at line 188 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 272 of file bitset.

References _GLIBCXX_BITSET_BITS_PER_WORD, _GLIBCXX_STD::_Base_bitset< _Nw >::_M_w, and _GLIBCXX_STD::_Base_bitset< _Nw >::_WordT.

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 287 of file bitset.

References _GLIBCXX_BITSET_BITS_PER_WORD, _GLIBCXX_STD::_Base_bitset< _Nw >::_M_w, _GLIBCXX_STD::_Base_bitset< _Nw >::_S_whichbit(), _GLIBCXX_STD::_Base_bitset< _Nw >::_S_whichword(), and _GLIBCXX_STD::_Base_bitset< _Nw >::_WordT.

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

Definition at line 149 of file bitset.

template<size_t _Nw>
void _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_left_shift size_t  __shift  ) 
 

Definition at line 211 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 129 of file bitset.

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

Definition at line 163 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 236 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 156 of file bitset.

template<size_t _Nw>
unsigned long _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_to_ulong  )  const
 

Definition at line 262 of file bitset.

References __N, 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 136 of file bitset.

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

Definition at line 112 of file bitset.

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

Definition at line 108 of file bitset.

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

Definition at line 119 of file bitset.

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

Definition at line 116 of file bitset.

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

Definition at line 177 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 166 of file bitset.

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

Definition at line 104 of file bitset.

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

Definition at line 100 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>
size_t _GLIBCXX_STD::_Base_bitset< _Nw >::_S_whichbyte size_t  __pos  )  [inline, static]
 

Definition at line 96 of file bitset.

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

Definition at line 92 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< 1 >::_M_do_and(), _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_M_do_and(), _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_find_first(), _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_find_next(), _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< _Nw >::_M_do_right_shift(), _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_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 Jan 30 17:32:09 2007 for GNU C++ STL by doxygen 1.3.6