|
ADS
Algorithms and Data Structures
|
the iterator on the pairs by increasing keys, a leaf and a place in it More...
#include <ADS/tree/BPlusTree.h>
Public types | |
| using | reference |
| a pair of constant references, the key and its value (that of the vector of the values, a proxy if V is bool), whose value is ( K , V ) | |
| using | value_type = std::pair< K , V > |
| the pairs, by value | |
| using | difference_type = std::ptrdiff_t |
| the type of the distances | |
| using | iterator_concept = std::bidirectional_iterator_tag |
| the category of the iterator for the concepts of C++20, bidirectional | |
| 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 tree | |
| const_iterator (const BPlusTree *t, const Node *f, std::size_t i) | |
| on the place \( i \) of the leaf \( f \) of the tree \( t \), the end if \( f \) is nil | |
| reference | operator* (void) const |
| the pair of the place | |
| const_iterator & | operator++ (void) |
| to the next pair, along the list of the leaves | |
| const_iterator & | operator-- (void) |
| to the previous pair, from the end to the last pair | |
| const_iterator | operator++ (int) |
| to the next pair, returning the iterator before the step | |
| const_iterator | operator-- (int) |
| to the previous pair, returning the iterator before the step | |
| bool | operator== (const const_iterator &o) const |
| equal on the same place of the same leaf | |
the iterator on the pairs by increasing keys, a leaf and a place in it
| using ADS::BPlusTree< K, V >::const_iterator::difference_type = std::ptrdiff_t |
the type of the distances
| using ADS::BPlusTree< K, V >::const_iterator::iterator_category = std::input_iterator_tag |
input for the older algorithms, since *it is a value
| using ADS::BPlusTree< K, V >::const_iterator::iterator_concept = std::bidirectional_iterator_tag |
the category of the iterator for the concepts of C++20, bidirectional
| using ADS::BPlusTree< K, V >::const_iterator::reference |
a pair of constant references, the key and its value (that of the vector of the values, a proxy if V is bool), whose value is ( K , V )
| using ADS::BPlusTree< K, V >::const_iterator::value_type = std::pair< K , V > |
the pairs, by value
|
default |
an iterator on no tree
|
inline |
on the place \( i \) of the leaf \( f \) of the tree \( t \), the end if \( f \) is nil
|
inline |
the pair of the place
|
inline |
to the next pair, returning the iterator before the step
|
inline |
to the next pair, along the list of the leaves
|
inline |
to the previous pair, returning the iterator before the step
|
inline |
to the previous pair, from the end to the last pair
|
inline |
equal on the same place of the same leaf