|
theCore C++ embedded framework
|
Intrusive list's specific, safe iterator. More...
#include </home/travis/build/forGGe/theCore/lib/containers/export/ecl/list.hpp>
Public Member Functions | |
| list_iter (list_node &cur) | |
| Constructs iterator that iterates given list. More... | |
| ~list_iter () | |
| Destroys iterator. More... | |
| list_iter & | operator++ () |
| Proceed to the next item in a list. More... | |
| list_iter | operator++ (int) |
| Postfix version of the operatoris. More... | |
| T * | operator-> () |
| Accesses an object. More... | |
| T & | operator* () |
| Acessess an object. More... | |
| bool | operator== (const list_iter &other) |
| Compares two iterators. More... | |
| bool | operator!= (const list_iter< T, Mptr > &other) |
| Compares two iterators. More... | |
| list_iter (const list_iter &)=default | |
| list_iter & | operator= (list_iter &)=default |
| list_iter & | operator= (const list_iter &)=default |
Intrusive list's specific, safe iterator.
It is safe to delete a node or an item and move this iterator after.
| T | The type of enclosing class or struct. |
| Mptr | The member-pointer of the list node inside enclosing class. |
| ecl::list_iter< T, Mptr >::list_iter | ( | list_node & | cur | ) |
Constructs iterator that iterates given list.
| ecl::list_iter< T, Mptr >::~list_iter | ( | ) |
Destroys iterator.
|
default |
| list_iter< T, Mptr > & ecl::list_iter< T, Mptr >::operator++ | ( | ) |
Proceed to the next item in a list.
| list_iter< T, Mptr > ecl::list_iter< T, Mptr >::operator++ | ( | int | ) |
Postfix version of the operatoris.
| T * ecl::list_iter< T, Mptr >::operator-> | ( | ) |
Accesses an object.

| T & ecl::list_iter< T, Mptr >::operator* | ( | ) |
Acessess an object.
| bool ecl::list_iter< T, Mptr >::operator== | ( | const list_iter< T, Mptr > & | other | ) |
Compares two iterators.
| bool ecl::list_iter< T, Mptr >::operator!= | ( | const list_iter< T, Mptr > & | other | ) |
Compares two iterators.
|
default |
|
default |