My Project
|
#include <sortdict.h>
Public Member Functions | |
Iterator (const SDict< T > &dict) | |
virtual | ~Iterator () |
T * | toFirst () const |
T * | toLast () const |
T * | current () const |
T * | operator++ () |
T * | operator-- () |
Private Attributes | |
QListIterator< T > * | m_li |
Simple iterator for SDict. It iterates in the order in which the elements are stored.
Definition at line 294 of file sortdict.h.
Create an iterator given the dictionary.
Definition at line 298 of file sortdict.h.
References SDict< T >::Iterator::m_li, and SDict< T >::m_list.
|
inlinevirtual |
Destroys the dictionary
Definition at line 304 of file sortdict.h.
References SDict< T >::Iterator::m_li.
|
inline |
Returns the current compound
Definition at line 326 of file sortdict.h.
References SDict< T >::Iterator::m_li.
|
inline |
Moves the iterator to the next element.
Definition at line 335 of file sortdict.h.
References SDict< T >::Iterator::m_li.
|
inline |
Moves the iterator to the previous element.
Definition at line 344 of file sortdict.h.
References SDict< T >::Iterator::m_li.
|
inline |
Set the iterator to the first element in the list.
Definition at line 312 of file sortdict.h.
References SDict< T >::Iterator::m_li.
|
inline |
Set the iterator to the last element in the list.
Definition at line 320 of file sortdict.h.
References SDict< T >::Iterator::m_li.
|
private |
Definition at line 350 of file sortdict.h.
Referenced by SDict< T >::Iterator::current(), SDict< T >::Iterator::Iterator(), SDict< T >::Iterator::operator++(), SDict< T >::Iterator::operator--(), SDict< T >::Iterator::toFirst(), SDict< T >::Iterator::toLast(), and SDict< T >::Iterator::~Iterator().