|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Iterator for Dyn_Slist_Nc. More...
#include <tpl_dyn_slist_nc.H>
Public Member Functions | |
| Iterator (Dyn_Slist_Nc< T > &list) | |
| T & | get_curr_n () const noexcept |
| T & | get_curr () const |
Public Member Functions inherited from Aleph::Snode_Nc< T >::Iterator | |
| Iterator () | |
| Iterator (Snode_Nc< T > *head_ptr) | |
| Instantiates iterator in list whose head node is head_ptr. | |
| Iterator (Snode_Nc< T > &head) | |
| Instantiates iterator in list whose head node is head. | |
| Iterator (Snode_Nc< T > *head_ptr, Snode_Nc< T > *curr_ptr) | |
| Snode_Nc * | get_curr () const |
| Returns pointer to the current node. | |
Public Member Functions inherited from Aleph::Slink_Nc::Iterator | |
| Iterator () | |
| Iterator (Slink_Nc *head_ptr) | |
| Iterator (Slink_Nc &_head) | |
| Iterator (Slink_Nc *head_ptr, Slink_Nc *curr_ptr) | |
| void | reset_first () |
| Resets iterator to the first node of the list. | |
| void | set (Slink_Nc *new_curr) |
| void | reset (Slink_Nc *new_head) |
| bool | has_curr () const |
| Slink_Nc * | get_curr_ne () const noexcept |
| Returns current node address. | |
| Slink_Nc * | get_curr () const |
| bool | is_in_first () const |
| Returns true if iterator is on the first element. | |
| void | next_ne () noexcept |
| Advances iterator by one position. | |
| void | next () |
| bool | operator== (const Iterator &it) const |
| Returns true if iterators are on the same element. | |
| bool | operator!= (const Iterator &it) const |
| Returns true if iterators have different states. | |
| bool | verify (Slink_Nc *l) const |
| bool | verify (const Iterator &it) const |
Iterator for Dyn_Slist_Nc.
Definition at line 245 of file tpl_dyn_slist_nc.H.
|
inline |
Definition at line 248 of file tpl_dyn_slist_nc.H.
|
inline |
Definition at line 258 of file tpl_dyn_slist_nc.H.
Referenced by Aleph::Dyn_Slist_Nc< T >::operator[](), and Aleph::Dyn_Slist_Nc< T >::operator[]().
|
inlinenoexcept |
Definition at line 253 of file tpl_dyn_slist_nc.H.