#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 235 of file bm.h.
|
Definition at line 239 of file bm.h. References bm::bvector< Alloc, MS >::iterator_base::block_. |
|
Turns iterator into an invalid state.
Definition at line 285 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 246 of file bm.h. References bm::bvector< Alloc, MS >::iterator_base::operator==(). |
|
Definition at line 251 of file bm.h. References bm::bvector< Alloc, MS >::reference::position_, and bm::bvector< Alloc, MS >::iterator_base::position_. |
|
Definition at line 256 of file bm.h. References bm::bvector< Alloc, MS >::reference::position_, and bm::bvector< Alloc, MS >::iterator_base::position_. |
|
Definition at line 241 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 261 of file bm.h. References bm::bvector< Alloc, MS >::reference::position_, and bm::bvector< Alloc, MS >::iterator_base::position_. |
|
Definition at line 266 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 276 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 312 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 310 of file bm.h. Referenced by bm::bvector< Alloc, MS >::iterator_base::operator==(). |
|