#include </home/clem/local/src/opie/qmake/include/qgcache.h>
Inheritance diagram for QGCacheIterator:


Protected Member Functions | |
| QGCacheIterator (const QGCache &) | |
| QGCacheIterator (const QGCacheIterator &) | |
| ~QGCacheIterator () | |
| QGCacheIterator & | operator= (const QGCacheIterator &) |
| uint | count () const |
| bool | atFirst () const |
| bool | atLast () const |
| QPtrCollection::Item | toFirst () |
| QPtrCollection::Item | toLast () |
| QPtrCollection::Item | get () const |
| QString | getKeyString () const |
| const char * | getKeyAscii () const |
| long | getKeyInt () const |
| QPtrCollection::Item | operator() () |
| QPtrCollection::Item | operator++ () |
| QPtrCollection::Item | operator+= (uint) |
| QPtrCollection::Item | operator-- () |
| QPtrCollection::Item | operator-= (uint) |
Protected Attributes | |
| QCListIt * | it |
For internal use only.
QGCacheIterator is a strictly internal class that does the heavy work for QCacheIterator and QIntCacheIterator.
Definition at line 98 of file qgcache.h.
|
|
Constructs an iterator that operates on the cache c. Definition at line 689 of file qgcache.cpp. References it, QGCache::lruList, and Q_ASSERT. |
|
|
Constructs an iterator that operates on the same cache as ci. Definition at line 701 of file qgcache.cpp. |
|
|
Destroys the iterator. Definition at line 713 of file qgcache.cpp. References it. |
|
|
Returns TRUE if the iterator points to the first item. Reimplemented in QCacheIterator< type >. Definition at line 741 of file qgcache.cpp. References QPtrListIterator< type >::atFirst(), and it. Referenced by QCacheIterator< type >::atFirst(). |
|
|
Returns TRUE if the iterator points to the last item. Reimplemented in QCacheIterator< type >. Definition at line 750 of file qgcache.cpp. References QPtrListIterator< type >::atLast(), and it. Referenced by QCacheIterator< type >::atLast(). |
|
|
Returns the number of items in the cache. Reimplemented in QCacheIterator< type >. Definition at line 732 of file qgcache.cpp. References QPtrListIterator< type >::count(), and it. Referenced by QCacheIterator< type >::count(), and QCacheIterator< type >::isEmpty(). |
|
|
Returns the current item. Definition at line 779 of file qgcache.cpp. References QPtrListIterator< type >::current(), QCacheItem::data, and it. Referenced by QCacheIterator< type >::current(), and QCacheIterator< type >::operator type *(). |
|
|
Returns the key of the current item, as a -terminated C string. Definition at line 799 of file qgcache.cpp. References QPtrListIterator< type >::current(), it, and QCacheItem::key. |
|
|
Returns the key of the current item, as a long. Definition at line 809 of file qgcache.cpp. References QPtrListIterator< type >::current(), it, and QCacheItem::key. |
|
|
Returns the key of the current item. Definition at line 789 of file qgcache.cpp. References QPtrListIterator< type >::current(), it, QCacheItem::key, and QString::null. Referenced by QCacheIterator< type >::currentKey(). |
|
|
Moves to the next item (postfix). Reimplemented in QCacheIterator< type >. Definition at line 819 of file qgcache.cpp. References QCacheItem::data, and it. Referenced by QCacheIterator< type >::operator()(). |
|
|
Moves to the next item (prefix). Reimplemented in QCacheIterator< type >. Definition at line 829 of file qgcache.cpp. References QCacheItem::data, and it. Referenced by QCacheIterator< type >::operator++(). |
|
|
Moves jump positions forward. Reimplemented in QCacheIterator< type >. Definition at line 839 of file qgcache.cpp. References QCacheItem::data, and it. Referenced by QCacheIterator< type >::operator+=(). |
|
|
Moves to the previous item (prefix). Reimplemented in QCacheIterator< type >. Definition at line 849 of file qgcache.cpp. References QCacheItem::data, and it. Referenced by QCacheIterator< type >::operator--(). |
|
|
Moves jump positions backward. Reimplemented in QCacheIterator< type >. Definition at line 859 of file qgcache.cpp. References QCacheItem::data, and it. Referenced by QCacheIterator< type >::operator-=(). |
|
|
Assigns the iterator ci to this cache iterator. Definition at line 722 of file qgcache.cpp. References it. Referenced by QCacheIterator< type >::operator=(). |
|
|
Sets the list iterator to point to the first item in the cache. Reimplemented in QCacheIterator< type >. Definition at line 759 of file qgcache.cpp. References QCacheItem::data, it, and QPtrListIterator< type >::toFirst(). Referenced by QCacheIterator< type >::toFirst(). |
|
|
Sets the list iterator to point to the last item in the cache. Reimplemented in QCacheIterator< type >. Definition at line 769 of file qgcache.cpp. References QCacheItem::data, it, and QPtrListIterator< type >::toLast(). Referenced by QCacheIterator< type >::toLast(). |
|
|
Definition at line 124 of file qgcache.h. Referenced by atFirst(), atLast(), count(), get(), getKeyAscii(), getKeyInt(), getKeyString(), operator()(), operator++(), operator+=(), operator--(), operator-=(), operator=(), QGCacheIterator(), toFirst(), toLast(), and ~QGCacheIterator(). |
1.4.2