|
Aleph-w 7.10.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 |
| 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 856 of file tpl_dynSkipList.H.
| using Aleph::DynSkipList< Key, Compare >::Iterator::Set_Type = DynSkipList |
Definition at line 862 of file tpl_dynSkipList.H.
|
defaultnoexcept |
|
inlineexplicitnoexcept |
Definition at line 866 of file tpl_dynSkipList.H.
|
inline |
Definition at line 877 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 883 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::curr, and Aleph::DynSkipList< Key, Compare >::Node::key.
|
inline |
Definition at line 888 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::get_curr().
|
inlinenoexcept |
Definition at line 870 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::curr.
Referenced by demonstrate_basic_operations(), demonstrate_string_set(), Aleph::DynSkipList< Key, Compare >::diff(), Aleph::DynSkipList< Key, Compare >::intersect(), and Aleph::DynSkipList< Key, Compare >::traverse().
|
inlinenoexcept |
Definition at line 872 of file tpl_dynSkipList.H.
References FunctionalMethods< Container, T >::and, Aleph::DynSkipList< Key, Compare >::Iterator::curr, and Aleph::DynSkipList< Key, Compare >::Node::forward.
|
inline |
Definition at line 890 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 896 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 917 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::curr.
|
inline |
Definition at line 935 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::get_curr().
|
inlinenoexcept |
Definition at line 922 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::next_ne().
|
inlinenoexcept |
Definition at line 928 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::next_ne().
|
inline |
Definition at line 936 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::get_curr().
|
defaultnoexcept |
|
inlinenoexcept |
Definition at line 912 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::curr.
|
inlinenoexcept |
Definition at line 908 of file tpl_dynSkipList.H.
References Aleph::DynSkipList< Key, Compare >::Iterator::reset_first().
|
inlinenoexcept |
Definition at line 902 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 859 of file tpl_dynSkipList.H.
Referenced by 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 858 of file tpl_dynSkipList.H.
Referenced by Aleph::DynSkipList< Key, Compare >::Iterator::reset_first().