Whole document tree
    

Whole document tree

Templatestd::_Base_bitset struct Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::_Base_bitset< _Nw > Struct Template Reference

#include <std_bitset.h>

Inheritance diagram for std::_Base_bitset:

Inheritance graph
[legend]
List of all members.

Public Types

typedef unsigned long _WordT

Public Methods

 _Base_bitset (void)
 _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 Methods

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]

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


Member Typedef Documentation

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

Reimplemented in std::bitset< _Nb >.

Definition at line 99 of file std_bitset.h.

Referenced by std::_Base_bitset< _Nw >::_M_do_find_first(), std::_Base_bitset< 1 >::_M_do_find_first(), std::_Base_bitset< _Nw >::_M_do_find_next(), std::_Base_bitset< 1 >::_M_do_find_next(), std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_reset(), std::_Base_bitset< 1 >::_M_getword(), std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_getword(), std::_Base_bitset< 1 >::_M_hiword(), std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_hiword(), std::_Base_bitset< 1 >::_S_maskbit(), and std::_Base_bitset< __BITSET_WORDS(_Nb)>::_S_maskbit().


Constructor & Destructor Documentation

template<size_t _Nw>
std::_Base_bitset< _Nw >::_Base_bitset void    [inline]
 

Definition at line 103 of file std_bitset.h.

template<size_t _Nw>
std::_Base_bitset< _Nw >::_Base_bitset unsigned long    __val [inline]
 

Definition at line 104 of file std_bitset.h.


Member Function Documentation

template<size_t _Nw>
void std::_Base_bitset< _Nw >::_M_do_and const _Base_bitset< _Nw > &    __x [inline]
 

Definition at line 124 of file std_bitset.h.

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

Definition at line 175 of file std_bitset.h.

template<size_t _Nw>
size_t std::_Base_bitset< _Nw >::_M_do_find_first size_t    __not_found const
 

Definition at line 258 of file std_bitset.h.

References _GLIBCPP_BITSET_BITS_PER_WORD, std::_Base_bitset< _Nw >::_M_w, and std::_Base_bitset< _Nw >::_WordT.

template<size_t _Nw>
size_t std::_Base_bitset< _Nw >::_M_do_find_next size_t    __prev,
size_t    __not_found
const
 

Definition at line 281 of file std_bitset.h.

References _GLIBCPP_BITSET_BITS_PER_WORD, std::_Base_bitset< _Nw >::_M_w, std::_Base_bitset< _Nw >::_S_whichbit(), std::_Base_bitset< _Nw >::_S_whichbyte(), std::_Base_bitset< _Nw >::_S_whichword(), and std::_Base_bitset< _Nw >::_WordT.

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

Definition at line 145 of file std_bitset.h.

template<size_t _Nw>
void std::_Base_bitset< _Nw >::_M_do_left_shift size_t    __shift
 

Definition at line 201 of file std_bitset.h.

References _GLIBCPP_BITSET_BITS_PER_WORD, std::_Base_bitset< _Nw >::_M_w, and std::fill().

template<size_t _Nw>
void std::_Base_bitset< _Nw >::_M_do_or const _Base_bitset< _Nw > &    __x [inline]
 

Definition at line 130 of file std_bitset.h.

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

Definition at line 157 of file std_bitset.h.

Referenced by std::_Base_bitset< __BITSET_WORDS(_Nb)>::_Base_bitset().

template<size_t _Nw>
void std::_Base_bitset< _Nw >::_M_do_right_shift size_t    __shift
 

Definition at line 224 of file std_bitset.h.

References _GLIBCPP_BITSET_BITS_PER_WORD, std::_Base_bitset< _Nw >::_M_w, and std::fill().

template<size_t _Nw>
void std::_Base_bitset< _Nw >::_M_do_set   [inline]
 

Definition at line 151 of file std_bitset.h.

template<size_t _Nw>
unsigned long std::_Base_bitset< _Nw >::_M_do_to_ulong   const
 

Definition at line 248 of file std_bitset.h.

References __STL_THROW, and std::_Base_bitset< _Nw >::_M_w.

template<size_t _Nw>
void std::_Base_bitset< _Nw >::_M_do_xor const _Base_bitset< _Nw > &    __x [inline]
 

Definition at line 136 of file std_bitset.h.

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

Definition at line 119 of file std_bitset.h.

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

Definition at line 118 of file std_bitset.h.

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

Definition at line 122 of file std_bitset.h.

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

Definition at line 121 of file std_bitset.h.

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

Definition at line 167 of file std_bitset.h.

template<size_t _Nw>
bool std::_Base_bitset< _Nw >::_M_is_equal const _Base_bitset< _Nw > &    __x const [inline]
 

Definition at line 159 of file std_bitset.h.

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

Definition at line 115 of file std_bitset.h.

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

Definition at line 113 of file std_bitset.h.

Referenced by std::_Base_bitset< _Nw >::_M_do_find_next(), std::_Base_bitset< 1 >::_M_do_find_next(), std::_Base_bitset< 1 >::_S_maskbit(), and std::_Base_bitset< __BITSET_WORDS(_Nb)>::_S_maskbit().

template<size_t _Nw>
size_t std::_Base_bitset< _Nw >::_S_whichbyte size_t    __pos [inline, static]
 

Definition at line 111 of file std_bitset.h.

Referenced by std::_Base_bitset< _Nw >::_M_do_find_next(), and std::_Base_bitset< 1 >::_M_do_find_next().

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

Definition at line 109 of file std_bitset.h.

Referenced by std::_Base_bitset< _Nw >::_M_do_find_next(), and std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_getword().


Member Data Documentation

template<size_t _Nw>
_WordT std::_Base_bitset< _Nw >::_M_w[_Nw]
 

Definition at line 101 of file std_bitset.h.

Referenced by std::_Base_bitset< 1 >::_Base_bitset(), std::_Base_bitset< __BITSET_WORDS(_Nb)>::_Base_bitset(), std::_Base_bitset< 1 >::_M_do_and(), std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_and(), std::_Base_bitset< 1 >::_M_do_count(), std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_count(), std::_Base_bitset< _Nw >::_M_do_find_first(), std::_Base_bitset< 1 >::_M_do_find_first(), std::_Base_bitset< _Nw >::_M_do_find_next(), std::_Base_bitset< 1 >::_M_do_find_next(), std::_Base_bitset< 1 >::_M_do_flip(), std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_flip(), std::_Base_bitset< 1 >::_M_do_left_shift(), std::_Base_bitset< _Nw >::_M_do_left_shift(), std::_Base_bitset< 1 >::_M_do_or(), std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_or(), std::_Base_bitset< 1 >::_M_do_reset(), std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_reset(), std::_Base_bitset< 1 >::_M_do_right_shift(), std::_Base_bitset< _Nw >::_M_do_right_shift(), std::_Base_bitset< 1 >::_M_do_set(), std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_set(), std::_Base_bitset< 1 >::_M_do_to_ulong(), std::_Base_bitset< _Nw >::_M_do_to_ulong(), std::_Base_bitset< 1 >::_M_do_xor(), std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_xor(), std::_Base_bitset< 1 >::_M_getword(), std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_getword(), std::_Base_bitset< 1 >::_M_hiword(), std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_hiword(), std::_Base_bitset< 1 >::_M_is_any(), std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_is_any(), std::_Base_bitset< 1 >::_M_is_equal(), and std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_is_equal().


The documentation for this struct was generated from the following file:
Generated on Mon Apr 8 03:16:53 2002 for libstdc++-v3 Source by doxygen1.2.15