|
| 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)) |
|
| DynamicBitsetT () |
|
| DynamicBitsetT (size_type num_bits, unsigned long value=0) |
|
| DynamicBitsetT (const std::string &s, size_type pos, size_type n, size_type num_bits=npos) |
|
| DynamicBitsetT (const std::string &s, size_type pos=0) |
|
template<typename BlockInputIterator > |
| DynamicBitsetT (BlockInputIterator first, BlockInputIterator last) |
|
template<typename T > |
void | dispatch_init (T num_bits, unsigned long value, DynamicBitsetImpl::value_to_type< true >) |
|
template<typename T > |
void | dispatch_init (T first, T last, DynamicBitsetImpl::value_to_type< false >) |
|
template<typename BlockIter > |
void | init_from_block_range (BlockIter first, BlockIter last) |
|
| DynamicBitsetT (const DynamicBitsetT &b) |
|
| ~DynamicBitsetT () |
|
void | swap (DynamicBitsetT &b) |
|
DynamicBitsetT & | operator= (const DynamicBitsetT &b) |
|
void | resize (size_type numbits, 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) |
|
DynamicBitsetT & | operator &= (const DynamicBitsetT &b) |
|
DynamicBitsetT & | operator|= (const DynamicBitsetT &b) |
|
DynamicBitsetT & | operator^= (const DynamicBitsetT &b) |
|
DynamicBitsetT & | operator-= (const DynamicBitsetT &b) |
|
DynamicBitsetT & | operator<<= (size_type n) |
|
DynamicBitsetT & | operator>>= (size_type n) |
|
DynamicBitsetT | operator<< (size_type n) const |
|
DynamicBitsetT | operator>> (size_type n) const |
|
DynamicBitsetT & | set (size_type n, bool val=true) |
|
DynamicBitsetT & | set () |
|
DynamicBitsetT & | reset (size_type n) |
|
DynamicBitsetT & | reset () |
|
DynamicBitsetT & | flip (size_type n) |
|
DynamicBitsetT & | flip () |
|
bool | test (size_type n) const |
|
bool | any () const |
|
bool | none () const |
|
DynamicBitsetT | operator~ () const |
|
size_type | count () const |
|
reference | operator[] (size_type pos) |
|
bool | operator[] (size_type pos) const |
|
unsigned long | to_ulong () const |
|
size_type | size () const |
|
size_type | num_blocks () const |
|
size_type | max_size () const |
|
bool | empty () const |
|
bool | is_subset_of (const DynamicBitsetT &a) const |
|
bool | is_proper_subset_of (const DynamicBitsetT &a) const |
|
bool | intersects (const DynamicBitsetT &a) const |
|
size_type | find_first () const |
|
size_type | find_next (size_type pos) const |
|
| 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)) |
|
| DynamicBitsetT () |
|
| DynamicBitsetT (size_type num_bits, unsigned long value=0) |
|
| DynamicBitsetT (const std::string &s, size_type pos, size_type n, size_type num_bits=npos) |
|
| DynamicBitsetT (const std::string &s, size_type pos=0) |
|
template<typename BlockInputIterator > |
| DynamicBitsetT (BlockInputIterator first, BlockInputIterator last) |
|
template<typename T > |
void | dispatch_init (T num_bits, unsigned long value, DynamicBitsetImpl::value_to_type< true >) |
|
template<typename T > |
void | dispatch_init (T first, T last, DynamicBitsetImpl::value_to_type< false >) |
|
template<typename BlockIter > |
void | init_from_block_range (BlockIter first, BlockIter last) |
|
| DynamicBitsetT (const DynamicBitsetT &b) |
|
| ~DynamicBitsetT () |
|
void | swap (DynamicBitsetT &b) |
|
DynamicBitsetT & | operator= (const DynamicBitsetT &b) |
|
void | resize (size_type numbits, 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) |
|
DynamicBitsetT & | operator &= (const DynamicBitsetT &b) |
|
DynamicBitsetT & | operator|= (const DynamicBitsetT &b) |
|
DynamicBitsetT & | operator^= (const DynamicBitsetT &b) |
|
DynamicBitsetT & | operator-= (const DynamicBitsetT &b) |
|
DynamicBitsetT & | operator<<= (size_type n) |
|
DynamicBitsetT & | operator>>= (size_type n) |
|
DynamicBitsetT | operator<< (size_type n) const |
|
DynamicBitsetT | operator>> (size_type n) const |
|
DynamicBitsetT & | set (size_type n, bool val=true) |
|
DynamicBitsetT & | set () |
|
DynamicBitsetT & | reset (size_type n) |
|
DynamicBitsetT & | reset () |
|
DynamicBitsetT & | flip (size_type n) |
|
DynamicBitsetT & | flip () |
|
bool | test (size_type n) const |
|
bool | any () const |
|
bool | none () const |
|
DynamicBitsetT | operator~ () const |
|
size_type | count () const |
|
reference | operator[] (size_type pos) |
|
bool | operator[] (size_type pos) const |
|
unsigned long | to_ulong () const |
|
size_type | size () const |
|
size_type | num_blocks () const |
|
size_type | max_size () const |
|
bool | empty () const |
|
bool | is_subset_of (const DynamicBitsetT &a) const |
|
bool | is_proper_subset_of (const DynamicBitsetT &a) const |
|
bool | intersects (const DynamicBitsetT &a) const |
|
size_type | find_first () const |
|
size_type | find_next (size_type pos) const |
|
|
| BOOST_STATIC_ASSERT ((bool) DynamicBitsetImpl::allowed_block_type< Block >::value) |
|
| BOOST_STATIC_CONSTANT (block_width_type, ulong_width=std::numeric_limits< unsigned long >::digits) |
|
void | m_zero_unused_bits () |
|
bool | m_check_invariants () const |
|
size_type | m_do_find_from (size_type first_block) const |
|
block_width_type | count_extra_bits () const |
|
void | init_from_string (const std::string &s, std::string::size_type pos, std::string::size_type n, size_type num_bits) |
|
void | init_from_unsigned_long (size_type num_bits, unsigned long value) |
|
bool | m_unchecked_test (size_type pos) const |
|
Block & | m_highest_block () |
|
const Block & | m_highest_block () const |
|
| BOOST_STATIC_ASSERT ((bool) DynamicBitsetImpl::allowed_block_type< Block >::value) |
|
| BOOST_STATIC_CONSTANT (block_width_type, ulong_width=std::numeric_limits< unsigned long >::digits) |
|
void | m_zero_unused_bits () |
|
bool | m_check_invariants () const |
|
size_type | m_do_find_from (size_type first_block) const |
|
block_width_type | count_extra_bits () const |
|
void | init_from_string (const std::string &s, std::string::size_type pos, std::string::size_type n, size_type num_bits) |
|
void | init_from_unsigned_long (size_type num_bits, unsigned long value) |
|
bool | m_unchecked_test (size_type pos) const |
|
Block & | m_highest_block () |
|
const Block & | m_highest_block () const |
|
|
class | bit_appender |
|
template<typename B , typename BV > |
bool | operator== (const DynamicBitsetT< B, BV > &a, const DynamicBitsetT< B, BV > &b) |
|
template<typename B , typename BV > |
bool | operator< (const DynamicBitsetT< B, BV > &a, const DynamicBitsetT< B, BV > &b) |
|
template<typename B , typename BV , typename BlockOutputIterator > |
void | to_block_range (const DynamicBitsetT< B, BV > &b, BlockOutputIterator result) |
|
template<typename BlockIterator , typename B , typename BV > |
void | from_block_range (BlockIterator first, BlockIterator last, DynamicBitsetT< B, BV > &result) |
|
template<typename B , typename BV > |
std::istream & | operator>> (std::istream &is, DynamicBitsetT< B, BV > &b) |
|
template<typename B , typename BV > |
void | to_string_helper (const DynamicBitsetT< B, BV > &b, std::string &s, bool dump_all) |
|
template<typename B , typename BV > |
bool | operator== (const DynamicBitsetT< B, BV > &a, const DynamicBitsetT< B, BV > &b) |
|
template<typename B , typename BV > |
bool | operator< (const DynamicBitsetT< B, BV > &a, const DynamicBitsetT< B, BV > &b) |
|
template<typename B , typename BV , typename BlockOutputIterator > |
void | to_block_range (const DynamicBitsetT< B, BV > &b, BlockOutputIterator result) |
|
template<typename BlockIterator , typename B , typename BV > |
void | from_block_range (BlockIterator first, BlockIterator last, DynamicBitsetT< B, BV > &result) |
|
template<typename B , typename BV > |
std::istream & | operator>> (std::istream &is, DynamicBitsetT< B, BV > &b) |
|
template<typename B , typename BV > |
void | to_string_helper (const DynamicBitsetT< B, BV > &b, std::string &s, bool dump_all) |
|
template<typename B , typename BV >
frb block_width_type const ls = bits_per_block - r;
frb b[i-div] = (b[i] >> r) | (b[i+1] << ls);
frb b[last-div] = b[last] >> r;
frb block_width_type const ls = bits_per_block - r;
frb b[i-div] = (b[i] >> r) | (b[i+1] << ls);
frb b[last-div] = b[last] >> r;
template<typename Block , typename BlockVar >
frb BlockVar::mbits[old_num_blocks - 1] |= (v << extra_bits);
frb BlockVar::mnumbits = num_bits;
frb BlockVar::mbits[old_num_blocks - 1] |= (v << extra_bits);
frb BlockVar::mnumbits = num_bits;