_Base_bitset< _Nw > Struct Template Reference

#include <_bitset.h>

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 _STLP_CALL _S_whichword (size_t __pos)
static size_t _STLP_CALL _S_whichbyte (size_t __pos)
static size_t _STLP_CALL _S_whichbit (size_t __pos)
static _WordT _STLP_CALL _S_maskbit (size_t __pos)

Public Attributes

_WordT _M_w [_Nw]


Detailed Description

template<size_t _Nw>
struct _Base_bitset< _Nw >

Definition at line 107 of file _bitset.h.


Member Typedef Documentation

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

Definition at line 108 of file _bitset.h.


Constructor & Destructor Documentation

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

Definition at line 112 of file _bitset.h.

References _Base_bitset< _Nw >::_M_do_reset().

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

Definition at line 114 of file _bitset.h.

References _Base_bitset< _Nw >::_M_do_reset(), and _Base_bitset< _Nw >::_M_w.


Member Function Documentation

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

Definition at line 119 of file _bitset.h.

References __BITS_PER_WORD.

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

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

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

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

Definition at line 128 of file _bitset.h.

References __STATIC_CAST, and _Base_bitset< _Nw >::_S_whichbit().

Referenced by bitset< _Nb >::_Unchecked_set().

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

Definition at line 132 of file _bitset.h.

References _Base_bitset< _Nw >::_M_w, and _Base_bitset< _Nw >::_S_whichword().

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

Definition at line 133 of file _bitset.h.

References _Base_bitset< _Nw >::_M_w, and _Base_bitset< _Nw >::_S_whichword().

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

Definition at line 135 of file _bitset.h.

References _Base_bitset< _Nw >::_M_w.

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

Definition at line 136 of file _bitset.h.

References _Base_bitset< _Nw >::_M_w.

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

Definition at line 138 of file _bitset.h.

References _Base_bitset< _Nw >::_M_w.

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

Definition at line 144 of file _bitset.h.

References _Base_bitset< _Nw >::_M_w.

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

Definition at line 150 of file _bitset.h.

References _Base_bitset< _Nw >::_M_w.

template<size_t _Nw>
_STLP_BEGIN_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE void _Base_bitset< _Nw >::_M_do_left_shift ( size_t  __shift  ) 

Definition at line 35 of file _bitset.c.

References __BITS_PER_WORD, __STATIC_CAST, _Base_bitset< _Nw >::_M_w, and fill().

template<size_t _Nw>
void _Base_bitset< _Nw >::_M_do_right_shift ( size_t  __shift  ) 

Definition at line 57 of file _bitset.c.

References __BITS_PER_WORD, __STATIC_CAST, _Base_bitset< _Nw >::_M_w, and fill().

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

Definition at line 160 of file _bitset.h.

References _Base_bitset< _Nw >::_M_w.

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

Definition at line 166 of file _bitset.h.

References __STATIC_CAST, and _Base_bitset< _Nw >::_M_w.

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

Definition at line 172 of file _bitset.h.

References _Base_bitset< _Nw >::_M_w.

Referenced by _Base_bitset< _Nw >::_Base_bitset().

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

Definition at line 174 of file _bitset.h.

References _Base_bitset< _Nw >::_M_w.

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

Definition at line 182 of file _bitset.h.

References __STATIC_CAST, and _Base_bitset< _Nw >::_M_w.

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

Definition at line 190 of file _bitset.h.

References _Base_bitset< _Nw >::_M_w, and _Bs_G::_S_count().

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

Definition at line 80 of file _bitset.c.

References __stl_throw_overflow_error(), and _Base_bitset< _Nw >::_M_w.

template<size_t _Nw>
size_t _Base_bitset< _Nw >::_M_do_find_first ( size_t  __not_found  )  const

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


Member Data Documentation


The documentation for this struct was generated from the following files:
  • /home/ntakagi/work/STLport-5.1.5/stlport/stl/_bitset.h
  • /home/ntakagi/work/STLport-5.1.5/stlport/stl/_bitset.c



Generated on Mon Mar 10 15:32:53 2008 by  doxygen 1.5.1