|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Forward iterator for DynSkipList. More...
#include <tpl_dynSkipList.H>
Public Types | |
| using | Set_Type = DynSkipList |
Public Member Functions | |
| Iterator () noexcept=default | |
| Iterator (const DynSkipList &list) noexcept | |
| bool | has_curr () const noexcept |
| bool | is_last () const noexcept |
| const Key & | get_curr () const |
| const Key & | get_curr_ne () const noexcept |
| Key & | get_curr () |
| const Key & | get_key () const |
| void | next () |
| void | next_ne () noexcept |
| void | reset_first () noexcept |
| void | reset () noexcept |
| Iterator & | operator= (const Iterator &) noexcept=default |
| bool | operator== (const Iterator &it) const noexcept |
| bool | operator!= (const Iterator &it) const noexcept |
| Iterator & | operator++ () noexcept |
| Iterator | operator++ (int) noexcept |
| const Key & | operator* () const |
| const Key * | operator-> () const |
Private Attributes | |
| const DynSkipList * | list_ptr = nullptr |
| Node * | curr = nullptr |
Forward iterator for DynSkipList.
Iterates through elements in sorted order.
Definition at line 711 of file tpl_dynSkipList.H.
| using Aleph::DynSkipList< Key, Compare >::Iterator::Set_Type = DynSkipList |
Definition at line 717 of file tpl_dynSkipList.H.
|
defaultnoexcept |
|
inlineexplicitnoexcept |
Definition at line 721 of file tpl_dynSkipList.H.
|
inline |
Definition at line 743 of file tpl_dynSkipList.H.
References ah_overflow_error_if, Aleph::DynSkipList< Key, Compare >::Iterator::curr, and Aleph::DynSkipList< Key, Compare >::Node::key.
|
inline |
Definition at line 732 of file tpl_dynSkipList.H.
References ah_overflow_error_if, Aleph::DynSkipList< Key, Compare >::Iterator::curr, and Aleph::DynSkipList< Key, Compare >::Node::key.
Referenced by Aleph::DynSkipList< Key, Compare >::Iterator::get_key(), Aleph::DynSkipList< Key, Compare >::Iterator::operator*(), and Aleph::DynSkipList< Key, Compare >::Iterator::operator->().
|
inlinenoexcept |
Definition at line 738 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::curr, and Aleph::DynSkipList< Key, Compare >::Node::key.
|
inline |
Definition at line 749 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::get_curr().
|
inlinenoexcept |
Definition at line 725 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::curr.
Referenced by demonstrate_basic_operations(), and demonstrate_string_set().
|
inlinenoexcept |
Definition at line 727 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::curr, Aleph::DynSkipList< Key, Compare >::Node::forward, and FunctionalMethods< Container, T >::maps().
|
inline |
Definition at line 751 of file tpl_dynSkipList.H.
References ah_overflow_error_if, Aleph::DynSkipList< Key, Compare >::Iterator::curr, and Aleph::DynSkipList< Key, Compare >::Iterator::next_ne().
|
inlinenoexcept |
Definition at line 757 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::curr, and Aleph::DynSkipList< Key, Compare >::Node::forward.
Referenced by Aleph::DynSkipList< Key, Compare >::Iterator::next(), Aleph::DynSkipList< Key, Compare >::Iterator::operator++(), and Aleph::DynSkipList< Key, Compare >::Iterator::operator++().
|
inlinenoexcept |
Definition at line 778 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::curr.
|
inline |
Definition at line 796 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::get_curr().
|
inlinenoexcept |
Definition at line 783 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::next_ne().
|
inlinenoexcept |
Definition at line 789 of file tpl_dynSkipList.H.
References FunctionalMethods< Container, T >::maps(), and Aleph::DynSkipList< Key, Compare >::Iterator::next_ne().
|
inline |
Definition at line 797 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::get_curr().
|
defaultnoexcept |
|
inlinenoexcept |
Definition at line 773 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::curr.
|
inlinenoexcept |
Definition at line 769 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::reset_first().
|
inlinenoexcept |
Definition at line 763 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::curr, Aleph::DynSkipList< Key, Compare >::Node::forward, Aleph::DynSkipList< Key, Compare >::header, and Aleph::DynSkipList< Key, Compare >::Iterator::list_ptr.
Referenced by Aleph::DynSkipList< Key, Compare >::Iterator::reset().
|
private |
Definition at line 714 of file tpl_dynSkipList.H.
Referenced by Aleph::DynSkipList< Key, Compare >::Iterator::get_curr(), Aleph::DynSkipList< Key, Compare >::Iterator::get_curr(), Aleph::DynSkipList< Key, Compare >::Iterator::get_curr_ne(), Aleph::DynSkipList< Key, Compare >::Iterator::has_curr(), Aleph::DynSkipList< Key, Compare >::Iterator::is_last(), Aleph::DynSkipList< Key, Compare >::Iterator::next(), Aleph::DynSkipList< Key, Compare >::Iterator::next_ne(), Aleph::DynSkipList< Key, Compare >::Iterator::operator!=(), Aleph::DynSkipList< Key, Compare >::Iterator::operator==(), and Aleph::DynSkipList< Key, Compare >::Iterator::reset_first().
|
private |
Definition at line 713 of file tpl_dynSkipList.H.
Referenced by Aleph::DynSkipList< Key, Compare >::Iterator::reset_first().