My Project
|
#include <sortdict.h>
Public Member Functions | |
IteratorDict (const SIntDict< T > &dict) | |
virtual | ~IteratorDict () |
T * | toFirst () const |
T * | toLast () const |
T * | current () const |
int | currentKey () const |
T * | operator++ () |
T * | operator-- () |
Private Attributes | |
QDictIterator< T > * | m_di |
Simple iterator for SDict. It iterates over the dictionary elements in an unsorted way, but does provide information about the element's key.
Definition at line 667 of file sortdict.h.
Create an iterator given the dictionary.
Definition at line 671 of file sortdict.h.
References SIntDict< T >::IteratorDict::m_di, and SIntDict< T >::m_dict.
|
inlinevirtual |
Destroys the dictionary
Definition at line 677 of file sortdict.h.
References SIntDict< T >::IteratorDict::m_di.
|
inline |
Returns the current compound
Definition at line 699 of file sortdict.h.
References SIntDict< T >::IteratorDict::m_di.
|
inline |
Returns the current key
Definition at line 705 of file sortdict.h.
References SIntDict< T >::IteratorDict::m_di.
|
inline |
Moves the iterator to the next element.
Definition at line 714 of file sortdict.h.
References SIntDict< T >::IteratorDict::m_di.
|
inline |
Moves the iterator to the previous element.
Definition at line 723 of file sortdict.h.
References SIntDict< T >::IteratorDict::m_di.
|
inline |
Set the iterator to the first element in the list.
Definition at line 685 of file sortdict.h.
References SIntDict< T >::IteratorDict::m_di.
|
inline |
Set the iterator to the last element in the list.
Definition at line 693 of file sortdict.h.
References SIntDict< T >::IteratorDict::m_di.
|
private |
Definition at line 729 of file sortdict.h.
Referenced by SIntDict< T >::IteratorDict::current(), SIntDict< T >::IteratorDict::currentKey(), SIntDict< T >::IteratorDict::IteratorDict(), SIntDict< T >::IteratorDict::operator++(), SIntDict< T >::IteratorDict::operator--(), SIntDict< T >::IteratorDict::toFirst(), SIntDict< T >::IteratorDict::toLast(), and SIntDict< T >::IteratorDict::~IteratorDict().