Elm
1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/genstruct/SLList.h>
Public Member Functions | |
Iterator (void) | |
Iterator (const SLList &_list) | |
Iterator (const Iterator &source) | |
Iterator & | operator= (const Iterator &i) |
bool | ended (void) const |
const T & | item (void) const |
void | next (void) |
Public Member Functions inherited from elm::PreIterator< Iterator, const T & > | |
operator bool (void) const | |
operator const T & (void) const | |
Iterator & | operator++ (void) |
Iterator & | operator++ (int) |
const T & | operator* (void) const |
const T & | operator-> (void) const |
Iterator for generic single link-list.
elm::genstruct::SLList< T, E >::Iterator::Iterator | ( | void | ) |
elm::genstruct::SLList< T, E >::Iterator::Iterator | ( | const SLList & | list | ) |
Build a new iterator.
list | List to iterate on. |
elm::genstruct::SLList< T, E >::Iterator::Iterator | ( | const Iterator & | source | ) |
bool elm::genstruct::SLList< T, E >::Iterator::ended | ( | void | ) | const |
Test if the end of the list is reached.
T elm::genstruct::SLList< T, E >::Iterator::item | ( | void | ) | const |
Get the current item.
void elm::genstruct::SLList< T, E >::Iterator::next | ( | void | ) |
Go to the next item.
Iterator& elm::genstruct::SLList< T, E >::Iterator::operator= | ( | const Iterator & | i | ) |