ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::RoaringBitmap::const_iterator Class Reference

the iterator on the items in increasing order, forward More...

#include <ADS/set/RoaringBitmap.h>

Public types

using value_type = std::uint32_t
 the items
using reference = std::uint32_t
 an item, by value
using difference_type = std::ptrdiff_t
 the distances
using iterator_concept = std::forward_iterator_tag
 forward for the concepts of C++20
using iterator_category = std::input_iterator_tag
 input for the older algorithms, since *it is a value

Public member functions

 const_iterator (void)=default
 an iterator on no set
reference operator* (void) const
 the item
const_iterator & operator++ (void)
 to the next item: the next bit of the word of a bitmap, or the next place, word or container
const_iterator operator++ (int)
 to the next item, returning the iterator before the step
bool operator== (const const_iterator &o) const
 equal on the same item of the same container

Friends

class RoaringBitmap

Detailed description

the iterator on the items in increasing order, forward

Member typedef documentation

◆ difference_type

the distances

◆ iterator_category

input for the older algorithms, since *it is a value

◆ iterator_concept

using ADS::RoaringBitmap::const_iterator::iterator_concept = std::forward_iterator_tag

forward for the concepts of C++20

◆ reference

an item, by value

◆ value_type

the items

Constructor and destructor documentation

◆ const_iterator()

ADS::RoaringBitmap::const_iterator::const_iterator ( void )
default

an iterator on no set

Member function documentation

◆ operator*()

reference ADS::RoaringBitmap::const_iterator::operator* ( void ) const
inline

the item

◆ operator++() [1/2]

const_iterator ADS::RoaringBitmap::const_iterator::operator++ ( int )
inline

to the next item, returning the iterator before the step

◆ operator++() [2/2]

const_iterator & ADS::RoaringBitmap::const_iterator::operator++ ( void )
inline

to the next item: the next bit of the word of a bitmap, or the next place, word or container

◆ operator==()

bool ADS::RoaringBitmap::const_iterator::operator== ( const const_iterator & o) const
inline

equal on the same item of the same container

◆ RoaringBitmap

friend class RoaringBitmap
friend

The documentation for this class was generated from the following file: