Q3AsciiCacheIterator< type > Class Template Reference

#include <q3asciicache.h>

Inheritance diagram for Q3AsciiCacheIterator< type >:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class type>
class Q3AsciiCacheIterator< type >

Definition at line 84 of file q3asciicache.h.

Public Member Functions

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


Constructor & Destructor Documentation

template<class type>
Q3AsciiCacheIterator< type >::Q3AsciiCacheIterator ( const Q3AsciiCache< type > &  c  )  [inline]

Definition at line 87 of file q3asciicache.h.

00087 :Q3GCacheIterator((Q3GCache &)c) {}

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

Definition at line 88 of file q3asciicache.h.


Member Function Documentation

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

Definition at line 90 of file q3asciicache.h.

References Q3GCacheIterator::operator=().

Here is the call graph for this function:

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

Returns the number of items in the cache.

Reimplemented from Q3GCacheIterator.

Definition at line 92 of file q3asciicache.h.

References Q3GCacheIterator::count().

00092 { return Q3GCacheIterator::count(); }

Here is the call graph for this function:

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

Definition at line 93 of file q3asciicache.h.

References Q3GCacheIterator::count().

00093 { return Q3GCacheIterator::count() == 0; }

Here is the call graph for this function:

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

Returns true if the iterator points to the first item.

Reimplemented from Q3GCacheIterator.

Definition at line 94 of file q3asciicache.h.

References Q3GCacheIterator::atFirst().

00094 { return Q3GCacheIterator::atFirst(); }

Here is the call graph for this function:

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

Returns true if the iterator points to the last item.

Reimplemented from Q3GCacheIterator.

Definition at line 95 of file q3asciicache.h.

References Q3GCacheIterator::atLast().

00095 { return Q3GCacheIterator::atLast(); }

Here is the call graph for this function:

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

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

Reimplemented from Q3GCacheIterator.

Definition at line 96 of file q3asciicache.h.

References Q3GCacheIterator::toFirst(), and type.

00096 { return (type *)Q3GCacheIterator::toFirst(); }

Here is the call graph for this function:

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

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

Reimplemented from Q3GCacheIterator.

Definition at line 97 of file q3asciicache.h.

References Q3GCacheIterator::toLast(), and type.

00097 { return (type *)Q3GCacheIterator::toLast(); }

Here is the call graph for this function:

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

Definition at line 98 of file q3asciicache.h.

References Q3GCacheIterator::get(), and type.

00098 { return (type *)Q3GCacheIterator::get(); }

Here is the call graph for this function:

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

Definition at line 99 of file q3asciicache.h.

References Q3GCacheIterator::get(), and type.

00099 { return (type *)Q3GCacheIterator::get(); }

Here is the call graph for this function:

template<class type>
const char* Q3AsciiCacheIterator< type >::currentKey (  )  const [inline]

Definition at line 100 of file q3asciicache.h.

References Q3GCacheIterator::getKeyAscii().

00100 { return Q3GCacheIterator::getKeyAscii(); }

Here is the call graph for this function:

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

Moves to the next item (postfix).

Reimplemented from Q3GCacheIterator.

Definition at line 101 of file q3asciicache.h.

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

00101 { return (type *)Q3GCacheIterator::operator()();}

Here is the call graph for this function:

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

Moves to the next item (prefix).

Reimplemented from Q3GCacheIterator.

Definition at line 102 of file q3asciicache.h.

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

00102 { return (type *)Q3GCacheIterator::operator++(); }

Here is the call graph for this function:

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

Moves jump positions forward.

Reimplemented from Q3GCacheIterator.

Definition at line 103 of file q3asciicache.h.

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

00103 { return (type *)Q3GCacheIterator::operator+=(j);}

Here is the call graph for this function:

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

Moves to the previous item (prefix).

Reimplemented from Q3GCacheIterator.

Definition at line 104 of file q3asciicache.h.

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

00104 { return (type *)Q3GCacheIterator::operator--(); }

Here is the call graph for this function:

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

Moves jump positions backward.

Reimplemented from Q3GCacheIterator.

Definition at line 105 of file q3asciicache.h.

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

00105 { return (type *)Q3GCacheIterator::operator-=(j);}

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Thu Mar 15 15:41:18 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1