#include <htlist.H>
◆ Iterator()
| Aleph::HTList::Iterator::Iterator |
( |
const HTList & |
list | ) |
|
|
inlinenoexcept |
Initialize iterator on at the first item of list
◆ del()
| Slinknc* Aleph::HTList::Iterator::del |
( |
| ) |
|
|
inline |
Remove the current item.
del() removes the current item of iterator and advaces it a position forward.
- Returns
- a valid pointer to the removed item
- Exceptions
-
| overflow_error | if iterator has not current item |
◆ end()
| void Aleph::HTList::Iterator::end |
( |
| ) |
|
|
inlinenoexcept |
Set the iterator to its end position, which has not current item.
◆ get_curr()
| Slinknc* Aleph::HTList::Iterator::get_curr |
( |
| ) |
const |
|
inline |
Return the current node on which the iterator is positioned
- Exceptions
-
| overflow_error | if iterator has not current node |
◆ get_pos()
| long Aleph::HTList::Iterator::get_pos |
( |
| ) |
const |
|
inlinenoexcept |
Return the current position
◆ has_curr()
| bool Aleph::HTList::Iterator::has_curr |
( |
| ) |
const |
|
inlinenoexcept |
Return true if iterator has current item
◆ next()
| void Aleph::HTList::Iterator::next |
( |
| ) |
|
|
inline |
Move the iterator one item forward. Throw overflow_error if iterator has not current item
◆ next_ne()
| void Aleph::HTList::Iterator::next_ne |
( |
| ) |
|
|
inlinenoexcept |
Move the iterator one position forward guaranteeing no exception. Be careful.
◆ reset()
| void Aleph::HTList::Iterator::reset |
( |
| ) |
|
|
inlinenoexcept |
Reset the iterator at the first item
◆ reset_first()
| void Aleph::HTList::Iterator::reset_first |
( |
| ) |
|
|
inlinenoexcept |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
The documentation for this class was generated from the following file: