STL std::bitset extended with is_subset_of() and is_less_than(). More...
#include <cstddef>#include <string>#include <bits/functexcept.h>#include "Benzene.hpp"#include <sstream>#include <exception>#include "Benzene.hpp"Go to the source code of this file.
Classes | |
| struct | _Base_bitset< _Nw > |
| Base class, general case. More... | |
| struct | _Base_bitset< 1 > |
| Base class, specialization for a single word. More... | |
| struct | _Base_bitset< 0 > |
| Base class, specialization for no storage (zero-length bitset). More... | |
| struct | _Sanitize< _Extrabits > |
| struct | _Sanitize< 0 > |
| class | benzene_bitset< _Nb > |
| The bitset class represents a fixed-size sequence of bits. More... | |
| class | benzene_bitset< _Nb >::reference |
| This encapsulates the concept of a single bit. More... | |
Defines | |
| #define | _GLIBCXX_BITSET_BITS_PER_WORD (__CHAR_BIT__ * sizeof(unsigned long)) |
| #define | _GLIBCXX_BITSET_WORDS(__n) |
Functions | |
| template<class _CharT , class _Traits , size_t _Nb> | |
| std::basic_ostream< _CharT, _Traits > & | operator<< (std::basic_ostream< _CharT, _Traits > &__os, const benzene_bitset< _Nb > &__x) |
| template<size_t _Nb> | |
| benzene_bitset< _Nb > | operator& (const benzene_bitset< _Nb > &__x, const benzene_bitset< _Nb > &__y) |
| Global bitwise operations on bitsets. | |
| template<size_t _Nb> | |
| benzene_bitset< _Nb > | operator| (const benzene_bitset< _Nb > &__x, const benzene_bitset< _Nb > &__y) |
| template<size_t _Nb> | |
| benzene_bitset< _Nb > | operator^ (const benzene_bitset< _Nb > &__x, const benzene_bitset< _Nb > &__y) |
STL std::bitset extended with is_subset_of() and is_less_than().
Definition in file BenzeneBitset.hpp.
| #define _GLIBCXX_BITSET_BITS_PER_WORD (__CHAR_BIT__ * sizeof(unsigned long)) |
Definition at line 23 of file BenzeneBitset.hpp.
Referenced by _Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_M_are_all_aux(), _Base_bitset< _Nw >::_M_do_find_first(), _Base_bitset< 1 >::_M_do_find_next(), _Base_bitset< _Nw >::_M_do_find_next(), _Base_bitset< _Nw >::_M_do_left_shift(), _Base_bitset< _Nw >::_M_do_right_shift(), _Base_bitset< 0 >::_S_whichbit(), _Base_bitset< 1 >::_S_whichbit(), _Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_S_whichbit(), _Base_bitset< 0 >::_S_whichbyte(), _Base_bitset< 1 >::_S_whichbyte(), _Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_S_whichbyte(), _Base_bitset< 0 >::_S_whichword(), _Base_bitset< 1 >::_S_whichword(), and _Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_S_whichword().
| #define _GLIBCXX_BITSET_WORDS | ( | __n | ) |
((__n) < 1 ? 0 : ((__n) + _GLIBCXX_BITSET_BITS_PER_WORD - 1) \ / _GLIBCXX_BITSET_BITS_PER_WORD)
Definition at line 24 of file BenzeneBitset.hpp.
| benzene_bitset<_Nb> operator& | ( | const benzene_bitset< _Nb > & | __x, | |
| const benzene_bitset< _Nb > & | __y | |||
| ) | [inline] |
Global bitwise operations on bitsets.
| __x | A bitset. | |
| __y | A bitset of the same size as x. |
These should be self-explanatory.
Definition at line 1200 of file BenzeneBitset.hpp.
| std::basic_ostream<_CharT, _Traits>& operator<< | ( | std::basic_ostream< _CharT, _Traits > & | __os, | |
| const benzene_bitset< _Nb > & | __x | |||
| ) | [inline] |
Definition at line 1228 of file BenzeneBitset.hpp.
References benzene_bitset< _Nb >::_M_copy_to_string().
| benzene_bitset<_Nb> operator^ | ( | const benzene_bitset< _Nb > & | __x, | |
| const benzene_bitset< _Nb > & | __y | |||
| ) | [inline] |
Definition at line 1218 of file BenzeneBitset.hpp.
| benzene_bitset<_Nb> operator| | ( | const benzene_bitset< _Nb > & | __x, | |
| const benzene_bitset< _Nb > & | __y | |||
| ) | [inline] |
Definition at line 1209 of file BenzeneBitset.hpp.