#include <dynamic_bitset_fwd.hpp>
Classes | |
| class | reference |
Public Types | |
| typedef Block | block_type |
| typedef Allocator | allocator_type |
| typedef std::size_t | size_type |
| typedef buffer_type::size_type | block_width_type |
| typedef bool | const_reference |
Public Member Functions | |
| BOOST_STATIC_CONSTANT (block_width_type, bits_per_block=(std::numeric_limits< Block >::digits)) | |
| BOOST_STATIC_CONSTANT (size_type, npos=static_cast< size_type >(-1)) | |
| dynamic_bitset (const Allocator &alloc=Allocator()) | |
| dynamic_bitset (size_type num_bits, unsigned long value=0, const Allocator &alloc=Allocator()) | |
| template<typename CharT , typename Traits , typename Alloc > | |
| dynamic_bitset (const std::basic_string< CharT, Traits, Alloc > &s, typename std::basic_string< CharT, Traits, Alloc >::size_type pos, typename std::basic_string< CharT, Traits, Alloc >::size_type n, size_type num_bits=npos, const Allocator &alloc=Allocator()) | |
| template<typename CharT , typename Traits , typename Alloc > | |
| dynamic_bitset (const std::basic_string< CharT, Traits, Alloc > &s, typename std::basic_string< CharT, Traits, Alloc >::size_type pos=0) | |
| template<typename BlockInputIterator > | |
| dynamic_bitset (BlockInputIterator first, BlockInputIterator last, const Allocator &alloc=Allocator()) | |
| template<typename T > | |
| void | dispatch_init (T num_bits, unsigned long value, detail::dynamic_bitset_impl::value_to_type< true >) |
| template<typename T > | |
| void | dispatch_init (T first, T last, detail::dynamic_bitset_impl::value_to_type< false >) |
| template<typename BlockIter > | |
| void | init_from_block_range (BlockIter first, BlockIter last) |
| dynamic_bitset (const dynamic_bitset &b) | |
| ~dynamic_bitset () | |
| void | swap (dynamic_bitset &b) |
| dynamic_bitset & | operator= (const dynamic_bitset &b) |
| dynamic_bitset (dynamic_bitset &&src) | |
| dynamic_bitset & | operator= (dynamic_bitset &&src) |
| allocator_type | get_allocator () const |
| void | resize (size_type num_bits, bool value=false) |
| void | clear () |
| void | push_back (bool bit) |
| void | append (Block block) |
| template<typename BlockInputIterator > | |
| void | m_append (BlockInputIterator first, BlockInputIterator last, std::input_iterator_tag) |
| template<typename BlockInputIterator > | |
| void | m_append (BlockInputIterator first, BlockInputIterator last, std::forward_iterator_tag) |
| template<typename BlockInputIterator > | |
| void | append (BlockInputIterator first, BlockInputIterator last) |
| dynamic_bitset & | operator&= (const dynamic_bitset &b) |
| dynamic_bitset & | operator|= (const dynamic_bitset &b) |
| dynamic_bitset & | operator^= (const dynamic_bitset &b) |
| dynamic_bitset & | operator-= (const dynamic_bitset &b) |
| dynamic_bitset & | operator<<= (size_type n) |
| dynamic_bitset & | operator>>= (size_type n) |
| dynamic_bitset | operator<< (size_type n) const |
| dynamic_bitset | operator>> (size_type n) const |
| dynamic_bitset & | set (size_type n, bool val=true) |
| dynamic_bitset & | set () |
| dynamic_bitset & | reset (size_type n) |
| dynamic_bitset & | reset () |
| dynamic_bitset & | flip (size_type n) |
| dynamic_bitset & | flip () |
| bool | test (size_type n) const |
| bool | test_set (size_type n, bool val=true) |
| bool | all () const |
| bool | any () const |
| bool | none () const |
| dynamic_bitset | operator~ () const |
| size_type | count () const BOOST_NOEXCEPT |
| reference | operator[] (size_type pos) |
| bool | operator[] (size_type pos) const |
| unsigned long | to_ulong () const |
| size_type | size () const BOOST_NOEXCEPT |
| size_type | num_blocks () const BOOST_NOEXCEPT |
| size_type | max_size () const BOOST_NOEXCEPT |
| bool | empty () const BOOST_NOEXCEPT |
| bool | is_subset_of (const dynamic_bitset &a) const |
| bool | is_proper_subset_of (const dynamic_bitset &a) const |
| bool | intersects (const dynamic_bitset &a) const |
| size_type | find_first () const |
| size_type | find_next (size_type pos) const |
Friends | |
| class | bit_appender |
| template<typename B , typename A > | |
| bool | operator== (const dynamic_bitset< B, A > &a, const dynamic_bitset< B, A > &b) |
| template<typename B , typename A > | |
| bool | operator< (const dynamic_bitset< B, A > &a, const dynamic_bitset< B, A > &b) |
| template<typename B , typename A , typename BlockOutputIterator > | |
| void | to_block_range (const dynamic_bitset< B, A > &b, BlockOutputIterator result) |
| template<typename BlockIterator , typename B , typename A > | |
| void | from_block_range (BlockIterator first, BlockIterator last, dynamic_bitset< B, A > &result) |
| template<typename CharT , typename Traits , typename B , typename A > | |
| std::basic_istream< CharT, Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, dynamic_bitset< B, A > &b) |
| template<typename B , typename A , typename stringT > | |
| void | to_string_helper (const dynamic_bitset< B, A > &b, stringT &s, bool dump_all) |
| typedef Allocator boost::dynamic_bitset< Block, Allocator >::allocator_type |
| typedef Block boost::dynamic_bitset< Block, Allocator >::block_type |
| typedef buffer_type::size_type boost::dynamic_bitset< Block, Allocator >::block_width_type |
| typedef bool boost::dynamic_bitset< Block, Allocator >::const_reference |
| typedef std::size_t boost::dynamic_bitset< Block, Allocator >::size_type |
|
explicit |
|
explicit |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
References boost::asio::b, and boost::dynamic_bitset< Block, Allocator >::empty().
| bool boost::dynamic_bitset< Block, Allocator >::all | ( | ) | const |
References boost::empty(), and boost::multiprecision::backends::i.
| bool boost::dynamic_bitset< Block, Allocator >::any | ( | ) | const |
References boost::multiprecision::backends::i.
| void boost::dynamic_bitset< Block, Allocator >::append | ( | Block | block | ) |
|
inline |
| boost::dynamic_bitset< Block, Allocator >::BOOST_STATIC_CONSTANT | ( | block_width_type | , |
| bits_per_block | = (std::numeric_limits< Block >::digits) |
||
| ) |
| boost::dynamic_bitset< Block, Allocator >::BOOST_STATIC_CONSTANT | ( | size_type | , |
| npos | = static_cast< size_type >(-1) |
||
| ) |
| void boost::dynamic_bitset< Block, Allocator >::clear | ( | ) |
Referenced by boost::operator>>().
| dynamic_bitset< Block, Allocator >::size_type boost::dynamic_bitset< Block, Allocator >::count | ( | ) | const |
References boost::math::concepts::mode().
|
inline |
Referenced by boost::dynamic_bitset< Block, Allocator >::dynamic_bitset().
|
inline |
|
inline |
References boost::size().
Referenced by boost::dynamic_bitset< Block, Allocator >::dynamic_bitset().
| dynamic_bitset< Block, Allocator >::size_type boost::dynamic_bitset< Block, Allocator >::find_first | ( | ) | const |
| dynamic_bitset< Block, Allocator >::size_type boost::dynamic_bitset< Block, Allocator >::find_next | ( | size_type | pos | ) | const |
References boost::lowest_bit(), and boost::size().
| dynamic_bitset< Block, Allocator > & boost::dynamic_bitset< Block, Allocator >::flip | ( | size_type | n | ) |
Referenced by boost::dynamic_bitset< Block, Allocator >::operator~().
| dynamic_bitset< Block, Allocator > & boost::dynamic_bitset< Block, Allocator >::flip | ( | ) |
References boost::multiprecision::backends::i.
|
inline |
|
inline |
References boost::xpressive::first, and boost::last.
Referenced by boost::dynamic_bitset< Block, Allocator >::dispatch_init().
| bool boost::dynamic_bitset< Block, Allocator >::intersects | ( | const dynamic_bitset< Block, Allocator > & | a | ) | const |
| bool boost::dynamic_bitset< Block, Allocator >::is_proper_subset_of | ( | const dynamic_bitset< Block, Allocator > & | a | ) | const |
| bool boost::dynamic_bitset< Block, Allocator >::is_subset_of | ( | const dynamic_bitset< Block, Allocator > & | a | ) | const |
|
inline |
Referenced by boost::dynamic_bitset< Block, Allocator >::append().
|
inline |
|
inline |
Referenced by boost::operator>>().
|
inline |
References boost::fusion::any().
|
inline |
| dynamic_bitset< Block, Allocator > & boost::dynamic_bitset< Block, Allocator >::operator&= | ( | const dynamic_bitset< Block, Allocator > & | b | ) |
| dynamic_bitset< Block, Allocator > & boost::dynamic_bitset< Block, Allocator >::operator-= | ( | const dynamic_bitset< Block, Allocator > & | b | ) |
| dynamic_bitset< Block, Allocator > boost::dynamic_bitset< Block, Allocator >::operator<< | ( | size_type | n | ) | const |
References boost::n.
| dynamic_bitset< Block, Allocator > & boost::dynamic_bitset< Block, Allocator >::operator<<= | ( | size_type | n | ) |
| dynamic_bitset< Block, Allocator > & boost::dynamic_bitset< Block, Allocator >::operator= | ( | const dynamic_bitset< Block, Allocator > & | b | ) |
|
inline |
References boost::addressof(), boost::asio::b, boost::empty(), and boost::move().
| dynamic_bitset< Block, Allocator > boost::dynamic_bitset< Block, Allocator >::operator>> | ( | size_type | n | ) | const |
References boost::n.
| dynamic_bitset< B, A > & boost::dynamic_bitset< B, A >::operator>>= | ( | size_type | n | ) |
|
inline |
|
inline |
| dynamic_bitset< Block, Allocator > & boost::dynamic_bitset< Block, Allocator >::operator^= | ( | const dynamic_bitset< Block, Allocator > & | b | ) |
| dynamic_bitset< Block, Allocator > & boost::dynamic_bitset< Block, Allocator >::operator|= | ( | const dynamic_bitset< Block, Allocator > & | b | ) |
| dynamic_bitset< Block, Allocator > boost::dynamic_bitset< Block, Allocator >::operator~ | ( | ) | const |
References boost::asio::b, and boost::dynamic_bitset< Block, Allocator >::flip().
| void boost::dynamic_bitset< Block, Allocator >::push_back | ( | bool | bit | ) |
References boost::geometry::range::resize(), boost::xpressive::set, and boost::size().
| dynamic_bitset< Block, Allocator > & boost::dynamic_bitset< Block, Allocator >::reset | ( | size_type | n | ) |
| dynamic_bitset< Block, Allocator > & boost::dynamic_bitset< Block, Allocator >::reset | ( | ) |
References std::fill().
| void boost::dynamic_bitset< Block, Allocator >::resize | ( | size_type | num_bits, |
| bool | value = false |
||
| ) |
| dynamic_bitset< Block, Allocator > & boost::dynamic_bitset< Block, Allocator >::set | ( | size_type | n, |
| bool | val = true |
||
| ) |
| dynamic_bitset< Block, Allocator > & boost::dynamic_bitset< Block, Allocator >::set | ( | ) |
References std::fill().
|
inline |
Referenced by boost::dynamic_bitset< Block, Allocator >::is_proper_subset_of(), boost::dynamic_bitset< Block, Allocator >::is_subset_of(), boost::dynamic_bitset< Block, Allocator >::operator&=(), boost::dynamic_bitset< Block, Allocator >::operator-=(), boost::operator>>(), boost::dynamic_bitset< Block, Allocator >::operator^=(), boost::dynamic_bitset< Block, Allocator >::operator|=(), and boost::to_string_helper().
|
inline |
References boost::swap().
Referenced by boost::swap().
| bool boost::dynamic_bitset< Block, Allocator >::test | ( | size_type | n | ) | const |
Referenced by boost::dynamic_bitset< Block, Allocator >::operator[]().
| bool boost::dynamic_bitset< Block, Allocator >::test_set | ( | size_type | n, |
| bool | val = true |
||
| ) |
References boost::asio::b, boost::xpressive::set, and boost::spirit::x3::testing::test().
| unsigned long boost::dynamic_bitset< Block, Allocator >::to_ulong | ( | ) | const |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |