#include <std_bitset.h>
Inheritance diagram for std::bitset:
Public Methods | |
bitset () | |
bitset (unsigned long __val) | |
template<class _CharT, class _Traits, class _Alloc> | bitset (const basic_string< _CharT, _Traits, _Alloc > &__s, size_t __pos=0) |
template<class _CharT, class _Traits, class _Alloc> | bitset (const basic_string< _CharT, _Traits, _Alloc > &__s, size_t __pos, size_t __n) |
bitset< _Nb > & | operator &= (const bitset< _Nb > &__rhs) |
bitset< _Nb > & | operator|= (const bitset< _Nb > &__rhs) |
bitset< _Nb > & | operator^= (const bitset< _Nb > &__rhs) |
bitset< _Nb > & | operator<<= (size_t __pos) |
bitset< _Nb > & | operator>>= (size_t __pos) |
bitset< _Nb > & | _Unchecked_set (size_t __pos) |
bitset< _Nb > & | _Unchecked_set (size_t __pos, int __val) |
bitset< _Nb > & | _Unchecked_reset (size_t __pos) |
bitset< _Nb > & | _Unchecked_flip (size_t __pos) |
bool | _Unchecked_test (size_t __pos) const |
bitset< _Nb > & | set () |
bitset< _Nb > & | set (size_t __pos, bool __val=true) |
bitset< _Nb > & | reset () |
bitset< _Nb > & | reset (size_t __pos) |
bitset< _Nb > & | flip () |
bitset< _Nb > & | flip (size_t __pos) |
bitset< _Nb > | operator~ () const |
reference | operator[] (size_t __pos) |
bool | operator[] (size_t __pos) const |
unsigned long | to_ulong () const |
template<class _CharT, class _Traits, class _Alloc> basic_string< _CharT, _Traits, _Alloc > | to_string () const |
template<class _CharT, class _Traits, class _Alloc> void | _M_copy_from_string (const basic_string< _CharT, _Traits, _Alloc > &__s, size_t, size_t) |
template<class _CharT, class _Traits, class _Alloc> void | _M_copy_to_string (basic_string< _CharT, _Traits, _Alloc > &) const |
size_t | count () const |
size_t | size () const |
bool | operator== (const bitset< _Nb > &__rhs) const |
bool | operator!= (const bitset< _Nb > &__rhs) const |
bool | test (size_t __pos) const |
bool | any () const |
bool | none () const |
bitset< _Nb > | operator<< (size_t __pos) const |
bitset< _Nb > | operator>> (size_t __pos) const |
size_t | _Find_first () const |
size_t | _Find_next (size_t __prev) const |
Private Types | |
typedef _Base_bitset< __BITSET_WORDS(_Nb) | _Base ) |
typedef unsigned long | _WordT |
Private Methods | |
void | _M_do_sanitize () |
Friends | |
class | reference |
|
Definition at line 421 of file std_bitset.h. |
|
Reimplemented from std::_Base_bitset< __BITSET_WORDS(_Nb)>. Definition at line 422 of file std_bitset.h. |
|
Definition at line 488 of file std_bitset.h. |
|
Definition at line 489 of file std_bitset.h. References __BITSET_WORDS, and std::bitset< _Nb >::_M_do_sanitize(). |
|
Definition at line 493 of file std_bitset.h. References __STL_THROW, std::bitset< _Nb >::_M_copy_from_string(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Definition at line 503 of file std_bitset.h. References __STL_THROW, std::bitset< _Nb >::_M_copy_from_string(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Definition at line 675 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_find_first(). |
|
Definition at line 679 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_find_next(). |
|
Definition at line 691 of file std_bitset.h. References __STL_THROW, std::min(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). Referenced by std::bitset< _Nb >::bitset(), and std::operator>>(). |
|
Definition at line 713 of file std_bitset.h. References std::basic_string< _CharT, _Traits, _Alloc >::assign(). Referenced by std::bitset< _Nb >::to_string(). |
|
Definition at line 425 of file std_bitset.h. Referenced by std::bitset< _Nb >::bitset(), std::bitset< _Nb >::flip(), std::bitset< _Nb >::operator<<=(), std::bitset< _Nb >::operator>>=(), and std::bitset< _Nb >::set(). |
|
Definition at line 565 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_getword(). Referenced by std::bitset< _Nb >::flip(). |
|
Definition at line 560 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_getword(). Referenced by std::bitset< _Nb >::reset(). |
|
Definition at line 551 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_getword(). |
|
Definition at line 546 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_getword(). Referenced by std::bitset< _Nb >::set(). |
|
Definition at line 570 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_getword(). Referenced by std::bitset< _Nb >::operator[](), and std::bitset< _Nb >::test(). |
|
Definition at line 660 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_is_any(). |
|
Definition at line 642 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_count(). |
|
Definition at line 608 of file std_bitset.h. References __STL_THROW, and std::bitset< _Nb >::_Unchecked_flip(). |
|
Definition at line 602 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_flip(), and std::bitset< _Nb >::_M_do_sanitize(). |
|
Definition at line 661 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_is_any(). |
|
Definition at line 514 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_and(). |
|
Definition at line 649 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_is_equal(). |
|
Definition at line 663 of file std_bitset.h. |
|
Definition at line 529 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_left_shift(), and std::bitset< _Nb >::_M_do_sanitize(). |
|
Definition at line 646 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_is_equal(). |
|
Definition at line 665 of file std_bitset.h. |
|
Definition at line 535 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_right_shift(), and std::bitset< _Nb >::_M_do_sanitize(). |
|
Definition at line 622 of file std_bitset.h. References std::bitset< _Nb >::_Unchecked_test(). |
|
Definition at line 621 of file std_bitset.h. References std::bitset< _Nb >::reference. |
|
Definition at line 524 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_xor(). |
|
Definition at line 519 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_or(). |
|
Definition at line 615 of file std_bitset.h. |
|
Definition at line 595 of file std_bitset.h. References __STL_THROW, and std::bitset< _Nb >::_Unchecked_reset(). |
|
Definition at line 590 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_reset(). |
|
Definition at line 583 of file std_bitset.h. References __STL_THROW, and std::bitset< _Nb >::_Unchecked_set(). |
|
Definition at line 577 of file std_bitset.h. References std::bitset< _Nb >::_M_do_sanitize(), and std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_set(). |
|
Definition at line 644 of file std_bitset.h. |
|
Definition at line 653 of file std_bitset.h. References __STL_THROW, and std::bitset< _Nb >::_Unchecked_test(). |
|
Definition at line 627 of file std_bitset.h. References std::bitset< _Nb >::_M_copy_to_string(). |
|
Definition at line 624 of file std_bitset.h. References std::_Base_bitset< __BITSET_WORDS(_Nb)>::_M_do_to_ulong(). |
|
Definition at line 433 of file std_bitset.h. Referenced by std::bitset< _Nb >::operator[](). |