My Project
|
#include <sortdict.h>
Public Member Functions | |
IteratorDict (const SDict< T > &dict) | |
virtual | ~IteratorDict () |
T * | toFirst () const |
T * | toLast () const |
T * | current () const |
QCString | 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 358 of file sortdict.h.
Create an iterator given the dictionary.
Definition at line 362 of file sortdict.h.
References SDict< T >::IteratorDict::m_di, and SDict< T >::m_dict.
|
inlinevirtual |
Destroys the dictionary
Definition at line 368 of file sortdict.h.
References SDict< T >::IteratorDict::m_di.
|
inline |
Returns the current compound
Definition at line 390 of file sortdict.h.
References SDict< T >::IteratorDict::m_di.
|
inline |
Returns the current key
Definition at line 396 of file sortdict.h.
References SDict< T >::IteratorDict::m_di.
|
inline |
Moves the iterator to the next element.
Definition at line 405 of file sortdict.h.
References SDict< T >::IteratorDict::m_di.
|
inline |
Moves the iterator to the previous element.
Definition at line 414 of file sortdict.h.
References SDict< T >::IteratorDict::m_di.
|
inline |
Set the iterator to the first element in the list.
Definition at line 376 of file sortdict.h.
References SDict< T >::IteratorDict::m_di.
|
inline |
Set the iterator to the last element in the list.
Definition at line 384 of file sortdict.h.
References SDict< T >::IteratorDict::m_di.
|
private |
Definition at line 420 of file sortdict.h.
Referenced by SDict< T >::IteratorDict::current(), SDict< T >::IteratorDict::currentKey(), SDict< T >::IteratorDict::IteratorDict(), SDict< T >::IteratorDict::operator++(), SDict< T >::IteratorDict::operator--(), SDict< T >::IteratorDict::toFirst(), SDict< T >::IteratorDict::toLast(), and SDict< T >::IteratorDict::~IteratorDict().