BitMagic-C++
|
Output iterator iterator designed to set "ON" bits based on input sequence of integers (bit indeces). More...
#include <bm.h>
Public Types | |
typedef std::output_iterator_tag | iterator_category |
typedef bm::bvector< Alloc > | bvector_type |
typedef size_type | value_type |
typedef void | difference_type |
typedef void | pointer |
typedef void | reference |
Public Member Functions | |
insert_iterator () | |
insert_iterator (bvector< Alloc > &bvect) | |
insert_iterator (const insert_iterator &iit) | |
insert_iterator & | operator= (const insert_iterator &ii) |
insert_iterator & | operator= (size_type n) |
insert_iterator & | operator* () |
insert_iterator & | operator++ () |
insert_iterator & | operator++ (int) |
bvector_type * | get_bvector () const |
Protected Attributes | |
bvector_type * | bvect_ |
size_type | max_bit_ |
Friends | |
class | bulk_insert_iterator |
Output iterator iterator designed to set "ON" bits based on input sequence of integers (bit indeces).
STL container can be converted to bvector using this iterator Insert iterator guarantees the vector will be dynamically resized (set_bit does not do that).
typedef bm::bvector<Alloc> bm::bvector< Alloc >::insert_iterator::bvector_type |
typedef void bm::bvector< Alloc >::insert_iterator::difference_type |
typedef std::output_iterator_tag bm::bvector< Alloc >::insert_iterator::iterator_category |
typedef void bm::bvector< Alloc >::insert_iterator::pointer |
typedef void bm::bvector< Alloc >::insert_iterator::reference |
typedef size_type bm::bvector< Alloc >::insert_iterator::value_type |
|
inline |
|
inline |
Definition at line 384 of file bm.h.
References bm::bvector< Alloc >::insert_iterator::bvect_, and bm::bvector< Alloc >::init().
|
inline |
|
inline |
Definition at line 427 of file bm.h.
References bm::bvector< Alloc >::insert_iterator::bvect_.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 397 of file bm.h.
References bm::bvector< Alloc >::insert_iterator::bvect_, and bm::bvector< Alloc >::insert_iterator::max_bit_.
|
inline |
Definition at line 403 of file bm.h.
References BM_ASSERT, BM_ASSERT_THROW, bm::bvector< Alloc >::insert_iterator::bvect_, bm::id_max, bm::bvector< Alloc >::insert_iterator::max_bit_, bm::bvector< Alloc >::resize(), bm::bvector< Alloc >::set_bit_no_check(), and bm::bvector< Alloc >::size().
|
friend |
|
protected |
Definition at line 430 of file bm.h.
Referenced by bm::bvector< Alloc >::insert_iterator::get_bvector(), bm::bvector< Alloc >::insert_iterator::insert_iterator(), and bm::bvector< Alloc >::insert_iterator::operator=().
|
protected |
Definition at line 431 of file bm.h.
Referenced by bm::bvector< Alloc >::insert_iterator::operator=().