|
ADS
Algorithms and Data Structures
|
the constant iterator in symmetric order, by the threads More...
#include <ADS/tree/ThreadedTree.h>
Public types | |
| using | iterator_category = std::bidirectional_iterator_tag |
| the category of the iterator, bidirectional | |
| using | value_type = K |
| the type of the keys | |
| using | difference_type = std::ptrdiff_t |
| the type of the distances | |
| using | reference = const K & |
| a constant reference | |
| using | pointer = const K * |
| a constant pointer | |
Public member functions | |
| const_iterator (void)=default | |
| an iterator on no tree | |
| const_iterator (const ThreadedTree *t, const Node *x) | |
| on the node \( x \) of \( t \), the end if \( x \) is the head | |
| reference | operator* (void) const |
| the key | |
| pointer | operator-> (void) const |
| the address of the key | |
| const_iterator & | operator++ (void) |
| to the successor, by successor() | |
| const_iterator & | operator-- (void) |
| to the predecessor, by predecessor() | |
| const_iterator | operator++ (int) |
| to the successor, returning the iterator before the step | |
| const_iterator | operator-- (int) |
| to the predecessor, returning the iterator before the step | |
| bool | operator== (const const_iterator &o) const |
| equal on the same node | |
the constant iterator in symmetric order, by the threads
| using ADS::ThreadedTree< K >::const_iterator::difference_type = std::ptrdiff_t |
the type of the distances
| using ADS::ThreadedTree< K >::const_iterator::iterator_category = std::bidirectional_iterator_tag |
the category of the iterator, bidirectional
| using ADS::ThreadedTree< K >::const_iterator::pointer = const K * |
a constant pointer
| using ADS::ThreadedTree< K >::const_iterator::reference = const K & |
a constant reference
| using ADS::ThreadedTree< K >::const_iterator::value_type = K |
the type of the keys
|
default |
an iterator on no tree
|
inline |
on the node \( x \) of \( t \), the end if \( x \) is the head
|
inline |
the key
|
inline |
to the successor, returning the iterator before the step
|
inline |
to the successor, by successor()
|
inline |
to the predecessor, returning the iterator before the step
|
inline |
to the predecessor, by predecessor()
|
inline |
the address of the key
|
inline |
equal on the same node