#include <bm.h>
Inheritance diagram for bm::bvector< Alloc, MS >::iterator_base:


Public Member Functions | |
| iterator_base () | |
| bool | operator== (const iterator_base &it) const |
| bool | operator!= (const iterator_base &it) const |
| bool | operator< (const iterator_base &it) const |
| bool | operator<= (const iterator_base &it) const |
| bool | operator> (const iterator_base &it) const |
| bool | operator>= (const iterator_base &it) const |
| bool | valid () const |
| Checks if iterator is still valid. Analog of != 0 comparison for pointers. | |
| void | invalidate () |
| Turns iterator into an invalid state. | |
Protected Attributes | |
| bm::bvector< Alloc, MS > * | bv_ |
| Pointer on parent bitvector. | |
| bm::id_t | position_ |
| Bit position (bit idx). | |
| const bm::word_t * | block_ |
| Block pointer.(NULL-invalid). | |
| unsigned | block_type_ |
| Type of block. 0-Bit, 1-GAP. | |
| unsigned | block_idx_ |
| Block index. | |
| bm::bvector::iterator_base::block_descr | bdescr_ |
Friends | |
| class | bvector |
Data Structures | |
| struct | bitblock_descr |
| Information about current bitblock. More... | |
| union | block_descr |
| struct | dgap_descr |
| Information about current DGAP block. More... | |
Definition at line 223 of file bm.h.
|
|||||||||
|
Definition at line 227 of file bm.h. References bm::bvector< Alloc, MS >::iterator_base::block_, bm::bvector< Alloc, MS >::iterator_base::bv_, bm::id_max, and bm::bvector< Alloc, MS >::iterator_base::position_. |
|
|||||||||
|
Turns iterator into an invalid state.
Definition at line 273 of file bm.h. References bm::bvector< Alloc, MS >::iterator_base::position_. Referenced by bm::bvector< Alloc, MS >::enumerator::enumerator(), bm::bvector< Alloc, MS >::enumerator::go_first(), and bm::bvector< Alloc, MS >::enumerator::go_up(). |
|
||||||||||
|
Definition at line 234 of file bm.h. References bm::bvector< Alloc, MS >::iterator_base::operator==(). |
|
||||||||||
|
Definition at line 239 of file bm.h. References bm::bvector< Alloc, MS >::reference::position_, and bm::bvector< Alloc, MS >::iterator_base::position_. |
|
||||||||||
|
Definition at line 244 of file bm.h. References bm::bvector< Alloc, MS >::reference::position_, and bm::bvector< Alloc, MS >::iterator_base::position_. |
|
||||||||||
|
Definition at line 229 of file bm.h. References bm::bvector< Alloc, MS >::iterator_base::bv_, and bm::bvector< Alloc, MS >::iterator_base::position_. Referenced by bm::bvector< Alloc, MS >::iterator_base::operator!=(). |
|
||||||||||
|
Definition at line 249 of file bm.h. References bm::bvector< Alloc, MS >::reference::position_, and bm::bvector< Alloc, MS >::iterator_base::position_. |
|
||||||||||
|
Definition at line 254 of file bm.h. References bm::bvector< Alloc, MS >::reference::position_, and bm::bvector< Alloc, MS >::iterator_base::position_. |
|
|||||||||
|
Checks if iterator is still valid. Analog of != 0 comparison for pointers.
Definition at line 264 of file bm.h. References bm::bvector< Alloc, MS >::iterator_base::position_. |
|
|||||
|
|
|
|||||
|
Block type dependent information for current block. |
|
|||||
|
Block pointer.(NULL-invalid).
Definition at line 300 of file bm.h. Referenced by bm::bvector< Alloc, MS >::iterator_base::iterator_base(). |
|
|||||
|
Block index.
|
|
|||||
|
Type of block. 0-Bit, 1-GAP.
|
|
|||||
|
Pointer on parent bitvector.
Definition at line 298 of file bm.h. Referenced by bm::bvector< Alloc, MS >::iterator_base::iterator_base(), and bm::bvector< Alloc, MS >::iterator_base::operator==(). |
|
|||||
1.4.1