Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

QCacheIterator< type > Class Template Reference

#include </home/clem/local/src/opie/qmake/include/qcache.h>

Inheritance diagram for QCacheIterator< type >:

Inheritance graph
[legend]
Collaboration diagram for QCacheIterator< type >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QCacheIterator (const QCache< type > &c)
 QCacheIterator (const QCacheIterator< type > &ci)
QCacheIterator< type > & operator= (const QCacheIterator< type > &ci)
uint count () const
bool isEmpty () const
bool atFirst () const
bool atLast () const
typetoFirst ()
typetoLast ()
 operator type * () const
typecurrent () const
QString currentKey () const
typeoperator() ()
typeoperator++ ()
typeoperator+= (uint j)
typeoperator-- ()
typeoperator-= (uint j)

template<class type>
class QCacheIterator< type >


Constructor & Destructor Documentation

template<class type>
QCacheIterator< type >::QCacheIterator const QCache< type > &  c  )  [inline]
 

Definition at line 97 of file qcache.h.

template<class type>
QCacheIterator< type >::QCacheIterator const QCacheIterator< type > &  ci  )  [inline]
 

Definition at line 98 of file qcache.h.


Member Function Documentation

template<class type>
bool QCacheIterator< type >::atFirst  )  const [inline]
 

Returns TRUE if the iterator points to the first item.

Reimplemented from QGCacheIterator.

Definition at line 104 of file qcache.h.

References QGCacheIterator::atFirst().

template<class type>
bool QCacheIterator< type >::atLast  )  const [inline]
 

Returns TRUE if the iterator points to the last item.

Reimplemented from QGCacheIterator.

Definition at line 105 of file qcache.h.

References QGCacheIterator::atLast().

template<class type>
uint QCacheIterator< type >::count  )  const [inline]
 

Returns the number of items in the cache.

Reimplemented from QGCacheIterator.

Definition at line 102 of file qcache.h.

References QGCacheIterator::count().

template<class type>
type* QCacheIterator< type >::current  )  const [inline]
 

Definition at line 109 of file qcache.h.

References QGCacheIterator::get(), and type.

template<class type>
QString QCacheIterator< type >::currentKey  )  const [inline]
 

Definition at line 110 of file qcache.h.

References QGCacheIterator::getKeyString().

template<class type>
bool QCacheIterator< type >::isEmpty  )  const [inline]
 

Definition at line 103 of file qcache.h.

References QGCacheIterator::count().

template<class type>
QCacheIterator< type >::operator type *  )  const [inline]
 

Definition at line 108 of file qcache.h.

References QGCacheIterator::get(), and type.

template<class type>
type* QCacheIterator< type >::operator()  )  [inline]
 

Moves to the next item (postfix).

Reimplemented from QGCacheIterator.

Definition at line 111 of file qcache.h.

References QGCacheIterator::operator()(), and type.

template<class type>
type* QCacheIterator< type >::operator++  )  [inline]
 

Moves to the next item (prefix).

Reimplemented from QGCacheIterator.

Definition at line 112 of file qcache.h.

References QGCacheIterator::operator++(), and type.

template<class type>
type* QCacheIterator< type >::operator+= uint  j  )  [inline]
 

Moves jump positions forward.

Reimplemented from QGCacheIterator.

Definition at line 113 of file qcache.h.

References QGCacheIterator::operator+=(), and type.

template<class type>
type* QCacheIterator< type >::operator--  )  [inline]
 

Moves to the previous item (prefix).

Reimplemented from QGCacheIterator.

Definition at line 114 of file qcache.h.

References QGCacheIterator::operator--(), and type.

template<class type>
type* QCacheIterator< type >::operator-= uint  j  )  [inline]
 

Moves jump positions backward.

Reimplemented from QGCacheIterator.

Definition at line 115 of file qcache.h.

References QGCacheIterator::operator-=(), and type.

template<class type>
QCacheIterator<type>& QCacheIterator< type >::operator= const QCacheIterator< type > &  ci  )  [inline]
 

Definition at line 100 of file qcache.h.

References QGCacheIterator::operator=().

template<class type>
type* QCacheIterator< type >::toFirst  )  [inline]
 

Sets the list iterator to point to the first item in the cache.

Reimplemented from QGCacheIterator.

Definition at line 106 of file qcache.h.

References QGCacheIterator::toFirst(), and type.

template<class type>
type* QCacheIterator< type >::toLast  )  [inline]
 

Sets the list iterator to point to the last item in the cache.

Reimplemented from QGCacheIterator.

Definition at line 107 of file qcache.h.

References QGCacheIterator::toLast(), and type.


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:46:08 2005 for OPIE by  doxygen 1.4.2