Public Member Functions | List of all members
QCacheIterator< type > Class Template Reference

#include <qcache.h>

Inheritance diagram for QCacheIterator< type >:
QGCacheIterator

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
 
const char * currentKey () const
 
typeoperator() ()
 
typeoperator++ ()
 
typeoperator+= (uint j)
 
typeoperator-- ()
 
typeoperator-= (uint j)
 

Additional Inherited Members

- Protected Member Functions inherited from QGCacheIterator
 QGCacheIterator (const QGCache &)
 
 QGCacheIterator (const QGCacheIterator &)
 
 ~QGCacheIterator ()
 
QGCacheIteratoroperator= (const QGCacheIterator &)
 
uint count () const
 
bool atFirst () const
 
bool atLast () const
 
QCollection::Item toFirst ()
 
QCollection::Item toLast ()
 
QCollection::Item get () const
 
QString getKeyString () const
 
const char * getKeyAscii () const
 
intptr_t getKeyInt () const
 
QCollection::Item operator() ()
 
QCollection::Item operator++ ()
 
QCollection::Item operator+= (uint)
 
QCollection::Item operator-- ()
 
QCollection::Item operator-= (uint)
 
- Protected Attributes inherited from QGCacheIterator
QCListItit
 

Detailed Description

template<class type>
class QCacheIterator< type >

Definition at line 123 of file qcache.h.

Constructor & Destructor Documentation

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

Definition at line 126 of file qcache.h.

126 :QGCacheIterator((QGCache &)c) {}
The QGCache class is an internal class for implementing QCache template classes.
Definition: qgcache.h:53
QGCacheIterator(const QGCache &)
Definition: qgcache.cpp:687
template<class type>
QCacheIterator< type >::QCacheIterator ( const QCacheIterator< type > &  ci)
inline

Definition at line 127 of file qcache.h.

128  : QGCacheIterator( (QGCacheIterator &)ci ) {}
QGCacheIterator(const QGCache &)
Definition: qgcache.cpp:687
An internal class for implementing QCacheIterator and QIntCacheIterator.
Definition: qgcache.h:100

Member Function Documentation

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

Definition at line 133 of file qcache.h.

133 { return QGCacheIterator::atFirst(); }
bool atFirst() const
Definition: qgcache.cpp:744
template<class type>
bool QCacheIterator< type >::atLast ( ) const
inline

Definition at line 134 of file qcache.h.

134 { return QGCacheIterator::atLast(); }
bool atLast() const
Definition: qgcache.cpp:754
template<class type>
uint QCacheIterator< type >::count ( ) const
inline

Definition at line 131 of file qcache.h.

131 { return QGCacheIterator::count(); }
uint count() const
Definition: qgcache.cpp:734
template<class type>
type* QCacheIterator< type >::current ( ) const
inline

Definition at line 138 of file qcache.h.

138 { return (type *)QGCacheIterator::get(); }
QCollection::Item get() const
Definition: qgcache.cpp:786
template<class type>
const char* QCacheIterator< type >::currentKey ( ) const
inline

Definition at line 142 of file qcache.h.

142 { return QGCacheIterator::getKeyAscii(); }
const char * getKeyAscii() const
Definition: qgcache.cpp:808
template<class type>
bool QCacheIterator< type >::isEmpty ( ) const
inline

Definition at line 132 of file qcache.h.

132 { return QGCacheIterator::count() == 0; }
uint count() const
Definition: qgcache.cpp:734
template<class type>
QCacheIterator< type >::operator type * ( ) const
inline

Definition at line 137 of file qcache.h.

137 { return (type *)QGCacheIterator::get(); }
QCollection::Item get() const
Definition: qgcache.cpp:786
template<class type>
type* QCacheIterator< type >::operator() ( )
inline

Definition at line 144 of file qcache.h.

144 { return (type *)QGCacheIterator::operator()();}
QCollection::Item operator()()
Definition: qgcache.cpp:830
template<class type>
type* QCacheIterator< type >::operator++ ( )
inline

Definition at line 145 of file qcache.h.

145 { return (type *)QGCacheIterator::operator++(); }
QCollection::Item operator++()
Definition: qgcache.cpp:841
template<class type>
type* QCacheIterator< type >::operator+= ( uint  j)
inline

Definition at line 146 of file qcache.h.

146 { return (type *)QGCacheIterator::operator+=(j);}
QCollection::Item operator+=(uint)
Definition: qgcache.cpp:852
template<class type>
type* QCacheIterator< type >::operator-- ( )
inline

Definition at line 147 of file qcache.h.

147 { return (type *)QGCacheIterator::operator--(); }
QCollection::Item operator--()
Definition: qgcache.cpp:863
template<class type>
type* QCacheIterator< type >::operator-= ( uint  j)
inline

Definition at line 148 of file qcache.h.

148 { return (type *)QGCacheIterator::operator-=(j);}
QCollection::Item operator-=(uint)
Definition: qgcache.cpp:874
template<class type>
QCacheIterator<type>& QCacheIterator< type >::operator= ( const QCacheIterator< type > &  ci)
inline

Definition at line 129 of file qcache.h.

QGCacheIterator & operator=(const QGCacheIterator &)
Definition: qgcache.cpp:723
template<class type>
type* QCacheIterator< type >::toFirst ( )
inline

Definition at line 135 of file qcache.h.

135 { return (type *)QGCacheIterator::toFirst(); }
QCollection::Item toFirst()
Definition: qgcache.cpp:764
template<class type>
type* QCacheIterator< type >::toLast ( )
inline

Definition at line 136 of file qcache.h.

136 { return (type *)QGCacheIterator::toLast(); }
QCollection::Item toLast()
Definition: qgcache.cpp:775

The documentation for this class was generated from the following file: