CRoaring
4.0.0
Roaring bitmaps in C (and C++)
|
#include <roaring.hh>
Public Types | |
typedef std::forward_iterator_tag | iterator_category |
typedef uint32_t * | pointer |
typedef uint32_t & | reference_type |
typedef uint32_t | value_type |
typedef int32_t | difference_type |
typedef RoaringSetBitForwardIterator | type_of_iterator |
Public Member Functions | |
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 |
void | equalorlarger (uint32_t val) |
type_of_iterator & | operator++ () |
type_of_iterator | operator++ (int) |
type_of_iterator & | operator-- () |
type_of_iterator | operator-- (int) |
bool | operator== (const RoaringSetBitForwardIterator &o) const |
bool | operator!= (const RoaringSetBitForwardIterator &o) const |
RoaringSetBitForwardIterator (const Roaring &parent, bool exhausted=false) | |
Public Attributes | |
api::roaring_uint32_iterator_t | i {} |
Used to go through the set bits. Not optimally fast, but convenient.
Definition at line 896 of file roaring.hh.
typedef int32_t roaring::RoaringSetBitForwardIterator::difference_type |
Definition at line 902 of file roaring.hh.
typedef std::forward_iterator_tag roaring::RoaringSetBitForwardIterator::iterator_category |
Definition at line 898 of file roaring.hh.
typedef uint32_t* roaring::RoaringSetBitForwardIterator::pointer |
Definition at line 899 of file roaring.hh.
typedef uint32_t& roaring::RoaringSetBitForwardIterator::reference_type |
Definition at line 900 of file roaring.hh.
Definition at line 903 of file roaring.hh.
typedef uint32_t roaring::RoaringSetBitForwardIterator::value_type |
Definition at line 901 of file roaring.hh.
|
inlineexplicit |
Definition at line 971 of file roaring.hh.
References roaring::Roaring::roaring, and roaring_iterator_init().
|
inline |
Move the iterator to the first value >= val.
Definition at line 937 of file roaring.hh.
References roaring_uint32_iterator_move_equalorlarger().
|
inline |
Definition at line 967 of file roaring.hh.
References i.
|
inline |
Provides the location of the set bit.
Definition at line 908 of file roaring.hh.
|
inline |
Definition at line 941 of file roaring.hh.
References roaring_uint32_iterator_advance().
|
inline |
Definition at line 946 of file roaring.hh.
References roaring_uint32_iterator_advance().
|
inline |
Definition at line 952 of file roaring.hh.
References roaring_uint32_iterator_previous().
|
inline |
Definition at line 957 of file roaring.hh.
References roaring_uint32_iterator_previous().
|
inline |
Definition at line 910 of file roaring.hh.
References i.
|
inline |
Definition at line 916 of file roaring.hh.
References i.
|
inline |
Definition at line 963 of file roaring.hh.
References i.
|
inline |
Definition at line 922 of file roaring.hh.
References i.
|
inline |
Definition at line 928 of file roaring.hh.
References i.
api::roaring_uint32_iterator_t roaring::RoaringSetBitForwardIterator::i {} |
Definition at line 984 of file roaring.hh.
Referenced by operator!=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().