|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <tpl_dynArrayHeap.H>
Public Types | |
| using | Base = typename DynArray< T >::Iterator |
Public Types inherited from Aleph::DynArray< T >::Iterator | |
| using | Set_Type = DynArray |
Public Member Functions | |
| Iterator (const DynArrayHeap &h) noexcept | |
| Iterator ()=default | |
| bool | has_curr () const noexcept |
| long | get_pos () const noexcept |
Public Member Functions inherited from Aleph::DynArray< T >::Iterator | |
| Iterator () noexcept=default | |
| Default constructor creates an "end" iterator. | |
| Iterator (const DynArray &array) noexcept | |
Initializes an iterator on array | |
| bool | has_curr () const noexcept |
Return true if there is current item. | |
| bool | is_last () const noexcept |
| T & | get_curr_ne () const noexcept |
| Return the current link guaranteeing no exception. Be careful. | |
| T & | get_curr () const |
| Return the current item. | |
| long | get_pos () const noexcept |
| Return the ordinal position of current item. | |
| void | next_ne () noexcept |
| Move the iterator one position forward guaranteeing no exception. | |
| void | next () |
| Move the current a position forward. | |
| void | prev_ne () noexcept |
| exception. Be careful. | |
| void | prev () |
| Move the current a position backward. | |
| void | reset_last () noexcept |
| Reset the iterator to the last item. | |
| void | end () noexcept |
| Put the iterator in the end state. | |
| void | reset_first () noexcept |
| Reset the iterator to the first item. | |
| void | set_pos (const long pos) noexcept |
Additional Inherited Members | |
Protected Attributes inherited from Aleph::DynArray< T >::Iterator | |
| DynArray * | array_ptr = nullptr |
| long | curr_idx = 0 |
Definition at line 306 of file tpl_dynArrayHeap.H.
| using Aleph::DynArrayHeap< T, Compare >::Iterator::Base = typename DynArray<T>::Iterator |
Definition at line 308 of file tpl_dynArrayHeap.H.
|
inlinenoexcept |
Definition at line 310 of file tpl_dynArrayHeap.H.
References h, and Aleph::DynArray< T >::Iterator::next_ne().
|
default |
|
inlinenoexcept |
Definition at line 323 of file tpl_dynArrayHeap.H.
|
inlinenoexcept |
Definition at line 318 of file tpl_dynArrayHeap.H.
References Aleph::DynArray< T >::Iterator::array_ptr, Aleph::DynArray< T >::Iterator::curr_idx, FunctionalMethods< Container, T >::maps(), and Aleph::DynArray< T >::size().
Referenced by Aleph::DynArrayHeap< T, Compare >::traverse().