Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

_Base_bitset< _Nw > Struct Template Reference

Base class, general case. More...

#include <BenzeneBitset.hpp>

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_subset_of (const _Base_bitset< _Nw > &__x) const
bool _M_is_less_than (const _Base_bitset< _Nw > &__x) const
size_t _M_are_all_aux () 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 _Base_bitset< _Nw >

Base class, general case.

It is a class invariant that _Nw will be nonnegative.

See documentation for bitset.

Definition at line 35 of file BenzeneBitset.hpp.


Member Typedef Documentation

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

Reimplemented in benzene_bitset< _Nb >, and benzene_bitset< BITSETSIZE >.

Definition at line 37 of file BenzeneBitset.hpp.


Constructor & Destructor Documentation

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

Definition at line 42 of file BenzeneBitset.hpp.

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

Definition at line 45 of file BenzeneBitset.hpp.


Member Function Documentation

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

Definition at line 160 of file BenzeneBitset.hpp.

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

Definition at line 84 of file BenzeneBitset.hpp.

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

Definition at line 179 of file BenzeneBitset.hpp.

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

Definition at line 255 of file BenzeneBitset.hpp.

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

template<size_t _Nw>
size_t _Base_bitset< _Nw >::_M_do_find_next ( size_t  __prev,
size_t  __not_found 
) const [inline]
template<size_t _Nw>
void _Base_bitset< _Nw >::_M_do_flip (  )  [inline]

Definition at line 111 of file BenzeneBitset.hpp.

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

Definition at line 202 of file BenzeneBitset.hpp.

References _GLIBCXX_BITSET_BITS_PER_WORD, and _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 91 of file BenzeneBitset.hpp.

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

Definition at line 228 of file BenzeneBitset.hpp.

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

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

Definition at line 118 of file BenzeneBitset.hpp.

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

Definition at line 98 of file BenzeneBitset.hpp.

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

Definition at line 72 of file BenzeneBitset.hpp.

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

Definition at line 68 of file BenzeneBitset.hpp.

Referenced by benzene_bitset< _Nb >::reference::reference().

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

Definition at line 80 of file BenzeneBitset.hpp.

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

Definition at line 170 of file BenzeneBitset.hpp.

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

Definition at line 129 of file BenzeneBitset.hpp.

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

Definition at line 149 of file BenzeneBitset.hpp.

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

Definition at line 140 of file BenzeneBitset.hpp.

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

Definition at line 64 of file BenzeneBitset.hpp.

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

Definition at line 56 of file BenzeneBitset.hpp.

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

Member Data Documentation

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

0 is the least significant word.

Definition at line 40 of file BenzeneBitset.hpp.

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


The documentation for this struct was generated from the following file:


6 Jan 2011 Doxygen 1.6.3