CRoaring
4.2.1
Roaring bitmaps in C (and C++)
|
#include <roaring.hh>
Public Types | |
typedef std::bidirectional_iterator_tag | iterator_category |
typedef uint32_t * | pointer |
typedef uint32_t & | reference_type |
typedef uint32_t | value_type |
typedef int32_t | difference_type |
typedef RoaringSetBitBiDirectionalIterator | type_of_iterator |
Public Member Functions | |
RoaringSetBitBiDirectionalIterator (const Roaring &parent, bool exhausted=false) | |
value_type | operator* () const |
bool | operator< (const type_of_iterator &o) const |
bool | operator<= (const type_of_iterator &o) const |
bool | operator> (const type_of_iterator &o) const |
bool | operator>= (const type_of_iterator &o) const |
type_of_iterator & | operator++ () |
type_of_iterator | operator++ (int) |
bool | move_equalorlarger (value_type val) |
CROARING_DEPRECATED void | equalorlarger (uint32_t val) |
type_of_iterator & | operator-- () |
type_of_iterator | operator-- (int) |
bool | operator== (const RoaringSetBitBiDirectionalIterator &o) const |
bool | operator!= (const RoaringSetBitBiDirectionalIterator &o) const |
Public Attributes | |
api::roaring_uint32_iterator_t | i {} |
Used to go through the set bits. Not optimally fast, but convenient.
Definition at line 922 of file roaring.hh.
typedef int32_t roaring::RoaringSetBitBiDirectionalIterator::difference_type |
Definition at line 928 of file roaring.hh.
typedef std::bidirectional_iterator_tag roaring::RoaringSetBitBiDirectionalIterator::iterator_category |
Definition at line 924 of file roaring.hh.
typedef uint32_t* roaring::RoaringSetBitBiDirectionalIterator::pointer |
Definition at line 925 of file roaring.hh.
typedef uint32_t& roaring::RoaringSetBitBiDirectionalIterator::reference_type |
Definition at line 926 of file roaring.hh.
typedef RoaringSetBitBiDirectionalIterator roaring::RoaringSetBitBiDirectionalIterator::type_of_iterator |
Definition at line 929 of file roaring.hh.
typedef uint32_t roaring::RoaringSetBitBiDirectionalIterator::value_type |
Definition at line 927 of file roaring.hh.
|
inlineexplicit |
Definition at line 931 of file roaring.hh.
References roaring::Roaring::roaring, and roaring_iterator_init().
|
inline |
DEPRECATED, use move_equalorlarger
.
Definition at line 992 of file roaring.hh.
References roaring_uint32_iterator_move_equalorlarger().
|
inline |
Move the iterator to the first value >= val. Return true if there is such a value.
Definition at line 987 of file roaring.hh.
References roaring_uint32_iterator_move_equalorlarger().
|
inline |
Definition at line 1011 of file roaring.hh.
References i.
|
inline |
Provides the location of the set bit.
Definition at line 946 of file roaring.hh.
|
inline |
Definition at line 972 of file roaring.hh.
References roaring_uint32_iterator_advance().
|
inline |
Definition at line 977 of file roaring.hh.
References roaring_uint32_iterator_advance().
|
inline |
Definition at line 996 of file roaring.hh.
References roaring_uint32_iterator_previous().
|
inline |
Definition at line 1001 of file roaring.hh.
References roaring_uint32_iterator_previous().
|
inline |
Definition at line 948 of file roaring.hh.
References i.
|
inline |
Definition at line 954 of file roaring.hh.
References i.
|
inline |
Definition at line 1007 of file roaring.hh.
References i.
|
inline |
Definition at line 960 of file roaring.hh.
References i.
|
inline |
Definition at line 966 of file roaring.hh.
References i.
api::roaring_uint32_iterator_t roaring::RoaringSetBitBiDirectionalIterator::i {} |
Definition at line 1016 of file roaring.hh.
Referenced by operator!=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().